138 Commits (bddac3db2e0dd4d25ab025bf2986a4d104cc811b)

Author SHA1 Message Date
bill efc8ab2024 Merge branch 'bill/merge-cond-cls' of https://github.com/nyu-compiler-construction/pa3-chocopy-code-generation-mjolnir into sanjar/functions
3 years ago
bill a86d93fcac Index Expr, register pool, changed incSp
3 years ago
Sanjar Ahmadov 398563d8ba fixed issue in boxing
3 years ago
Sanjar Ahmadov 69939f08c3 Boxing integer and booleans done
3 years ago
Sanjar Ahmadov 026eb099b0 Add jump to label in return statement
3 years ago
Apoorva Ranade 9e2b344bd2 Fixed Ifs
3 years ago
Apoorva Ranade 54b792ba10 Fixing while
3 years ago
Sanjar Ahmadov 3c4eeb2fdc Added .equiv directives. Need to fix runtime exceptions
3 years ago
Sanjar Ahmadov 04780157fc merged in bill/merge-cond-cls
3 years ago
Sanjar Ahmadov bcf37be308 added makeint
3 years ago
Sanjar Ahmadov 4d97a84bce cleanup
3 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
3 years ago
bill df398e608a Added more default functions
3 years ago
Apoorva Ranade 115906ac11 Merged with remote
3 years ago
Apoorva Ranade c02b36d305 BinaryExpr Analyze Boolean and List Type
3 years ago
bill b8600746cf cleanup imports
3 years ago
bill ef744ebcfa merge remote-tracking branch 'origin/sanjar/functions' into bill/merge-cond-cls
3 years ago
Apoorva Ranade 4b1b313bbe BinaryExpr Integer operands Analyze
3 years ago
Apoorva Ranade a822a4ab69 UnaryExpr Analyze fixed
3 years ago
Sanjar Ahmadov 82829cb601 Basic function calls, passing and returning parameters and using local variables work fine
3 years ago
Sanjar Ahmadov baac6bc15b fixed conflicts after merging bill/merge-cond-cls
3 years ago
Sanjar Ahmadov a3a7853383 Added user defined function, function call and return statement
3 years ago
Apoorva Ranade 748b42fc53 Changed variable name and fixed indentation
3 years ago
bill aed2114af0 Merge branch 'bill/class' into apoorva/conditional
3 years ago
Apoorva Ranade 530f3ce6ea Added list expr analyze
3 years ago
bill e19717a180 bug fixes
3 years ago
bill 9786fbbc69 Classes/Objects/Methods
3 years ago
Apoorva Ranade 1fb6f3f085 While loop
3 years ago
Apoorva Ranade f92308238b Variable declarations and assignment
3 years ago
Apoorva Ranade c64ee11534 Analyze Binary expression
3 years ago
Apoorva Ranade 024cddfa95 Analyze if expr and stmt
3 years ago
Apoorva Ranade 2f0acdbbf5 Literals and Global Assignment
3 years ago
Apoorva Ranade 913fd45dc1 Assignment for global variables
3 years ago
ldXiao 708eeb510a pa2grade
3 years ago
github-classroom[bot] 9f1681bb23 Initial commit
3 years ago
Sanjar Ahmadov ffba0838d7 Updated good.py and added other ast.typed files
3 years ago
Sanjar Ahmadov e9bd20a8bb Added good.py.ast.typed
3 years ago
sunyinqi0508 9bf0c359ee
Merge branch 'master' into bill/worklog_debugging_finished
3 years ago
bill f2aed13f69 finished
3 years ago
Sanjar Ahmadov dddb026b51 Added student test cases
3 years ago
sunyinqi0508 21e91b62ce
Update DeclarationAnalyzer.java
3 years ago
bill c86e536fe3 Final bug fixes.
3 years ago
Apoorva Ranade 1c43d3ca91 Fixed return type error
3 years ago
Apoorva Ranade 8244f37463 Fixed return type errors
3 years ago
Apoorva Ranade 31201bcf33 Fixed nonlocal declaration errors
3 years ago
Sanjar Ahmadov e47bc2df75 Added bad_* tests which are failing to pass
3 years ago
Sanjar Ahmadov 64e82a191e Added all the test cases from PA1 for good.py for validation purposes.
3 years ago
Sanjar Ahmadov 5bcf48ffe4 Cleanup
3 years ago
Sanjar Ahmadov 9bbe3956bc Merged in PA1
3 years ago
sunyinqi0508 ae3ef07c97
Update FuncType.java
3 years ago
bill 8cbc495c57 Type Checker finished
3 years ago
Apoorva Ranade 84b1c679b9 Progress on class def node analyzer
3 years ago
Apoorva Ranade 79be979e13 Added class analyze method
3 years ago
Apoorva Ranade 92e6688289 Added semantic check for duplicate local variable declaration
3 years ago
github-classroom[bot] b758a071dc Initial commit
3 years ago
bill 1efee5e539 Fixed precedence on '-'. Passed additional tests. Comments on bad.py. Updated worklog.
3 years ago
Sanjar Ahmadov 776e6001fd Update styles
3 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
3 years ago
Sanjar Ahmadov 7688ac7a8d Merged with master and resolved conflicts
3 years ago
Apoorva Ranade d7a9aab8a4 Working tests
3 years ago
Apoorva Ranade 0a0b308dcc Modifying Tests
3 years ago
Apoorva Ranade c21b761c55 Updating tests yet again
3 years ago
Apoorva Ranade 53aaa5c140 Updating tests for multi-line strings
3 years ago
Apoorva Ranade 6bcd40cbf9 Updating tests
3 years ago
bill 609903851d Bug fixes:
3 years ago
Apoorva Ranade 0c5f9b6d8b Adding tests
3 years ago
bill ca13d4c461 Fixed failure on test bad_indentation.py
3 years ago
bill b2536564bc Cleanup
3 years ago
bill ab6c72e690 Simple fixes for the errors.
3 years ago
bill fbc6ae9dcf Merge branch 'sahmadov/cup' of https://github.com/nyu-compiler-construction/pa1-chocopy-parser-mjolnir into bill/merge-flex-cup
3 years ago
bill c5c9bb2f0d Changes made on Flex to adapt for merging.
3 years ago
Sanjar Ahmadov 0672838265 Cleanup
3 years ago
Sanjar Ahmadov 1c02aa84d8 Added cexpr
3 years ago
Sanjar Ahmadov cf3bd4d745 Finished all grammar - passes 24 test cases
3 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.
3 years ago
Sanjar Ahmadov d247243be1 Added first 10 (till var_def) rules of grammer from lauguage reference
3 years ago
bill 2ab3fddc66 Bug fixed:
3 years ago
Sanjar Ahmadov 4cd3062255 Added precedences
3 years ago
Sanjar Ahmadov e844793c02 Added terminals to parser
3 years ago
bill ecb8d23418 bug fixes
3 years ago
bill d5097498b7 more comments
3 years ago
bill 62330bd237 Fixed some typos, added comments.
3 years ago
bill 42628a34f7 Revert "initial works on the lexer"
3 years ago
bill 7409d7e19f Revert "Deal w/ multi-line String Literals."
3 years ago
bill b6f7943d48 Deal w/ multi-line String Literals.
3 years ago
bill 03c393beff Changed how we deal w/ StringLiterals across multiple lines
3 years ago
bill 997178ba9c initial works on the lexer
3 years ago
github-classroom[bot] 54e35e2b89 Initial commit
3 years ago