Long time ago Joacim Andersson showed me the way of parsing a script the right way,
from that moment i was determined to create a simple yet powerfull engine for myself that
i used in pretty much all my apps.
You could say i was a bit obessed with the idea of making your own syntax and be as robust as possible.
I looked at various languages such as C#, Python, Lua and Ruby. In the end i wend with the combination of Ruby and c# style,
the reason with Ruby was that it has this particulair concept of that everything is an object so things such as this are possible:
I really like that idea alote, and i took c# for its known syntax overall with most developers.Code:var = -10.abs()
It uses regex to parse its tokens and it does not have the execution code yet just the parsing.
So you can cook your own if you want.
Im sure it has some mistakes here and there or could be improved, im all ears to hear about it.
- Greets Barret