I was wondering what the easiest way to parse/interpret a custom language would be. Are there any libraries that could help me out?
I essentially want the end-user to be able to write scripts using a custom syntax that I design (the syntax will probably be similar to c++) and I would need my C++ protogram to interpret the script, much like how there is a C++ library for parsing LUA.
Are there any libraries/examples to help me, or will I just have to do manual tokenizing, parsing and interpreting?
There are numerous frameworks to help, but remember that language design is not to be taken lightly - are you sure you're not better off just using Lua?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With