Commit Graph

324 Commits

Author SHA1 Message Date
3757434417 added comment functionality for lexer, expanded tests, and updated to identify empty strings 2025-02-10 23:41:37 -05:00
a1c7aaadb1 Added code to print to file with -tok input and created header file 2025-02-10 13:22:01 -05:00
f4a86f0de7 finished string and char updates and testing updates task 03 2025-02-10 13:12:46 -05:00
1701904c08 Fixed some of the spacing in the lexer for debugging t#07 2025-02-10 12:54:08 -05:00
232ad5c9ae Branch Initialize 2025-02-10 12:26:23 -05:00
f0f96dec8d moved runner.h contents to runner.c 2025-02-10 11:05:30 -05:00
6c3951b6ab character identifier seems to work. Still working on strings. Updated tests to include more. Task01 2025-02-07 18:59:45 -05:00
200307291c Removed garbage files 2025-02-07 16:48:12 -05:00
bd8d410c0b Adding macros and function to detect -tok input 2025-02-07 16:30:55 -05:00
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
78c743736c Added the keywards and types t#01 2025-02-07 14:34:37 -05:00
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
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
bfe8cc35dd Removed Type Defs from lex doc 2025-02-05 16:56:27 -05:00
dbb90b9dea added COMMENT to typedefs.h 2025-02-05 16:48:48 -05:00
5c9df58d1b edited file to include comment lines and most of types in handout (except comments) 2025-02-04 19:43:11 -05:00
3bdf25f4e2 Fixed test file so that incorrect tokens were the bottom lines 2025-02-04 18:58:15 -05:00
528e144b1f test file (not for correct code) but various correct and incorrect tokens 2025-02-04 18:40:50 -05:00
340e5adcce Fixed some of the indentation in the Makefile 2025-02-04 15:56:09 -05:00
092f4b7103 Merge remote-tracking branch 'refs/remotes/origin/main' 2025-02-04 15:53:51 -05:00
50ec8c1f65 Added some boiler plate to the .lex file 2025-02-04 15:52:07 -05:00
9f0767c459 added Makefile example from flex documentation 2025-02-04 15:27:21 -05:00
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
f87ae06f52 create files 2025-02-04 15:11:40 -05:00