glm94
|
e20ccb8cfb
|
The Scanner has been refactored and some responsibilities were pulled from it. Confirmed working, the Parser still needs to be touched on however.
|
2022-03-02 20:52:40 +00:00 |
|
glm94
|
1b33468343
|
Added a Makefile, removed the build script and had to modify the function names for either the scanner or parser so they didn't collide. Refactoring should be the next step here.
|
2022-03-01 18:03:57 +00:00 |
|
glm94
|
227d566261
|
Not the cleanest way to do this but added in keyword detection.
|
2022-02-17 21:52:26 +00:00 |
|
glm94
|
c55a3434de
|
Implemented identifier detection but keywords in the programming language aren't detected yet.
|
2022-02-15 16:32:35 +00:00 |
|
glm94
|
aa7dff31ff
|
Implemented number parsing.
|
2022-02-15 15:59:17 +00:00 |
|
glm94
|
f1a468aebc
|
Added support for string literals.
|
2022-02-14 19:38:49 +00:00 |
|
glm94
|
5b90c98123
|
Fixed the '!=' detection bug.
|
2022-02-14 17:21:35 +00:00 |
|
glm94
|
db54e8f888
|
Added Peek() and Match() as well as a bugged '!=' detection.
|
2022-02-14 17:06:30 +00:00 |
|
glm94
|
7bdbb9f53a
|
Refactored the scanner and updated the Token struct to store the length of its lexeme to avoid malloc()ing new strings for every token.
|
2022-02-10 17:17:33 +00:00 |
|
glm94
|
2d84019e58
|
Created the list structure for the tokens to be stored and some helper functions.
|
2022-02-09 21:47:54 +00:00 |
|
glm94
|
d6a3935588
|
Setup a skeleton for the scanner.
|
2022-02-09 19:53:57 +00:00 |
|