Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 745 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 745 Bytes

Retro_basic_compiler

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

Require

  • python 3.x

How to use

  1. put code in input.txt file
  2. 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