445 Commits

Author SHA1 Message Date
37dedf1818 fixed some grammar rules 2025-03-28 14:16:49 -04:00
d0a00c8684 Update grammar.y with Annie's changes 2025-03-28 13:58:45 -04:00
36694a2f4a updated lookups to return undefined entry if invalid 2025-03-28 13:47:53 -04:00
85faae010f Added the files for intermeadiat code gen #t51 2025-03-28 10:25:11 -04:00
24caa0e9a7 Updeated the contents of st to Dev #t51 2025-03-28 10:18:18 -04:00
2654308396 fixed expression rules 2025-03-28 02:14:50 -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
666e0a4159 No change #t51 2025-03-27 17:28:16 -04:00
03be62dc19 Added structs enums and stubs #t51 2025-03-27 16:08:31 -04:00
fd39afc9e0 Added the files to the repo #t51 2025-03-27 15:28:30 -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
04418cc75d added testing suite for binary and unary operations typechecking 2025-03-27 03:06:58 -04:00
3bcb252d94 Merge pull request #37 from UB-CSE443/Sprint3-Symbol_Table_Restructure-FE-t#NoTask
Sprint3 symbol table restructure fe t#no task
2025-03-26 18:45:10 -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
2c2d471a62 Merge pull request #36 from UB-CSE443/Sprint3-Symbol_Table_Restructure-FE-t#NoTask
Sprint3 symbol table restructure fe t#no task
2025-03-26 13:00:20 -04:00
5aefd319ae Testing suite updated 2025-03-26 12:48:27 -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
1544f2b728 all compilation errors are gone. Function Types are properly entering Symbol Table. Some Type checking is taking place among expressions. 2025-03-14 22:42:08 -04:00
78f1cd3fbb Got symbol Table largely working (but without certain entries being added like functions or records) 2025-03-14 20:48:11 -04:00
ead70170c0 added a remove entry function 2025-03-14 19:58:53 -04:00
8a1477c04d started updating values to types 2025-03-14 15:11:03 -04:00
9361ed62e7 added a type check function in symbol table 2025-03-14 14:46:31 -04:00
63534d1daf restructured table, still have to update print table properly as well as grammar rules 2025-03-14 13:35:25 -04:00
f0e0d7bdbc still working through symbol_table to try and get it to compile soon but fixed issues with storing values and calling the right element of a struct 2025-03-14 12:04:53 -04:00
392a4b3ba5 wrote up symbol table structure. Have to correct code and then add type checking grammar rules 2025-03-14 05:32:24 -04:00
f0e03b2724 save point for tweaking symbol table--note won't be currently working 2025-03-14 04:24:03 -04:00
3db6191969 fixed symbol_table entries not working 2025-03-12 10:27:48 -04:00
7bd6af09b9 Cleanup 2025-03-11 15:39:15 -04:00
acd51dee98 added tests for assignable and memory 2025-03-11 15:37:05 -04:00
bb95edc9c6 Merge pull request #32 from UB-CSE443/Dev
Sprint 2 Final
2025-03-11 11:26:25 -04:00
2035221373 Merge pull request #31 from UB-CSE443/Sprint2-Partho_Symbol_Tabke-FE-t#NoTask
updated get entry function to get string pointers instead of creating…
2025-03-10 12:03:02 -04:00
c0dccb371e Merge branch 'Dev' into Sprint2-Partho_Symbol_Tabke-FE-t#NoTask 2025-03-10 12:02:54 -04:00
2f04671123 updated get entry function to get string pointers instead of creating different strings. Also created a define function for top level scopes. Create Entry does not work for top level 2025-03-10 11:56:26 -04:00
e8b0af1213 Fixed the spacing in the symbole table files t#NONE 2025-03-09 15:19:15 -04:00
072182dbbc Fixed spacing in the files t#NONE 2025-03-08 14:08:14 -05:00
abd24760e0 Fixed and error in grammar.y t#36 2025-03-07 16:05:52 -05:00
9a5bddf1e9 Merge pull request #30 from UB-CSE443/Sprint2-NewFormatPlusGrammar-FE-t#NoTask
fixed declaration name issue
2025-03-07 15:54:38 -05:00
3a22ecbcdc fixed declaration name 2025-03-07 15:50:15 -05:00
b3df99f4b1 Merge pull request #29 from UB-CSE443/Sprint2-NewFormatPlusGrammar-FE-t#NoTask
Sprint2 new format plus grammar fe t#no task
2025-03-07 15:23:38 -05:00
d1c36566c7 still working on resolving type name issue 2025-03-07 15:22:10 -05:00