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: 4 months ago
JSON representation
Simple bison+flex compiler ( homework at @mipt )
- Host: GitHub
- URL: https://github.com/marqueewinq/pascal-in-the-wild
- Owner: marqueewinq
- Created: 2015-10-20T11:31:40.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-20T11:38:04.000Z (over 9 years ago)
- Last Synced: 2025-01-04T14:19:01.169Z (5 months ago)
- Language: C
- Size: 145 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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