Commit Graph
18 Commits
Author SHA1 Message Date
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 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 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