Commit Graph

65 Commits

Author SHA1 Message Date
8bc5997996 fixed getReturn to not return NULL 2025-04-11 12:55:14 -04:00
df8c9fb661 updated print symbol table to use getters 2025-04-11 12:50:24 -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
3010ad6517 Added more debug statements 2025-04-08 18:16:56 -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
87659ebf46 segfaults fixed. print_symbol_table format updated for dynamic column width. 2025-04-07 23:53:08 -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
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
9b73c65746 allow renaming of tablenodes 2025-04-04 01:51:53 -04:00
0eb0b8097c updated lex to return the right values to the tokens (mostly table entries) 2025-04-03 20:05:53 -04:00
4e862d54a4 Header files updated 2025-04-03 18:29:43 -04:00
3d06352510 New grammar formatting rules applied. 2025-04-03 16:37:53 -04:00
3186d363ed fixed print symbol table to not print scopes used as flags 2025-04-02 20:31:00 -04:00
77c4106b1b latest 2025-04-02 15:03:29 -04:00
692025412e fixed getAdInfo function 2025-04-02 13:16:56 -04:00
db2268284b more debug messages, new type check for array and rec 2025-04-02 11:07:25 -04:00
5bd68ddb85 verifying grammar 2025-04-01 17:02:24 -04:00
fac92f62f7 segfaults fixed. need to verify what is being passed to functions. 2025-03-31 21:18:21 -04:00
c61a87634c fixed NULL check from getNextEntry 2025-03-31 20:31:53 -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
aebb831fe8 Merge pull request #38 from UB-CSE443/Sprint3-DebugTools-FE-t#NoTask
Sprint3 debug tools fe t#no task
2025-03-28 22:24:36 -04:00
57ba34ab37 added a bunch of NULL checks 2025-03-28 22:22:58 -04:00
ad4f55c2bf HUGE Makefile updates! 2025-03-28 20:38:21 -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
36694a2f4a updated lookups to return undefined entry if invalid 2025-03-28 13:47:53 -04:00
38a1d0b091 added more helper functions 2025-03-28 02:02:44 -04:00
d7f6272d37 still editing grammar 2025-03-27 23:37:04 -04:00
c93534e9d4 added setRecSize 2025-03-27 20:10:14 -04:00
8f1c7590bd added get number of entries function 2025-03-27 19:23:05 -04:00
3686a64948 symbol_table print almost done but have to figure out seg fault 2025-03-27 04:44:13 -04:00
c4ad1547bf fixed most symbol table structure issues. Working on print symbol table 2025-03-27 04:00:30 -04:00
22c1a79e03 added more helper functions. still have to update print symbol table function 2025-03-26 18:42:09 -04:00
27fb88f866 updated branch to not crash due to getType issue 2025-03-26 16:21:57 -04:00
0ff894d571 fixed most things in the symbol table structure. Seeing core dumps and have to fix the print symbol table function 2025-03-26 15:21:42 -04:00
0c8c3e30f3 adding function to get adinfo type 2025-03-26 11:17:45 -04:00
d1f7041c31 added enum return function 2025-03-26 10:54:04 -04:00
94b80b024d Quick formatting updates 2025-03-25 17:02:14 -04:00
d817ceaf7d added comments to symbol table.c for clarity. Note- we need to add scope reference to record instead of array reference. Additionally, in print symbol table.c we need to update for if an entry is a function, it should print out parameter->return type 2025-03-24 11:59:53 -04:00
78b3539de6 changed 'string primitive' to 'string' 2025-03-14 22:47:29 -04:00