Commit Graph
50 Commits
Author SHA1 Message Date
ldXiao 9446453747 disclose hiden tests 2021-03-12 09:39:57 -05:00
ldXiao 044a8a2efd grade 2021-03-10 19:34:07 -05: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 440b2e59f3 Merge branch 'master' of https://github.com/nyu-compiler-construction/pa1-chocopy-parser-mjolnir 2021-02-26 09:42:20 -05:00
Sanjar Ahmadov 776e6001fd Update styles 2021-02-26 09:42:15 -05:00
ar6496 e3bc6a32da Update WORKLOG.md 2021-02-26 20:04:13 +05:30
ar6496 016e8c76b8 Update WORKLOG.md 2021-02-26 20:03:53 +05:30
ar6496 2bba267990 Update WORKLOG.md 2021-02-26 20:02:24 +05:30
sunyinqi0508 75f4646161 Update WORKLOG.md 2021-02-26 22:20:51 +08:00
sunyinqi0508 c011c1b819 Update WORKLOG.md 2021-02-26 22:20:27 +08:00
ar6496 b95bc53e66 Update WORKLOG.md 2021-02-26 19:47:01 +05:30
Sanjar c8f40451c0 Update WORKLOG.md 2021-02-26 09:15:40 -05:00
ar6496 a80842e656 Update WORKLOG.md 2021-02-26 19:44:37 +05:30
sunyinqi0508 b81176b759 Merge pull request #2 from nyu-compiler-construction/bill/merge-flex-cup
Bill/merge flex cup
2021-02-26 22:04:47 +08:00
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 2021-02-26 08:47:03 -05:00
Sanjar Ahmadov 7688ac7a8d Merged with master and resolved conflicts 2021-02-26 08:46:48 -05:00
Apoorva Ranade d7a9aab8a4 Working tests 2021-02-26 19:14:42 +05:30
Apoorva Ranade 0a0b308dcc Modifying Tests 2021-02-26 19:10:23 +05:30
ar6496 9f6d969d2d Update WORKLOG.md 2021-02-24 18:59:14 +05:30
Apoorva Ranade c21b761c55 Updating tests yet again 2021-02-24 10:48:45 +05:30
Apoorva Ranade bafb0f46bb Merge branch 'bill/merge-flex-cup' of https://github.com/nyu-compiler-construction/pa1-chocopy-parser-mjolnir into bill/merge-flex-cup 2021-02-22 20:16:32 +05:30
Apoorva Ranade 53aaa5c140 Updating tests for multi-line strings 2021-02-22 20:13:27 +05:30
ar6496 534b043c62 Update WORKLOG.md 2021-02-22 20:02:16 +05:30
Apoorva Ranade 6bcd40cbf9 Updating tests 2021-02-22 19:32:37 +05:30
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
ar6496 f6091d744f Create WORKLOG.md 2021-02-22 10:39:50 +05:30
Apoorva Ranade 0c5f9b6d8b Adding tests 2021-02-22 10:18:59 +05:30
bill ca13d4c461 Fixed failure on test bad_indentation.py 2021-02-21 17:55:07 +08:00
bill b2536564bc Cleanup 2021-02-20 23:24:11 +08:00
bill ab6c72e690 Simple fixes for the errors. 2021-02-20 21:42:01 +08:00
bill fbc6ae9dcf Merge branch 'sahmadov/cup' of https://github.com/nyu-compiler-construction/pa1-chocopy-parser-mjolnir into bill/merge-flex-cup 2021-02-20 21:37:49 +08:00
bill c5c9bb2f0d Changes made on Flex to adapt for merging. 2021-02-20 19:46:30 +08:00
Sanjar Ahmadov 0672838265 Cleanup 2021-02-19 19:06:13 -05:00
Sanjar Ahmadov 1c02aa84d8 Added cexpr 2021-02-19 19:03:02 -05:00
Sanjar Ahmadov 7b2e1dab3f Added test scripts to ease testing 2021-02-19 18:45:13 -05:00
Sanjar Ahmadov cf3bd4d745 Finished all grammar - passes 24 test cases 2021-02-19 18:44:22 -05:00
bill 27b46f386d Lexer will pass the original tokens even if it can be inferred to match the type of terminal defined in .cup file. 2021-02-20 04:04:06 +08:00
Sanjar Ahmadov d247243be1 Added first 10 (till var_def) rules of grammer from lauguage reference 2021-02-18 15:26:14 -05:00
bill 2ab3fddc66 Bug fixed:
unreachable code;
	symbol(value) not implemented.
2021-02-18 20:38:43 +08:00
Sanjar Ahmadov 4cd3062255 Added precedences 2021-02-17 14:44:11 -05:00
Sanjar Ahmadov e844793c02 Added terminals to parser 2021-02-17 13:34:39 -05:00
bill ecb8d23418 bug fixes 2021-02-18 00:36:30 +08:00
bill d5097498b7 more comments 2021-02-18 00:27:21 +08:00
bill 62330bd237 Fixed some typos, added comments. 2021-02-18 00:07:18 +08:00
bill 42628a34f7 Revert "initial works on the lexer"
This reverts commit 997178ba9c.
2021-02-17 23:16:20 +08:00
bill 7409d7e19f Revert "Deal w/ multi-line String Literals."
This reverts commit b6f7943d48.
2021-02-17 23:14:46 +08:00
bill b6f7943d48 Deal w/ multi-line String Literals. 2021-02-17 21:22:28 +08:00
bill 03c393beff Changed how we deal w/ StringLiterals across multiple lines 2021-02-17 21:14:23 +08:00
bill 997178ba9c initial works on the lexer 2021-02-17 20:45:38 +08:00
github-classroom[bot] 54e35e2b89 Initial commit 2021-02-09 10:56:17 +00:00