aboutsummaryrefslogtreecommitdiff
path: root/src/builtins.h
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-06-20 21:19:25 +0800
committerMistivia <i@mistivia.com>2025-06-20 21:19:32 +0800
commit4fa87778453cb0364cb6fa1c53481484622658f4 (patch)
tree96dd407432352959062c2a40e85b1f6f0892c59c /src/builtins.h
parent0a6ff7031819b77e978f5c9f99eecb0577179ba7 (diff)
and/or/not
Diffstat (limited to 'src/builtins.h')
-rw-r--r--src/builtins.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/builtins.h b/src/builtins.h
index d4fcaf5..4e4e39f 100644
--- a/src/builtins.h
+++ b/src/builtins.h
@@ -7,11 +7,17 @@ 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);