Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marqueewinq/pascal-in-the-wild

Simple bison+flex compiler ( homework at @mipt )
https://github.com/marqueewinq/pascal-in-the-wild

Last synced: 16 days ago
JSON representation

Simple bison+flex compiler ( homework at @mipt )

Awesome Lists containing this project

README

        

# pascal-in-the-wild
Simple bison+flex compiler ( homework at @mipt )

# FEATURES:

* currently we accept only integer and double variable type;

* the longest variable name may be 255 chars long;

* currently we do not accept procedures/functions AT ALL;

* according to canonical Pascal syntax, the last statement before END token should not be terminated with ';' symbol, e.x.:
...
func;
func // notice no linebreak symbol
end;

* ah, yes, curretly comments are disabled

* write() built-in prints a EOL symbol at the end of your output

* write() built-in accepts only one argument