https://github.com/walshyb/stack-compilers
The stages for a compiler I am building for Anthony Dos Reis's Assembler for SUNY New Paltz's Language Processing class.
https://github.com/walshyb/stack-compilers
assembly compiler java language-processing
Last synced: 2 months ago
JSON representation
The stages for a compiler I am building for Anthony Dos Reis's Assembler for SUNY New Paltz's Language Processing class.
- Host: GitHub
- URL: https://github.com/walshyb/stack-compilers
- Owner: walshyb
- Created: 2017-04-10T04:47:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-10T05:00:36.000Z (over 8 years ago)
- Last Synced: 2025-01-25T23:47:24.877Z (12 months ago)
- Topics: assembly, compiler, java, language-processing
- Language: Java
- Size: 13.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stack Compilers
The stages for a compiler I am building for Anthony Dos Reis's Assembler for SUNY New Paltz's Language Processing class.
## S1
Includes support for addition, multiplication, print line (println) statements, and expressions in parentheses.
## S2
Includes support for subtraction, division, the null statement (;), compound statements (AKA blocks: {} ), print statements, and single-line comments.
## S3
Includes support for println with 0 arguments, println and print with string arguments, cascaded assignment statements, unary plus and minus operations, and readint statements (read integers from keyboard).
## S3 (By Dos Reis)
Same as result as mine, but by Dos Reis!
## S4
Includes support for while, do-while, if, and if-else statements, escape characters, string constants that span multiple lines.
Does **not** include range checking on integer constants nor error recovery.