diff options
Diffstat (limited to 'inter_builtins.h')
-rw-r--r-- | inter_builtins.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/inter_builtins.h b/inter_builtins.h index c9a4bdc..e843b5e 100644 --- a/inter_builtins.h +++ b/inter_builtins.h @@ -4,10 +4,20 @@ #include "interpreter.h" InterRet builtin_do(InterState *is,int nargs,AST **args); +InterRet builtin_if(InterState *is,int nargs,AST **args); + InterRet builtin_print(InterState *is,int nargs,AST **args); + +InterRet builtin_equals(InterState *is,int nargs,AST **args); +InterRet builtin_greater(InterState *is,int nargs,AST **args); +InterRet builtin_greaterequals(InterState *is,int nargs,AST **args); +InterRet builtin_less(InterState *is,int nargs,AST **args); +InterRet builtin_lessequals(InterState *is,int nargs,AST **args); + InterRet builtin_sum(InterState *is,int nargs,AST **args); InterRet builtin_difference(InterState *is,int nargs,AST **args); InterRet builtin_product(InterState *is,int nargs,AST **args); InterRet builtin_quotient(InterState *is,int nargs,AST **args); InterRet builtin_remainder(InterState *is,int nargs,AST **args); + InterRet builtin_define(InterState *is,int nargs,AST **args); |