bill
a86d93fcac
Index Expr, register pool, changed incSp
4 years ago
Sanjar Ahmadov
398563d8ba
fixed issue in boxing
4 years ago
Sanjar Ahmadov
69939f08c3
Boxing integer and booleans done
4 years ago
Sanjar Ahmadov
026eb099b0
Add jump to label in return statement
4 years ago
Apoorva Ranade
9e2b344bd2
Fixed Ifs
4 years ago
Apoorva Ranade
54b792ba10
Fixing while
4 years ago
Sanjar Ahmadov
3c4eeb2fdc
Added .equiv directives. Need to fix runtime exceptions
4 years ago
Sanjar Ahmadov
04780157fc
merged in bill/merge-cond-cls
4 years ago
Sanjar Ahmadov
bcf37be308
added makeint
4 years ago
Sanjar Ahmadov
4d97a84bce
cleanup
4 years ago
bill
ade63910b8
Merge branch 'bill/merge-cond-cls' of https://github.com/nyu-compiler-construction/pa3-chocopy-code-generation-mjolnir into bill/merge-cond-cls
4 years ago
bill
df398e608a
Added more default functions
4 years ago
Apoorva Ranade
115906ac11
Merged with remote
4 years ago
Apoorva Ranade
c02b36d305
BinaryExpr Analyze Boolean and List Type
4 years ago
bill
b8600746cf
cleanup imports
4 years ago
bill
ef744ebcfa
merge remote-tracking branch 'origin/sanjar/functions' into bill/merge-cond-cls
4 years ago
Apoorva Ranade
4b1b313bbe
BinaryExpr Integer operands Analyze
4 years ago
Apoorva Ranade
a822a4ab69
UnaryExpr Analyze fixed
4 years ago
Sanjar Ahmadov
82829cb601
Basic function calls, passing and returning parameters and using local variables work fine
4 years ago
Sanjar Ahmadov
baac6bc15b
fixed conflicts after merging bill/merge-cond-cls
4 years ago
Sanjar Ahmadov
a3a7853383
Added user defined function, function call and return statement
4 years ago
Apoorva Ranade
748b42fc53
Changed variable name and fixed indentation
4 years ago
bill
aed2114af0
Merge branch 'bill/class' into apoorva/conditional
4 years ago
Apoorva Ranade
530f3ce6ea
Added list expr analyze
4 years ago
bill
e19717a180
bug fixes
4 years ago
bill
9786fbbc69
Classes/Objects/Methods
4 years ago
Apoorva Ranade
1fb6f3f085
While loop
4 years ago
Apoorva Ranade
f92308238b
Variable declarations and assignment
4 years ago
Apoorva Ranade
c64ee11534
Analyze Binary expression
4 years ago
Apoorva Ranade
024cddfa95
Analyze if expr and stmt
4 years ago
Apoorva Ranade
2f0acdbbf5
Literals and Global Assignment
4 years ago
Apoorva Ranade
913fd45dc1
Assignment for global variables
4 years ago
ldXiao
708eeb510a
pa2grade
4 years ago
github-classroom[bot]
9f1681bb23
Initial commit
4 years ago
Sanjar Ahmadov
ffba0838d7
Updated good.py and added other ast.typed files
4 years ago
Sanjar Ahmadov
e9bd20a8bb
Added good.py.ast.typed
4 years ago
sunyinqi0508
9bf0c359ee
Merge branch 'master' into bill/worklog_debugging_finished
4 years ago
bill
f2aed13f69
finished
4 years ago
Sanjar Ahmadov
dddb026b51
Added student test cases
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
e47bc2df75
Added bad_* tests which are failing to pass
4 years ago
Sanjar Ahmadov
64e82a191e
Added all the test cases from PA1 for good.py for validation purposes.
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
8869a01c09
Merge branch 'bill/merge-flex-cup' of https://github.com/nyu-compiler-construction/pa1-chocopy-parser-mjolnir into bill/merge-flex-cup
4 years ago
Sanjar Ahmadov
7688ac7a8d
Merged with master and resolved conflicts
4 years ago
Apoorva Ranade
d7a9aab8a4
Working tests
4 years ago
Apoorva Ranade
0a0b308dcc
Modifying Tests
4 years ago
Apoorva Ranade
c21b761c55
Updating tests yet again
4 years ago
Apoorva Ranade
53aaa5c140
Updating tests for multi-line strings
4 years ago
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
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
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