In this episode, we are considering the reasons why it may be beneficial to design a custom scripting language for your application. After demonstrating an application which runs custom scripts, we are designing one new language from scratch. You will learn how to define a grammar for the script, and then how to build parser and compiler for the new language. Finally, you will see how a proper runtime can be developed in the application which will effectively run the scripts.
Source code for the demo application presented in this talk can be found at GitHub: https://github.com/zoran-horvat/worki...
Parser and compiler are built using the Easy Parse library: https://github.com/zoran-horvat/easy-...