Commit Graph

140 Commits

Author SHA1 Message Date
Scarlett
9eee3d94ba cleanup (removed .saves) 2025-03-06 21:31:55 -05:00
Partho Bhattacharya
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
Meyer Simon
6fdccb3d8e fixed the spaceing t#34 2025-03-05 16:49:45 -05:00
Meyer Simon
f99dfc9b54 Fixed some of the spacing and added a harder test t#36 2025-03-05 15:31:01 -05:00
Partho Bhattacharya
f819a68ef7 runner and parser together add entries ok 2025-03-05 15:02:30 -05:00
Scarlett
c2f28b6836 Combined binaries (parser + alpha) 2025-03-05 14:01:34 -05:00
Scarlett
45940c0500 quick update #30 2025-03-05 12:54:30 -05:00
Scarlett
4d674eb8b7 Testing update with check.sh 2025-03-05 12:30:33 -05:00
Scarlett
c26253c20f Fixed formatting in lex; Updated Makefile t#30 2025-03-04 16:14:01 -05:00
Scarlett
b22f0149c7 Updated structure 2025-03-03 14:48:19 -05:00
Partho Bhattacharya
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
Partho Bhattacharya
63212a3d63 entries are working but not freeing memory so potential for leaks 2025-02-28 18:16:44 -05:00
Scarlett
5147d9d41c Updated header 2025-02-28 17:42:47 -05:00
Partho Bhattacharya
2695334db9 added print statements to gramamr rules to check for debugging 2025-02-28 15:42:43 -05:00
Partho Bhattacharya
2808a75dc9 edited some grammar rules. Still running into syntax errors 2025-02-28 14:03:53 -05:00
Meyer Simon
32e123beb7 forgot to remove the comments 2025-02-28 12:21:36 -05:00
Meyer Simon
d4b943b838 added an alpha file all on one line 2025-02-28 12:16:21 -05:00
Partho Bhattacharya
046cb4b171 solved shift-reduce errors 2025-02-28 11:50:18 -05:00
Partho Bhattacharya
078b059d1c parser compiling 2025-02-27 20:28:39 -05:00
Partho Bhattacharya
d609dd2dca added skeleton rules and grammar to bison file 2025-02-27 20:03:50 -05:00
Partho Bhattacharya
fad44e21ea added print table functionality to main in grammar.y with custom EOF input in '!' 2025-02-27 17:58:01 -05:00
Meyer Simon
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
Meyer Simon
f355de059f added some test files nothing is working t#34 2025-02-27 16:12:19 -05:00
Partho Bhattacharya
c85540afdf updated testing for parser 2025-02-27 15:22:02 -05:00
Partho Bhattacharya
5626a5c371 testing why grammar does not work 2025-02-27 14:13:19 -05:00
Partho Bhattacharya
3ce8cbae59 Parser compiles from .y and .lex files 2025-02-26 15:57:08 -05:00
Partho Bhattacharya
046ccf194b edited symbol table functions 2025-02-26 12:52:29 -05:00
Partho Bhattacharya
38b73bd551 added more symbol table functions 2025-02-26 11:58:46 -05:00
Partho Bhattacharya
987a086dae added initial block rules 2025-02-25 01:43:22 -05:00
Scarlett
44ddfa41f8 Organization + Task 1 objectives t#30 2025-02-24 15:28:46 -05:00
Partho Bhattacharya
cf25a1d7a4 commented out the call to print function to stop seg fault for now 2025-02-24 12:31:48 -05:00
Meyer Simon
c1191c888e fixed issues with the compilation process 2025-02-23 13:15:35 -05:00
maxsimongt3
927c691d93 Merge pull request #24 from UB-CSE443/Sprint2-SymbolTableOperations-FE-t#29
Sprint2 symbol table operations fe t#29 Fixed some issues
2025-02-23 12:46:14 -05:00
Meyer Simon
d6033e9168 Removed comments to make symbole table easyer to read. 2025-02-23 12:21:28 -05:00
Meyer Simon
9137b8f862 Merge branch 'Dev' into Sprint2-SymbolTableOperations-FE-t#29
I need to make sure that all the changes in dev will work with all the
changes in Sprint2-SymbolTableOperations-FE-t#29
2025-02-23 12:10:46 -05:00
Meyer Simon
d790d5fdef Made some changes to the files t#29 2025-02-23 12:06:37 -05:00
Meyer Simon
6c72120785 added the prototypes for lookups to the h file t#29 2025-02-23 12:00:41 -05:00
scarlett
07522d46df Merge pull request #21 from UB-CSE443/Sprint2-Infrastructure-FE-t#30
Makefile updated t#30
2025-02-21 16:35:17 -05:00
scarlett
e5c9771371 Merge branch 'Dev' into Sprint2-Infrastructure-FE-t#30 2025-02-21 16:35:05 -05:00
Anna Slenker
08833a370f Merge branch 'Sprint2-CommandLineHandling-FE-t#33' into Dev 2025-02-21 16:31:26 -05:00
Annie
15c7a148b0 switched -st to call print_symbol_table 2025-02-21 16:28:53 -05:00
Meyer Simon
e86edb324b Fix the conflicts t#29 2025-02-21 16:26:37 -05:00
Scarlett
5505d11d21 Completed task1 objectives t#30 2025-02-21 16:18:38 -05:00
Moroseui
52171d5569 Merge pull request #20 from UB-CSE443/Sprint2-PrintOutErrorTokenPositions-NoTask
added code to print out positions of incorrect tokens
2025-02-21 15:27:43 -05:00
Partho Bhattacharya
eb3452fec9 added code to print out positions of incorrect tokens 2025-02-21 15:25:21 -05:00
maxsimongt3
fb104ab07f Merge pull request #19 from UB-CSE443/Sprint2-SymbolTableOperations-FE-t#29
it looks like this should work. t#29
2025-02-21 14:53:39 -05:00
maxsimongt3
7fba06ff51 Merge branch 'Dev' into Sprint2-SymbolTableOperations-FE-t#29 2025-02-21 14:53:25 -05:00
Meyer Simon
fcb66c125d it looks like this should work. t#29 2025-02-21 14:30:14 -05:00
Moroseui
c8c5ee2d77 Merge pull request #18 from UB-CSE443/Sprint2-Symbol_Table_Setup-FE-t#32
Sprint2 symbol table setup fe t#32
2025-02-21 12:57:21 -05:00
Moroseui
c68115a4dd Merge branch 'Dev' into Sprint2-Symbol_Table_Setup-FE-t#32 2025-02-21 12:57:01 -05:00