swissChili | b3ca4fb | 2021-04-20 10:33:00 -0700 | [diff] [blame] | 1 | #pragma once |
| 2 | |
swissChili | b3ca4fb | 2021-04-20 10:33:00 -0700 | [diff] [blame] | 3 | #include "../compiler.h" |
swissChili | 53472e8 | 2021-05-08 16:06:32 -0700 | [diff] [blame] | 4 | #include "../lisp.h" |
swissChili | b3ca4fb | 2021-04-20 10:33:00 -0700 | [diff] [blame] | 5 | |
swissChili | 53472e8 | 2021-05-08 16:06:32 -0700 | [diff] [blame] | 6 | value_t l_plus(value_t a, value_t b); |
swissChili | ddc9754 | 2021-07-04 11:47:42 -0700 | [diff] [blame] | 7 | value_t l_printval(value_t val); |
swissChili | b3ca4fb | 2021-04-20 10:33:00 -0700 | [diff] [blame] | 8 | |
swissChili | 15f1cae | 2021-07-05 19:08:47 -0700 | [diff] [blame] | 9 | void add_function(struct environment *env, char *name, void *func, struct args *args, enum namespace ns); |
| 10 | void add_c_function(struct environment *env, char *name, void *func, int nargs); |
swissChili | 6d02af4 | 2021-08-05 19:49:01 -0700 | [diff] [blame] | 11 | struct error load_std(struct environment *env) WARN_UNUSED; |
swissChili | f68671f | 2021-07-05 14:14:44 -0700 | [diff] [blame] | 12 | bool load_library(struct environment *env, char *name); |