Commit Graph
122 Commits
Author SHA1 Message Date
Sanjar Ahmadov 398563d8ba fixed issue in boxing 2021-05-02 12:46:35 -04:00
Sanjar Ahmadov 69939f08c3 Boxing integer and booleans done 2021-05-02 12:19:10 -04:00
Sanjar Ahmadov 026eb099b0 Add jump to label in return statement 2021-05-02 10:54:51 -04:00
Apoorva Ranade 9e2b344bd2 Fixed Ifs 2021-05-02 20:20:52 +05:30
Apoorva Ranade 54b792ba10 Fixing while 2021-05-02 20:11:59 +05:30
Sanjar Ahmadov 3c4eeb2fdc Added .equiv directives. Need to fix runtime exceptions 2021-05-02 10:24:15 -04:00
Sanjar Ahmadov 04780157fc merged in bill/merge-cond-cls 2021-05-02 09:47:14 -04:00
Sanjar Ahmadov bcf37be308 added makeint 2021-05-02 09:40:03 -04:00
Sanjar Ahmadov 4d97a84bce cleanup 2021-05-02 09:39:20 -04:00
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 2021-05-02 21:19:57 +08:00
bill df398e608a Added more default functions 2021-05-02 21:18:30 +08:00
Apoorva Ranade 115906ac11 Merged with remote 2021-05-02 18:13:49 +05:30
Apoorva Ranade c02b36d305 BinaryExpr Analyze Boolean and List Type 2021-05-02 18:10:20 +05:30
bill b8600746cf cleanup imports 2021-05-02 16:36:50 +08:00
bill ef744ebcfa merge remote-tracking branch 'origin/sanjar/functions' into bill/merge-cond-cls 2021-05-02 16:34:25 +08:00
Apoorva Ranade 4b1b313bbe BinaryExpr Integer operands Analyze 2021-05-02 12:15:17 +05:30
Apoorva Ranade a822a4ab69 UnaryExpr Analyze fixed 2021-05-02 11:19:50 +05:30
Sanjar Ahmadov 82829cb601 Basic function calls, passing and returning parameters and using local variables work fine 2021-05-01 18:23:51 -04:00
Sanjar Ahmadov baac6bc15b fixed conflicts after merging bill/merge-cond-cls 2021-05-01 12:48:21 -04:00
Sanjar Ahmadov a3a7853383 Added user defined function, function call and return statement 2021-05-01 11:58:48 -04:00
Apoorva Ranade 748b42fc53 Changed variable name and fixed indentation 2021-04-30 22:25:31 +05:30
bill aed2114af0 Merge branch 'bill/class' into apoorva/conditional 2021-04-30 22:44:19 +08:00
Apoorva Ranade 530f3ce6ea Added list expr analyze 2021-04-30 16:52:59 +05:30
bill e19717a180 bug fixes 2021-04-30 17:22:51 +08:00
bill 9786fbbc69 Classes/Objects/Methods 2021-04-30 16:45:30 +08:00
Apoorva Ranade 1fb6f3f085 While loop 2021-04-28 15:32:07 +05:30
Apoorva Ranade f92308238b Variable declarations and assignment 2021-04-28 13:26:37 +05:30
Apoorva Ranade c64ee11534 Analyze Binary expression 2021-04-26 23:26:41 +05:30
Apoorva Ranade 024cddfa95 Analyze if expr and stmt 2021-04-25 22:15:20 +05:30
Apoorva Ranade 2f0acdbbf5 Literals and Global Assignment 2021-04-22 15:23:48 +05:30
Apoorva Ranade 913fd45dc1 Assignment for global variables 2021-04-21 16:31:11 +05:30
github-classroom[bot] 9f1681bb23 Initial commit 2021-04-04 18:11:58 +00:00
bill f2aed13f69 finished 2021-04-03 14:03:16 +08:00
sunyinqi0508 21e91b62ce Update DeclarationAnalyzer.java 2021-04-03 03:31:27 +08:00
bill c86e536fe3 Final bug fixes.
Worklog.
Added test diff.py demonstrating the differences between the reference compiler.
2021-04-03 02:54:25 +08:00
Apoorva Ranade 1c43d3ca91 Fixed return type error 2021-04-01 20:50:08 +05:30
Apoorva Ranade 8244f37463 Fixed return type errors 2021-04-01 19:34:08 +05:30
Apoorva Ranade 31201bcf33 Fixed nonlocal declaration errors 2021-04-01 16:50:13 +05:30
Sanjar Ahmadov 5bcf48ffe4 Cleanup 2021-03-23 19:47:45 -04:00
Sanjar Ahmadov 9bbe3956bc Merged in PA1 2021-03-23 19:24:50 -04:00
sunyinqi0508 ae3ef07c97 Update FuncType.java 2021-03-23 20:12:15 +08:00
bill 8cbc495c57 Type Checker finished
Bug fixes (passed 59/59 tests)
2021-03-22 06:24:16 +08:00
Apoorva Ranade 84b1c679b9 Progress on class def node analyzer 2021-03-13 16:03:23 +05:30
Apoorva Ranade 79be979e13 Added class analyze method 2021-03-09 16:33:48 +05:30
Apoorva Ranade 92e6688289 Added semantic check for duplicate local variable declaration 2021-03-07 15:35:34 +05:30
github-classroom[bot] b758a071dc Initial commit 2021-03-03 14:08:57 +00:00
bill 1efee5e539 Fixed precedence on '-'. Passed additional tests. Comments on bad.py. Updated worklog. 2021-03-01 17:54:09 +08:00
Sanjar Ahmadov 776e6001fd Update styles 2021-02-26 09:42:15 -05:00
Sanjar Ahmadov 7688ac7a8d Merged with master and resolved conflicts 2021-02-26 08:46:48 -05:00
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?
2021-02-22 16:42:06 +08:00