Commit Graph

97 Commits

Author SHA1 Message Date
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
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
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
8f1c7590bd added get number of entries function 2025-03-27 19:23:05 -04:00
94b80b024d Quick formatting updates 2025-03-25 17:02:14 -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
abd24760e0 Fixed and error in grammar.y t#36 2025-03-07 16:05:52 -05:00
d1c36566c7 still working on resolving type name issue 2025-03-07 15:22:10 -05:00
f33b4566ea fixed precedence testing 2025-03-07 13:40:29 -05:00
6dcad07520 fixed precedence tests 2025-03-07 13:36:07 -05:00
06764ad9b3 Prec not working 2025-03-07 12:36:06 -05:00
9eee3d94ba cleanup (removed .saves) 2025-03-06 21:31:55 -05:00
211919d70e fixed location issues for error messages and scoping. Used location macros and the percent location as defined in guides to track location. Code may warrant cleanup as we don't need to manually keep track of locations ourselves any more through our line and column number variables 2025-03-06 02:05:47 -05:00
6fdccb3d8e fixed the spaceing t#34 2025-03-05 16:49:45 -05:00
f99dfc9b54 Fixed some of the spacing and added a harder test t#36 2025-03-05 15:31:01 -05:00
f819a68ef7 runner and parser together add entries ok 2025-03-05 15:02:30 -05:00
c2f28b6836 Combined binaries (parser + alpha) 2025-03-05 14:01:34 -05:00
4d674eb8b7 Testing update with check.sh 2025-03-05 12:30:33 -05:00
c26253c20f Fixed formatting in lex; Updated Makefile t#30 2025-03-04 16:14:01 -05:00
b22f0149c7 Updated structure 2025-03-03 14:48:19 -05:00