parsers are really fun to work on

... but maybe not as much in c...
This commit is contained in:
2026-04-14 16:19:04 +02:00
parent c7f287ca7b
commit a577ffe094
3 changed files with 184 additions and 2 deletions

View File

@@ -4,10 +4,14 @@
typedef enum noomP_NodeType {
NOOMP_NODE_PROGRAM,
NOOMP_NODE_VARNAME,
NOOMP_NODE_VARIABLE,
NOOMP_NODE_NUMBERLITERAL,
NOOMP_NODE_LOCALDECLARATION,
NOOMP_NODE_IFSTATEMENT,
NOOMP_NODE_BLOCK,
NOOMP_NODE_UNARYOPERATOR,
NOOMP_NODE_BINARYOPERATOR
} noomP_NodeType;
typedef struct noomP_Node {