glm94
|
b072921304
|
Touched up the Scanner. Refactored the Interpreter some more, this time it's able to be run on simple expressions. String concatenation can be performed by the Interpreter however, numbers and Booleans are not being stored correctly in the Object structures.
|
2022-03-15 20:50:08 +00:00 |
|
glm94
|
caf4f02428
|
Minor cleanup.
|
2022-03-03 17:12:01 +00:00 |
|
glm94
|
7bf7304bd4
|
Attempting to print the expression tree. I think the printing code is fine but the Parser is bugged and not building the tree correctly.
|
2022-03-02 21:43:22 +00:00 |
|
glm94
|
221d575c16
|
Further refactoring done. The Parser runs without crashing, however it's output is still to be checked and verified.
|
2022-03-02 21:24:58 +00:00 |
|
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
|
f1a468aebc
|
Added support for string literals.
|
2022-02-14 19:38:49 +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
|
d6a3935588
|
Setup a skeleton for the scanner.
|
2022-02-09 19:53:57 +00:00 |
|
glm94
|
68882d05a3
|
Added an interactive shell, well the start of one.
|
2022-02-07 19:53:29 +00:00 |
|
glm94
|
8dbd655c43
|
Implemented the file reading routine and added the skeleton for the interpreter.
|
2022-02-07 19:25:08 +00:00 |
|