From ba57b2de9e84af94c68a94a5d0be08d5e25ab921 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Tue, 23 Aug 2016 22:18:16 +0200 Subject: Add builtin_define --- interpreter.h | 1 + 1 file changed, 1 insertion(+) (limited to 'interpreter.h') 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 -- cgit v1.2.3-54-g00ecf