diff options
author | thing1 <thing1@seacrossedlovers.xyz> | 2025-02-18 22:00:20 +0000 |
---|---|---|
committer | thing1 <thing1@seacrossedlovers.xyz> | 2025-02-18 22:00:20 +0000 |
commit | ecfbc703dc930a20d56562451f4aa807175503e2 (patch) | |
tree | 7c1dd2742363625f59e4d9f7ba62a8d9594cd463 /types.h |
Diffstat (limited to 'types.h')
-rw-r--r-- | types.h | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,18 @@ +#include <stdbool.h> + +typedef struct exp { + char name; + char op; + + bool var; + union { + int v; + char vv; + }; +} exp; + +typedef struct function { + exp *exprs[1024]; + int exprcount; + char name; +} function; |