diff options
author | tomsmeding <tom.smeding@gmail.com> | 2016-08-24 22:51:28 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2016-08-24 22:51:28 +0200 |
commit | 0d339ae7bf88443df5968d605aeca146dd78e0c3 (patch) | |
tree | 31263fc97c77059696a7fd2470ff40120b510ed8 /inter_builtins.h | |
parent | 43d1244d4d3f5680c84ed840eb8876292c3fd49c (diff) |
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); |