diff options
author | tomsmeding <tom.smeding@gmail.com> | 2016-08-23 22:18:16 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2016-08-23 22:18:16 +0200 |
commit | ba57b2de9e84af94c68a94a5d0be08d5e25ab921 (patch) | |
tree | 40b8d3278d08214f1eba3a74eb2eebe033fb906d /interpreter.h | |
parent | cac651cd88f8da1e5957b0cc13fa25d79e1887fc (diff) |
Add builtin_define
Diffstat (limited to 'interpreter.h')
-rw-r--r-- | interpreter.h | 1 |
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 |