Working Software ep. 4: Developing a Custom Scripting Language

Опубликовано: 27 Октябрь 2020
на канале: Zoran Horvat
1,783
41

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-...