bill
f2aed13f69
finished
4 years ago
sunyinqi0508
21e91b62ce
Update DeclarationAnalyzer.java
4 years ago
bill
c86e536fe3
Final bug fixes.
...
Worklog.
Added test diff.py demonstrating the differences between the reference compiler.
4 years ago
Apoorva Ranade
1c43d3ca91
Fixed return type error
4 years ago
Apoorva Ranade
8244f37463
Fixed return type errors
4 years ago
Apoorva Ranade
31201bcf33
Fixed nonlocal declaration errors
4 years ago
Sanjar Ahmadov
5bcf48ffe4
Cleanup
4 years ago
Sanjar Ahmadov
9bbe3956bc
Merged in PA1
4 years ago
sunyinqi0508
ae3ef07c97
Update FuncType.java
4 years ago
bill
8cbc495c57
Type Checker finished
...
Bug fixes (passed 59/59 tests)
4 years ago
Apoorva Ranade
84b1c679b9
Progress on class def node analyzer
4 years ago
Apoorva Ranade
79be979e13
Added class analyze method
4 years ago
Apoorva Ranade
92e6688289
Added semantic check for duplicate local variable declaration
4 years ago
github-classroom[bot]
b758a071dc
Initial commit
4 years ago
bill
1efee5e539
Fixed precedence on '-'. Passed additional tests. Comments on bad.py. Updated worklog.
4 years ago
Sanjar Ahmadov
776e6001fd
Update styles
4 years ago
Sanjar Ahmadov
7688ac7a8d
Merged with master and resolved conflicts
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
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
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
42628a34f7
Revert "initial works on the lexer"
...
This reverts commit 997178ba9c
.
4 years ago
bill
7409d7e19f
Revert "Deal w/ multi-line String Literals."
...
This reverts commit b6f7943d48
.
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