aboutsummaryrefslogtreecommitdiff
path: root/src/builtins.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/builtins.h')
-rw-r--r--src/builtins.h98
1 files changed, 50 insertions, 48 deletions
diff --git a/src/builtins.h b/src/builtins.h
index 3c54bdc..5b6b763 100644
--- a/src/builtins.h
+++ b/src/builtins.h
@@ -3,53 +3,55 @@
#include "interp.h"
-
-SExpRef builtin_sqrt(Interp *interp, SExpRef sexp);
-SExpRef builtin_cbrt(Interp *interp, SExpRef sexp);
-SExpRef builtin_float(Interp *interp, SExpRef sexp);
-SExpRef builtin_abs(Interp *interp, SExpRef sexp);
-SExpRef builtin_pow(Interp *interp, SExpRef sexp);
-SExpRef builtin_floor(Interp *interp, SExpRef sexp);
-SExpRef builtin_truncate(Interp *interp, SExpRef sexp);
-SExpRef builtin_ceiling(Interp *interp, SExpRef sexp);
-SExpRef builtin_round(Interp *interp, SExpRef sexp);
-SExpRef builtin_sin(Interp *interp, SExpRef sexp);
-SExpRef builtin_cos(Interp *interp, SExpRef sexp);
-SExpRef builtin_tan(Interp *interp, SExpRef sexp);
-SExpRef builtin_asin(Interp *interp, SExpRef sexp);
-SExpRef builtin_acos(Interp *interp, SExpRef sexp);
-SExpRef builtin_atan(Interp *interp, SExpRef sexp);
-SExpRef builtin_ln(Interp *interp, SExpRef sexp);
-SExpRef builtin_log10(Interp *interp, SExpRef sexp);
-SExpRef builtin_log2(Interp *interp, SExpRef sexp);
-SExpRef builtin_exp(Interp *interp, SExpRef sexp);
-SExpRef builtin_min(Interp *interp, SExpRef sexp);
-SExpRef builtin_max(Interp *interp, SExpRef sexp);
-SExpRef builtin_equal(Interp *interp, SExpRef sexp);
-SExpRef builtin_eq(Interp *interp, SExpRef sexp);
-SExpRef builtin_format(Interp *interp, SExpRef sexp);
-SExpRef builtin_concat(Interp *interp, SExpRef sexp);
-SExpRef builtin_print(Interp *interp, SExpRef sexp);
-SExpRef builtin_exit(Interp *interp, SExpRef sexp);
-SExpRef builtin_error(Interp *interp, SExpRef sexp);
-SExpRef builtin_list(Interp *interp, SExpRef sexp);
-SExpRef builtin_car(Interp *interp, SExpRef sexp);
-SExpRef builtin_cdr(Interp *interp, SExpRef sexp);
-SExpRef builtin_cons(Interp *interp, SExpRef sexp);
-SExpRef builtin_not(Interp *interp, SExpRef sexp);
-SExpRef builtin_add(Interp *interp, SExpRef sexp);
-SExpRef builtin_sub(Interp *interp, SExpRef sexp);
-SExpRef builtin_mul(Interp *interp, SExpRef sexp);
-SExpRef builtin_div(Interp *interp, SExpRef sexp);
-SExpRef builtin_idiv(Interp *interp, SExpRef sexp);
-SExpRef builtin_mod(Interp *interp, SExpRef sexp);
-SExpRef builtin_num_equal(Interp *interp, SExpRef sexp);
-SExpRef builtin_num_neq(Interp *interp, SExpRef sexp);
-SExpRef builtin_gt(Interp *interp, SExpRef sexp);
-SExpRef builtin_lt(Interp *interp, SExpRef sexp);
-SExpRef builtin_ge(Interp *interp, SExpRef sexp);
-SExpRef builtin_le(Interp *interp, SExpRef sexp);
-SExpRef builtin_princ(Interp *interp, SExpRef sexp);
-SExpRef builtin_gcstat(Interp *interp, SExpRef sexp);
+SExpRef builtin_symbol2string(Interp *interp, SExpRef args);
+SExpRef builtin_intern(Interp *interp, SExpRef args);
+SExpRef builtin_gensym(Interp *interp, SExpRef args);
+SExpRef builtin_sqrt(Interp *interp, SExpRef args);
+SExpRef builtin_cbrt(Interp *interp, SExpRef args);
+SExpRef builtin_float(Interp *interp, SExpRef args);
+SExpRef builtin_abs(Interp *interp, SExpRef args);
+SExpRef builtin_pow(Interp *interp, SExpRef args);
+SExpRef builtin_floor(Interp *interp, SExpRef args);
+SExpRef builtin_truncate(Interp *interp, SExpRef args);
+SExpRef builtin_ceiling(Interp *interp, SExpRef args);
+SExpRef builtin_round(Interp *interp, SExpRef args);
+SExpRef builtin_sin(Interp *interp, SExpRef args);
+SExpRef builtin_cos(Interp *interp, SExpRef args);
+SExpRef builtin_tan(Interp *interp, SExpRef args);
+SExpRef builtin_asin(Interp *interp, SExpRef args);
+SExpRef builtin_acos(Interp *interp, SExpRef args);
+SExpRef builtin_atan(Interp *interp, SExpRef args);
+SExpRef builtin_ln(Interp *interp, SExpRef args);
+SExpRef builtin_log10(Interp *interp, SExpRef args);
+SExpRef builtin_log2(Interp *interp, SExpRef args);
+SExpRef builtin_exp(Interp *interp, SExpRef args);
+SExpRef builtin_min(Interp *interp, SExpRef args);
+SExpRef builtin_max(Interp *interp, SExpRef args);
+SExpRef builtin_equal(Interp *interp, SExpRef args);
+SExpRef builtin_eq(Interp *interp, SExpRef args);
+SExpRef builtin_format(Interp *interp, SExpRef args);
+SExpRef builtin_concat(Interp *interp, SExpRef args);
+SExpRef builtin_print(Interp *interp, SExpRef args);
+SExpRef builtin_exit(Interp *interp, SExpRef args);
+SExpRef builtin_error(Interp *interp, SExpRef args);
+SExpRef builtin_list(Interp *interp, SExpRef args);
+SExpRef builtin_car(Interp *interp, SExpRef args);
+SExpRef builtin_cdr(Interp *interp, SExpRef args);
+SExpRef builtin_cons(Interp *interp, SExpRef args);
+SExpRef builtin_not(Interp *interp, SExpRef args);
+SExpRef builtin_add(Interp *interp, SExpRef args);
+SExpRef builtin_sub(Interp *interp, SExpRef args);
+SExpRef builtin_mul(Interp *interp, SExpRef args);
+SExpRef builtin_div(Interp *interp, SExpRef args);
+SExpRef builtin_idiv(Interp *interp, SExpRef args);
+SExpRef builtin_mod(Interp *interp, SExpRef args);
+SExpRef builtin_num_equal(Interp *interp, SExpRef args);
+SExpRef builtin_num_neq(Interp *interp, SExpRef args);
+SExpRef builtin_gt(Interp *interp, SExpRef args);
+SExpRef builtin_lt(Interp *interp, SExpRef args);
+SExpRef builtin_ge(Interp *interp, SExpRef args);
+SExpRef builtin_le(Interp *interp, SExpRef args);
+SExpRef builtin_princ(Interp *interp, SExpRef args);
+SExpRef builtin_gcstat(Interp *interp, SExpRef args);
#endif