Commit Graph

  • f33b4566ea fixed precedence testing Partho Bhattacharya 2025-03-07 13:40:29 -05:00
  • 6dcad07520 fixed precedence tests Partho Bhattacharya 2025-03-07 13:36:07 -05:00
  • 06764ad9b3 Prec not working Meyer Simon 2025-03-07 12:36:06 -05:00
  • e32b8758b5 edited the test file llnode t#36 Meyer Simon 2025-03-06 21:39:51 -05:00
  • 9eee3d94ba cleanup (removed .saves) Scarlett 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 Partho Bhattacharya 2025-03-06 02:05:47 -05:00
  • 6fdccb3d8e fixed the spaceing t#34 Meyer Simon 2025-03-05 16:49:45 -05:00
  • f99dfc9b54 Fixed some of the spacing and added a harder test t#36 Meyer Simon 2025-03-05 15:31:01 -05:00
  • f819a68ef7 runner and parser together add entries ok Partho Bhattacharya 2025-03-05 15:02:30 -05:00
  • c2f28b6836 Combined binaries (parser + alpha) Scarlett 2025-03-05 14:01:34 -05:00
  • 45940c0500 quick update #30 Scarlett 2025-03-05 12:54:30 -05:00
  • 4d674eb8b7 Testing update with check.sh Scarlett 2025-03-05 12:30:33 -05:00
  • c26253c20f Fixed formatting in lex; Updated Makefile t#30 Scarlett 2025-03-04 16:14:01 -05:00
  • b22f0149c7 Updated structure Scarlett 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 Partho Bhattacharya 2025-02-28 18:19:49 -05:00
  • 63212a3d63 entries are working but not freeing memory so potential for leaks Partho Bhattacharya 2025-02-28 18:16:44 -05:00
  • 5147d9d41c Updated header Scarlett 2025-02-28 17:42:47 -05:00
  • 2695334db9 added print statements to gramamr rules to check for debugging Partho Bhattacharya 2025-02-28 15:42:43 -05:00
  • 2808a75dc9 edited some grammar rules. Still running into syntax errors Partho Bhattacharya 2025-02-28 14:03:53 -05:00
  • 32e123beb7 forgot to remove the comments Meyer Simon 2025-02-28 12:21:36 -05:00
  • d4b943b838 added an alpha file all on one line Meyer Simon 2025-02-28 12:16:21 -05:00
  • 046cb4b171 solved shift-reduce errors Partho Bhattacharya 2025-02-28 11:50:18 -05:00
  • 078b059d1c parser compiling Partho Bhattacharya 2025-02-27 20:28:39 -05:00
  • d609dd2dca added skeleton rules and grammar to bison file Partho Bhattacharya 2025-02-27 20:03:50 -05:00
  • fad44e21ea added print table functionality to main in grammar.y with custom EOF input in '!' Partho Bhattacharya 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 Meyer Simon 2025-02-27 17:02:17 -05:00
  • f355de059f added some test files nothing is working t#34 Meyer Simon 2025-02-27 16:11:13 -05:00
  • c85540afdf updated testing for parser Partho Bhattacharya 2025-02-27 15:22:02 -05:00
  • 5626a5c371 testing why grammar does not work Partho Bhattacharya 2025-02-27 14:13:19 -05:00
  • 3ce8cbae59 Parser compiles from .y and .lex files Partho Bhattacharya 2025-02-26 15:57:08 -05:00
  • 046ccf194b edited symbol table functions Partho Bhattacharya 2025-02-26 12:52:29 -05:00
  • 38b73bd551 added more symbol table functions Partho Bhattacharya 2025-02-26 11:58:46 -05:00
  • 987a086dae added initial block rules Partho Bhattacharya 2025-02-25 01:43:22 -05:00
  • 2fc397007a Merge pull request #25 from UB-CSE443/Sprint2-Infrastructure-FE-t#30 scarlett 2025-02-24 15:29:53 -05:00
  • 44ddfa41f8 Organization + Task 1 objectives t#30 Scarlett 2025-02-24 15:28:46 -05:00
  • cf25a1d7a4 commented out the call to print function to stop seg fault for now Partho Bhattacharya 2025-02-24 12:31:48 -05:00
  • c1191c888e fixed issues with the compilation process Meyer Simon 2025-02-23 13:15:35 -05:00
  • 927c691d93 Merge pull request #24 from UB-CSE443/Sprint2-SymbolTableOperations-FE-t#29 maxsimongt3 2025-02-23 12:46:14 -05:00
  • d6033e9168 Removed comments to make symbole table easyer to read. Meyer Simon 2025-02-23 12:21:28 -05:00
  • 9137b8f862 Merge branch 'Dev' into Sprint2-SymbolTableOperations-FE-t#29 Meyer Simon 2025-02-23 12:10:46 -05:00
  • d790d5fdef Made some changes to the files t#29 Meyer Simon 2025-02-23 12:06:37 -05:00
  • 6c72120785 added the prototypes for lookups to the h file t#29 Meyer Simon 2025-02-23 11:38:55 -05:00
  • 07522d46df Merge pull request #21 from UB-CSE443/Sprint2-Infrastructure-FE-t#30 scarlett 2025-02-21 16:35:17 -05:00
  • e5c9771371 Merge branch 'Dev' into Sprint2-Infrastructure-FE-t#30 scarlett 2025-02-21 16:35:05 -05:00
  • 08833a370f Merge branch 'Sprint2-CommandLineHandling-FE-t#33' into Dev Anna Slenker 2025-02-21 16:31:26 -05:00
  • 15c7a148b0 switched -st to call print_symbol_table Annie 2025-02-21 16:28:53 -05:00
  • e86edb324b Fix the conflicts t#29 Meyer Simon 2025-02-21 16:26:37 -05:00
  • 5505d11d21 Completed task1 objectives t#30 Scarlett 2025-02-21 16:18:38 -05:00
  • 52171d5569 Merge pull request #20 from UB-CSE443/Sprint2-PrintOutErrorTokenPositions-NoTask Moroseui 2025-02-21 15:27:43 -05:00
  • eb3452fec9 added code to print out positions of incorrect tokens Partho Bhattacharya 2025-02-21 15:25:21 -05:00
  • fb104ab07f Merge pull request #19 from UB-CSE443/Sprint2-SymbolTableOperations-FE-t#29 maxsimongt3 2025-02-21 14:53:39 -05:00
  • 7fba06ff51 Merge branch 'Dev' into Sprint2-SymbolTableOperations-FE-t#29 maxsimongt3 2025-02-21 14:53:25 -05:00
  • fcb66c125d it looks like this should work. t#29 Meyer Simon 2025-02-21 14:30:14 -05:00
  • c8c5ee2d77 Merge pull request #18 from UB-CSE443/Sprint2-Symbol_Table_Setup-FE-t#32 Moroseui 2025-02-21 12:57:21 -05:00
  • c68115a4dd Merge branch 'Dev' into Sprint2-Symbol_Table_Setup-FE-t#32 Moroseui 2025-02-21 12:57:01 -05:00
  • e0ab5540da edited symbol table node structure to remove strlength and value as they are not needed Partho Bhattacharya 2025-02-21 12:52:24 -05:00
  • ad5da96857 Made spelling errors t#29 Meyer Simon 2025-02-21 11:47:20 -05:00
  • dbcdafb1a0 fixed some of the spacing in the table t#29 Meyer Simon 2025-02-21 10:09:26 -05:00
  • 4468dbd02f Fixed some functionality in symbol_table and added print_symbole_table t#29 Meyer Simon 2025-02-21 09:32:06 -05:00
  • 0a806fd5ba Merge pull request #17 from UB-CSE443/Sprint2-CommandLineHandling-FE-t#33 Annie Slenker 2025-02-21 01:28:20 -05:00
  • 0b10c50a78 added tests to makefile Annie 2025-02-21 01:19:39 -05:00
  • bf65f47b50 uncommented one part of symbol_table Partho Bhattacharya 2025-02-20 19:20:34 -05:00
  • e87c61a554 Merge pull request #16 from UB-CSE443/Sprint2-Symbol_Table_Setup-FE-t#32 Moroseui 2025-02-20 19:10:25 -05:00
  • f2a0fbd1bc added a simple test of symbol table and entry creation Partho Bhattacharya 2025-02-20 19:07:21 -05:00
  • b21d7039a2 finished base code for table setup. Still have to check grammar Partho Bhattacharya 2025-02-20 17:50:25 -05:00
  • fdb8f493e1 include -help description in -help Annie 2025-02-20 16:14:50 -05:00
  • 0aea539095 implemented -st and -tok functionality, updated -help Annie 2025-02-20 16:07:44 -05:00
  • 5f35308361 continued working on table structure Partho Bhattacharya 2025-02-20 15:19:50 -05:00
  • 5171e4bc86 Makefile updated t#30 Scarlett 2025-02-20 14:30:18 -05:00
  • 7836f6ecd0 started symbol table file Partho Bhattacharya 2025-02-20 01:18:22 -05:00
  • 56134cba48 Merge pull request #15 from UB-CSE443/Sprint1-HelpInput-FE-t#18 scarlett 2025-02-19 11:17:41 -05:00
  • 7bf38f8335 Merge pull request #14 from UB-CSE443/Sprint1-punctuation/grouping-FE-t#09 scarlett 2025-02-19 11:12:44 -05:00
  • 69e9f1e388 Merge pull request #13 from UB-CSE443/Token_Error_Logic-No_Task Moroseui 2025-02-19 02:28:45 -05:00
  • 57d52922d2 fixed comment issues Partho Bhattacharya 2025-02-19 02:18:05 -05:00
  • c2adcdf8bb Makefile updated t#09 Scarlett 2025-02-18 16:03:52 -05:00
  • 4e22726d5b added .gitignore t#09 Meyer Simon 2025-02-18 16:01:30 -05:00
  • 7a52aa51bf added -help functionality Annie 2025-02-18 14:22:28 -05:00
  • 910760661e Lexer is ready just added some test files t#09 Meyer Simon 2025-02-13 21:11:03 -05:00
  • 4483afc081 Merge pull request #12 from UB-CSE443/Sprint1-TokenLocationLogic-NoTask Moroseui 2025-02-13 20:28:29 -05:00
  • 292a8dbf8d tested lexer with more files Partho Bhattacharya 2025-02-13 20:24:39 -05:00
  • 52a7c69dae updated comment count Partho Bhattacharya 2025-02-13 20:02:42 -05:00
  • 3c6d3be9b4 testing int with yyleng Partho Bhattacharya 2025-02-13 19:28:38 -05:00
  • 9e7a70f901 merged task t#09 Meyer Simon 2025-02-13 19:20:21 -05:00
  • 90407da44c ran make file to display all .tok files Partho Bhattacharya 2025-02-13 19:00:43 -05:00
  • 3596a5e21f deleted make created files Partho Bhattacharya 2025-02-13 18:53:26 -05:00
  • f64a4633f7 tweaked the lexer to always have DEBUG of 0 and updated .tok file logic in runner Partho Bhattacharya 2025-02-13 18:51:31 -05:00
  • 3125d14942 Merge pull request #11 from UB-CSE443/Sprint1-BasicProgSetupFix-t#06 Annie Slenker 2025-02-13 01:59:41 -05:00
  • 9aa63372c3 Merge branch 'Dev' into Sprint1-BasicProgSetupFix-t#06 Annie Slenker 2025-02-13 01:59:32 -05:00
  • 228f66a385 Resolved issue of including path to .alpha file and tested with multiple directories Annie 2025-02-13 01:44:19 -05:00
  • e91eb1815b Added option to generate header file for yy.lex.c, fixed errors in runner.c, and updated Makefile Annie 2025-02-12 23:47:12 -05:00
  • 431ab607c4 Tested the functionality, seems to work. t#09 Meyer Simon 2025-02-12 20:48:56 -05:00
  • 99c62758f6 Added code to lexer to recognize the groupings/punct's t#09 Meyer Simon 2025-02-12 16:12:33 -05:00
  • c13f76f365 Added tests for grouping t#09 Meyer Simon 2025-02-12 15:22:59 -05:00
  • b494518208 Update to match filename Scarlett 2025-02-12 14:26:12 -05:00
  • 0ee652ed06 Test cases added Scarlett 2025-02-12 14:23:57 -05:00
  • 4e4d0280ec Dev Cleanup Scarlett 2025-02-12 14:21:46 -05:00
  • 8758763ba0 removed unneeded files Partho Bhattacharya 2025-02-12 12:59:31 -05:00
  • 6bee87f2e1 Merge pull request #10 from UB-CSE443/Sprint1-TokenizeID_MainFunction-FE-t#04 scarlett 2025-02-12 12:57:29 -05:00
  • b6c2d33c42 Merge branch 'Dev' into Sprint1-TokenizeID_MainFunction-FE-t#04 scarlett 2025-02-12 12:57:14 -05:00
  • a9d4f8a3ac Merge pull request #9 from UB-CSE443/Sprint1-TokenizeConstantsAndLiterals-FE-t#03 Moroseui 2025-02-12 12:46:06 -05:00