Design a new language by ourself and create its language processor by yourself using lex(flex) and yacc(bison).
macOS 12.6.2
- Clone this repository
$ git clone https://github.com/Kobayashi123/tiny_lang.git
- Change the working directory
$ cd tiny_lang
- Run the program
The following command parses src.txt and creates a parse tree named tmp.txt.
$ make src
After that, download and run tiny_VM by the following command. tiny_VM window opens, select tmp.txt to process src.txt written in tiny_lang and draw in the window.
$ make vm