blob: dae0ac3a758ea1d56999978aab32b6bf9be6e764 [file] [log] [blame]
swissChilib3ca4fb2021-04-20 10:33:00 -07001#pragma once
2
swissChilib3ca4fb2021-04-20 10:33:00 -07003#include "../compiler.h"
swissChili53472e82021-05-08 16:06:32 -07004#include "../lisp.h"
swissChilib3ca4fb2021-04-20 10:33:00 -07005
swissChili53472e82021-05-08 16:06:32 -07006value_t l_plus(value_t a, value_t b);
swissChiliddc97542021-07-04 11:47:42 -07007value_t l_printval(value_t val);
swissChilib3ca4fb2021-04-20 10:33:00 -07008
swissChili15f1cae2021-07-05 19:08:47 -07009void add_function(struct environment *env, char *name, void *func, struct args *args, enum namespace ns);
10void add_c_function(struct environment *env, char *name, void *func, int nargs);
swissChili53472e82021-05-08 16:06:32 -070011void load_std(struct environment *env);
swissChilif68671f2021-07-05 14:14:44 -070012bool load_library(struct environment *env, char *name);