Commit Graph
28 Commits
Author SHA1 Message Date
Partho Bhattacharya eb3452fec9 added code to print out positions of incorrect tokens 2025-02-21 15:25:21 -05:00
Partho Bhattacharya e0ab5540da edited symbol table node structure to remove strlength and value as they are not needed 2025-02-21 12:52:24 -05:00
Partho Bhattacharya bf65f47b50 uncommented one part of symbol_table 2025-02-20 19:20:34 -05:00
Partho Bhattacharya f2a0fbd1bc added a simple test of symbol table and entry creation 2025-02-20 19:07:21 -05:00
Partho Bhattacharya b21d7039a2 finished base code for table setup. Still have to check grammar 2025-02-20 17:50:25 -05:00
Partho Bhattacharya 5f35308361 continued working on table structure 2025-02-20 15:19:50 -05:00
Partho Bhattacharya 7836f6ecd0 started symbol table file 2025-02-20 01:18:22 -05:00
Partho Bhattacharya 57d52922d2 fixed comment issues 2025-02-19 02:18:05 -05:00
Partho Bhattacharya 292a8dbf8d tested lexer with more files 2025-02-13 20:24:39 -05:00
Partho Bhattacharya 52a7c69dae updated comment count 2025-02-13 20:02:42 -05:00
Partho Bhattacharya 3c6d3be9b4 testing int with yyleng 2025-02-13 19:28:38 -05:00
Partho Bhattacharya 90407da44c ran make file to display all .tok files 2025-02-13 19:00:43 -05:00
Partho Bhattacharya 3596a5e21f deleted make created files 2025-02-13 18:53:26 -05:00
Partho Bhattacharya f64a4633f7 tweaked the lexer to always have DEBUG of 0 and updated .tok file logic in runner 2025-02-13 18:51:31 -05:00
Partho Bhattacharya 8758763ba0 removed unneeded files 2025-02-12 12:59:31 -05:00
Partho Bhattacharya 76cc3754c2 cleaned up repo and code in prep to push to dev 2025-02-12 12:41:23 -05:00
Partho Bhattacharya 0e3c0543d7 moved test files to the test folder 2025-02-12 00:08:41 -05:00
Partho Bhattacharya 3757434417 added comment functionality for lexer, expanded tests, and updated to identify empty strings 2025-02-10 23:41:37 -05:00
Partho Bhattacharya f4a86f0de7 finished string and char updates and testing updates task 03 2025-02-10 13:12:46 -05:00
Partho Bhattacharya 6c3951b6ab character identifier seems to work. Still working on strings. Updated tests to include more. Task01 2025-02-07 18:59:45 -05:00
Partho Bhattacharya db66b04033 got some chars to identify and edited the simple literal test to include more examples -Task01 2025-02-07 15:40:48 -05:00
Partho Bhattacharya 145d3eeb85 updated lex file to have working code for all except for chars and strings. Also added the test files for just Int Testing and for testing for all literals (that is still failing for char and strings) 2025-02-07 14:31:10 -05:00
Partho Bhattacharya cfd64648d9 Added simple rules for literals based on documentation. Still have to test them and refine further 2025-02-07 00:59:03 -05:00
Partho Bhattacharya bfe8cc35dd Removed Type Defs from lex doc 2025-02-05 16:56:27 -05:00
Partho Bhattacharya dbb90b9dea added COMMENT to typedefs.h 2025-02-05 16:48:48 -05:00
Partho Bhattacharya 5c9df58d1b edited file to include comment lines and most of types in handout (except comments) 2025-02-04 19:43:11 -05:00
Partho Bhattacharya 3bdf25f4e2 Fixed test file so that incorrect tokens were the bottom lines 2025-02-04 18:58:15 -05:00
Partho Bhattacharya 528e144b1f test file (not for correct code) but various correct and incorrect tokens 2025-02-04 18:40:50 -05:00