diff options
author | thing1 <thing1@seacrossedlovers.xyz> | 2025-03-30 19:22:31 +0000 |
---|---|---|
committer | thing1 <thing1@seacrossedlovers.xyz> | 2025-03-30 19:22:31 +0000 |
commit | ff0eee931d3918eedf1c125c58328e54b47a4994 (patch) | |
tree | a61c94e89ea76ef68c55a9fe387be0a1b56e8e3e /lisp.c |
init
Diffstat (limited to 'lisp.c')
-rw-r--r-- | lisp.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ +#include "types.h" +#include "y.tab.h" + +extern ast *ass[MAXASS]; +extern int asscount; + +values *eval(ast *a); + +int main() { + yyparse(); + for (int i = 0; i < asscount; i++) + eval(ass[i]); +} |