summaryrefslogtreecommitdiff
path: root/interpreter.h
diff options
context:
space:
mode:
Diffstat (limited to 'interpreter.h')
-rw-r--r--interpreter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/interpreter.h b/interpreter.h
index 4434de2..5dbd119 100644
--- a/interpreter.h
+++ b/interpreter.h
@@ -19,6 +19,7 @@ typedef struct InterState InterState;
InterState* inter_make(void);
void inter_destroy(InterState *is);
+void inter_assign(InterState *is,const char *name,AST *ast); //ast is not copied
void inter_register(InterState *is,const char *name,lambdafunc_t cfunc);
void inter_register_prelude(InterState *is);
InterRet inter_runcode(InterState *is,AST *ast); //updates symbol id's