Apoorva Ranade
6bcd40cbf9
Updating tests
4 years ago
bill
609903851d
Bug fixes:
...
Catching Indentation Errors.
A typo on regex of Identifiers
Potential fixes on allowing function body with only definations. (not applied)
TODO:
Allowing a program to have interleaving definations and statements?
4 years ago
ar6496
f6091d744f
Create WORKLOG.md
4 years ago
Apoorva Ranade
0c5f9b6d8b
Adding tests
4 years ago
bill
ca13d4c461
Fixed failure on test bad_indentation.py
4 years ago
bill
b2536564bc
Cleanup
4 years ago
bill
ab6c72e690
Simple fixes for the errors.
4 years ago
bill
fbc6ae9dcf
Merge branch 'sahmadov/cup' of https://github.com/nyu-compiler-construction/pa1-chocopy-parser-mjolnir into bill/merge-flex-cup
4 years ago
bill
c5c9bb2f0d
Changes made on Flex to adapt for merging.
4 years ago
Sanjar Ahmadov
0672838265
Cleanup
4 years ago
Sanjar Ahmadov
1c02aa84d8
Added cexpr
4 years ago
Sanjar Ahmadov
7b2e1dab3f
Added test scripts to ease testing
4 years ago
Sanjar Ahmadov
cf3bd4d745
Finished all grammar - passes 24 test cases
4 years ago
bill
27b46f386d
Lexer will pass the original tokens even if it can be inferred to match the type of terminal defined in .cup file.
4 years ago
Sanjar Ahmadov
d247243be1
Added first 10 (till var_def) rules of grammer from lauguage reference
4 years ago
bill
2ab3fddc66
Bug fixed:
...
unreachable code;
symbol(value) not implemented.
4 years ago
Sanjar Ahmadov
4cd3062255
Added precedences
4 years ago
Sanjar Ahmadov
e844793c02
Added terminals to parser
4 years ago
bill
ecb8d23418
bug fixes
4 years ago
bill
d5097498b7
more comments
4 years ago
bill
62330bd237
Fixed some typos, added comments.
4 years ago
bill
b6f7943d48
Deal w/ multi-line String Literals.
4 years ago
bill
03c393beff
Changed how we deal w/ StringLiterals across multiple lines
4 years ago
bill
997178ba9c
initial works on the lexer
4 years ago
github-classroom[bot]
54e35e2b89
Initial commit
4 years ago