Project in compiler part of 2110316 Programming Languages Principles at Chulalongkorn University.
project page: https://www.cp.eng.chula.ac.th/~piak/teaching/prolang/2018/retro-basic.htm
course page: https://www.cp.eng.chula.ac.th/~piak/teaching/prolang/2018/index-prolang.htm
- python 3.x
- put code in input.txt file
- open command line and use code below to run
*** if you use windows you must use python retro_basicv2.py
instead of python3 retro_basicv2.py
- code version 2 (main code)
#in command line
-> python3 retro_basicv2.py
*** if the program version 2 has bug, please use version 1.
- code version 1
#in command line
-> python3 retro_basic.py