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
- 7 devlogs
- 14h
- Frictionless