This commit is contained in:
Scarlett
2025-05-06 23:32:43 -04:00
parent 9d1217993d
commit a95930c0e5

View File

@ -72,7 +72,7 @@ GenX is our preprocessor tool. It is able to handle `#include` statements within
## Other Notes: ## Other Notes:
### Lexical Analyzer ### Lexical Analyzer:
**Undefined Behavior:**</br> **Undefined Behavior:**</br>
* Spaces are not required between tokens. For instance, an INTEGER and an ID are valid even if there is no space between them * Spaces are not required between tokens. For instance, an INTEGER and an ID are valid even if there is no space between them
``` ```
@ -81,3 +81,9 @@ Output: 2 14 301 "5"
1 1 101 "variable" 1 1 101 "variable"
``` ```
* Added an `#include` token to stop syntax errors from being reported on certain alpha files. * Added an `#include` token to stop syntax errors from being reported on certain alpha files.
### CG/IR Not Implemented:
* Arrays
* And conditionals not tested
* While loops may or may not be working (More testing needed)
* *...and other small issues*