Commit Graph

16 Commits

Author SHA1 Message Date
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
Meyer Simon
340e5adcce Fixed some of the indentation in the Makefile 2025-02-04 15:56:09 -05:00
Meyer Simon
092f4b7103 Merge remote-tracking branch 'refs/remotes/origin/main' 2025-02-04 15:53:51 -05:00
Meyer Simon
50ec8c1f65 Added some boiler plate to the .lex file 2025-02-04 15:52:07 -05:00
Annie
9f0767c459 added Makefile example from flex documentation 2025-02-04 15:27:21 -05:00
Meyer Simon
d782e55bd6 Adding the standard token constants to the typedefs.h, this is basickly taken from the alpha language specification page 5 and made into #define's for the c compiler 2025-02-04 15:20:42 -05:00
Annie
f87ae06f52 create files 2025-02-04 15:11:40 -05:00