Commit Graph

126 Commits

Author SHA1 Message Date
f0d81ff5fd combined symbol table with IR in this branch 2025-04-25 13:01:31 -04:00
2c712ed221 Makefile rewrite 2025-04-25 12:46:07 -04:00
e0c577a7ef updated grammar to pass up instances. Still need IR to compile to properly emit 2025-04-23 18:49:09 -04:00
945dda59d0 throw_error() function implemented 2025-04-23 17:11:43 -04:00
c72e7a2a28 Type check errors 2025-04-16 16:30:58 -04:00
b023ac0133 commented out second yyparse() in runner in run 2025-04-15 20:22:24 -04:00
90f9eb2f00 added entries for reserve and release 2025-04-15 19:44:46 -04:00
8057060f26 fixed several small issues 2025-04-15 01:40:18 -04:00
2b1557b52c worked on function call return type check and started checking return type 2025-04-15 00:53:03 -04:00
f2db338257 fixed type check issues with records as params 2025-04-14 12:33:52 -04:00
3baa95288a fixed issue with not printing array instances in symbol table 2025-04-14 02:01:51 -04:00
3fc7a6371a have to finish idlist rules 2025-04-11 19:00:24 -04:00
55bc098de5 edited function definitions 2025-04-11 16:28:16 -04:00
3e1e159561 starting to work on grammar fixes 2025-04-11 15:45:33 -04:00
f6dabd8d03 working on make sure types pass properly in grammar 2025-04-11 14:02:34 -04:00
d7d7d22c72 fixed seg fault for non record function calls 2025-04-11 10:08:23 -04:00
859ff3fd03 added offset code in symbol table for records 2025-04-09 15:15:17 -04:00
d262bd9c39 removed as from function definitions 2025-04-09 13:13:20 -04:00
faf592a725 Added most type checking. Entries seem printing mostly OK in table. 2025-04-08 18:12:11 -04:00
a4dc3d90be update 2025-04-08 16:01:36 -04:00
e7ee370dcf fixed segfault, but am now having a new unknown one :( 2025-04-07 17:00:24 -04:00
4058b090a0 found one segfault. (not fixed yet) 2025-04-07 15:51:45 -04:00
e42e537339 ran through derefenced most if not all of the pointers 2025-04-07 12:32:20 -04:00
b26f7d4954 Merge branch 'Sprint3-Symbol_Table_Restructure-FE-t#NoTask' into Dev 2025-04-04 21:34:52 -04:00
6a6677ccb5 checking diff 2025-04-04 21:12:26 -04:00
f6abbbd67f updated to change strings to nodes in most locations 2025-04-04 20:24:05 -04:00
d1aa7f7e0f Ready for Dev! 🎉 2025-04-04 15:42:50 -04:00
5e749eb1ac updated 3756156 to use table nodes up until comment in grammar.y 2025-04-04 10:16:45 -04:00
0eb0b8097c updated lex to return the right values to the tokens (mostly table entries) 2025-04-03 20:05:53 -04:00
3bae28dfef started changing to pass up table nodes 2025-04-03 19:04:43 -04:00
4e862d54a4 Header files updated 2025-04-03 18:29:43 -04:00
1765878b85 rebased made progress on type checking function definitions and calls 2025-04-03 17:51:18 -04:00
3d06352510 New grammar formatting rules applied. 2025-04-03 16:37:53 -04:00
77c4106b1b latest 2025-04-02 15:03:29 -04:00
20c372f134 more type check fixes 2025-04-02 13:25:18 -04:00
f4b31ee835 type checking for non as function calls might be working 2025-04-02 13:04:34 -04:00
53a4d060b6 added back scarlett's simple statement work 2025-04-02 11:23:00 -04:00
a81e3e410f need to test function call and array type checking 2025-04-02 11:15:53 -04:00
db2268284b more debug messages, new type check for array and rec 2025-04-02 11:07:25 -04:00
d56d836b8b checking number of args in array ablock 2025-04-01 21:08:16 -04:00
5bd68ddb85 verifying grammar 2025-04-01 17:02:24 -04:00
5e01b93af8 edited while loops in grammar to not look for comparison to NULL. Undefined instead 2025-03-31 20:42:17 -04:00
188c734465 small changes, segfault issue found 2025-03-31 17:38:37 -04:00
0593673d89 fixed the NULL checks for the incorrect ORs 2025-03-31 12:32:36 -04:00
be311c7418 printdebug function with line and file names 2025-03-31 11:43:30 -04:00
d587ed9f3b Updated 2025-03-28 23:33:08 -04:00
57ba34ab37 added a bunch of NULL checks 2025-03-28 22:22:58 -04:00
227cec0b73 continuing. need fix of makefile 2025-03-28 18:02:40 -04:00
f217500b55 removed most seg faults 2025-03-28 16:11:42 -04:00
cca01eb0b5 working on tabel 2025-03-28 14:49:17 -04:00