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

#include "ast.h"

typedef struct InterRet InterRet;

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);