summaryrefslogtreecommitdiff
path: root/inter_builtins.h
blob: c9a4bdc2302648da1d5d3eb4cc982c75588d98c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include "ast.h"
#include "interpreter.h"

InterRet builtin_do(InterState *is,int nargs,AST **args);
InterRet builtin_print(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);