|
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 |
|
|
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 |
|
|
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 |
|
|
e32b8758b5
|
edited the test file llnode t#36
|
2025-03-06 21:40:02 -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 |
|
|
45940c0500
|
quick update #30
|
2025-03-05 12:54:30 -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 |
|
|
d34a4d3a55
|
Merge branch 'Sprint2-BlockHandlingGrammar-FE-t#34' of github.com:UB-CSE443/compiler-the-translators into Sprint2-BlockHandlingGrammar-FE-t#34
|
2025-02-28 18:19:49 -05:00 |
|
|
63212a3d63
|
entries are working but not freeing memory so potential for leaks
|
2025-02-28 18:16:44 -05:00 |
|
|
5147d9d41c
|
Updated header
|
2025-02-28 17:42:47 -05:00 |
|
|
2695334db9
|
added print statements to gramamr rules to check for debugging
|
2025-02-28 15:42:43 -05:00 |
|
|
2808a75dc9
|
edited some grammar rules. Still running into syntax errors
|
2025-02-28 14:03:53 -05:00 |
|
|
32e123beb7
|
forgot to remove the comments
|
2025-02-28 12:21:36 -05:00 |
|
|
d4b943b838
|
added an alpha file all on one line
|
2025-02-28 12:16:21 -05:00 |
|
|
046cb4b171
|
solved shift-reduce errors
|
2025-02-28 11:50:18 -05:00 |
|
|
078b059d1c
|
parser compiling
|
2025-02-27 20:28:39 -05:00 |
|
|
d609dd2dca
|
added skeleton rules and grammar to bison file
|
2025-02-27 20:03:50 -05:00 |
|
|
fad44e21ea
|
added print table functionality to main in grammar.y with custom EOF input in '!'
|
2025-02-27 17:58:01 -05:00 |
|
|
77596a9d96
|
got it to workgit add grammar.ygit add grammar.ygit add grammar.ygit add grammar.ygit add grammar.ygit add grammar.ygit add grammar.y! t#34
|
2025-02-27 17:02:17 -05:00 |
|