You are browsing as a guest. Sign up (or log in) to start making projects!

Lucrose-C

  • 7 Devlogs
  • 14 Total hours

A language... its useful only for making lists... Like idk what more to say... Its written in C This will help me a lot

Ship #1 Changes requested

I create a domain specific language, in this the hard part was not to create the lexer or parser but was on deciding what to create, I guess I can say that it was a pretty fun experience... I learned a lot from this. I finally understood what lexer and parser was. To tell the truth I did not actually want to do this, i wanted to make a general purpose language, and the first version was something like that...
But after some trial and error i could not make it proper. So we are here.

Now the language itself, is a pretty small language, with small usability, this is aimed to be like a database system.

Why was this created?
It was created to make lists better. To tell the truth i felt the prices were constantly changing on flavortown shop, and it made me annoyed. So I wanted to make a language in which u can easily save the prices, and then make lists, make programs around it... but then i thought while trying to build it, Why? who would even use it? so i planned on creating a general domain specific language.

also i forgot to mention that in the GitHub i might have added the wrong test.lcr i think the one attached is the one with error... so ya change it.

The syntax is easy and self explained so ya i hope u understand it

Try project → See source code →
Open comments for this post

2h 10m 33s logged

added errors…
In this mega update, i finally added errors, and warnings, for stuff like leaving colons(error), repeating numbers in {} and for price and count being 0

added errors…
In this mega update, i finally added errors, and warnings, for stuff like leaving colons(error), repeating numbers in {} and for price and count being 0

Replying to @learningppcb

0
2
Open comments for this post

3h 26m 55s logged

after some incredible works, after working my bines out… And screaming at myself, trying to debug using AI… We present you this…
Yes i haven’t fixed a problem, instead added a fancier windoww!!!!!!!!!

after some incredible works, after working my bines out… And screaming at myself, trying to debug using AI… We present you this…
Yes i haven’t fixed a problem, instead added a fancier windoww!!!!!!!!!

Replying to @learningppcb

0
4
Open comments for this post

1h 27m 36s logged

Debugged, and added automatic size!!1 in code type let width x (the x is a number, if none specified automatic) it looks amazing right? RIGHT!!!

Debugged, and added automatic size!!1 in code type let width x (the x is a number, if none specified automatic) it looks amazing right? RIGHT!!!

Replying to @learningppcb

0
2
Open comments for this post

1h 42m 47s logged

um created the format, the display… it works, but still has a small problem

um created the format, the display… it works, but still has a small problem

Replying to @learningppcb

0
3
Open comments for this post

2h 26m 35s logged

Is this tears of happniess? The parser has some mistakes, which needs to be corrected, but still it works, and is not crasing!!

Is this tears of happniess? The parser has some mistakes, which needs to be corrected, but still it works, and is not crasing!!

Replying to @learningppcb

0
1
Open comments for this post

2h 24m 15s logged

Umm this is a small project, hence it took a little less time then other projects…

I have done the Lexer…
This reads the .lcr files and breaks them down

Umm this is a small project, hence it took a little less time then other projects…

I have done the Lexer…
This reads the .lcr files and breaks them down

Replying to @learningppcb

0
2

Followers

Loading…