Commit Graph

35 Commits

Author SHA1 Message Date
ridethepig
d279a73fb5 add a simple vector based symtab for location 2023-03-31 18:04:51 +08:00
ridethepig
2db8b1f4e7 context independent code generation done 2023-03-31 15:18:46 +08:00
ridethepig
3ef6812784 proto object 2023-03-29 16:09:53 +00:00
ridethepig
bcbafc9972 dispatchTable 2023-03-29 15:07:06 +00:00
ridethepig
d4aeee16cc classnameTab 2023-03-29 19:50:49 +08:00
ridethepig
b2142969f8 read the doc and format skeleton code 2023-03-29 13:33:25 +08:00
ridethepig
040115e812 first compile PA5 2023-03-27 19:21:05 +08:00
ridethepig
891e07e968 refine code, comment; small bug fix 2023-03-27 19:12:54 +08:00
ridethepig
67cdb55125 grading pass (though may be still buggy) 2023-03-27 14:54:06 +08:00
ridethepig
c5bbdde30b buggy prototype 2023-03-26 15:41:09 +00:00
ridethepig
1b3f14ab34 prepare for expr typing 2023-03-26 04:03:16 +00:00
ridethepig
cde6479576 add helpers for typing; fix self attr; fix SELF_TYPE is_exist 2023-03-26 04:03:16 +00:00
ridethepig
1e072b28fc inheritance check for redefined features 2023-03-26 04:03:12 +00:00
ridethepig
1da8dbb8c5 add attr & method collect 2023-03-24 15:46:11 +00:00
ridethepig
e3673e17d3 disable inheritance from int bool str 2023-03-24 11:56:17 +00:00
ridethepig
2c4d9cdcc8 add some comment 2023-03-24 17:40:42 +08:00
ridethepig
67b8d25d85 inheritance analysis 2023-03-24 17:27:49 +08:00
ridethepig
8fe45fc17c read the doc 2023-03-24 04:34:25 +00:00
ridethepig
a221808aec gitignore for pa4 2023-03-23 13:54:57 +00:00
ridethepig
402f26b01d fix long string test and escaped \0 2023-03-23 04:54:42 +00:00
ridethepig
dcff1387d9 PA3 seems to be ok 2023-03-23 04:37:49 +00:00
ridethepig
54e92e49a4 adding grading script stolen from github 2023-03-23 03:38:34 +00:00
ridethepig
d2490af747 improvements on line no 2023-03-22 16:34:16 +00:00
ridethepig
e07f9769e0 add compare test script 2023-03-22 21:35:26 +08:00
ridethepig
1d3822faef first compilation pass 2023-03-22 20:44:13 +08:00
ridethepig
4db0884baa buggy cool.y 2023-03-22 08:59:04 +00:00
ridethepig
ae7236fe58 cleanup gitignore 2023-03-20 20:25:22 +08:00
ridethepig
07c8d7748c try make PA3 2023-03-20 20:23:21 +08:00
ridethepig
657ca4816a yet another bug & written material 2023-03-20 20:03:04 +08:00
ridethepig
20d083bc58 almost bug free 2023-03-20 17:06:15 +08:00
ridethepig
88610ace11 PA2 seems ok 2023-03-19 16:56:41 +00:00
ridethepig
90aa2cbdf9 trivial commit 2023-03-18 16:23:33 +08:00
ridethepig
8f24012862 PA1 done 2023-03-17 15:40:36 +00:00
ridethepig
3ecd8f4478 get familiar with pa1 2023-03-17 17:41:06 +08:00
ridethepig
cd99c49691 extract tar and init 2023-03-16 15:55:37 +00:00