mes/src
Jan Nieuwenhuizen b76d35d859
boot-6: Support Guile modules.
* src/hash.c (hashq_get_handle_): Remove default "dflt" parameter.
(hashq_ref_): Update user.
* src/module.c (module_handle, module_variable, current_module,
module_defines): New functions.
* src/variable.c (lookup_variable): Rename to ...
(lookup_handle): ...this.  Implement module lookup.
(lookup_variable_): Rename to ...
(lookup_ref_); ...this.
(handle_set_x): New function.
* include/mes/builtins.h: Update prototypes.
* src/core.c (error): Update users.
* src/eval-apply.c (set_x, macro_get_handle, expand_variable_,
eval_apply): Likewise.
2020-12-30 23:40:17 +01:00
..
test core: Remove make_module_type, module_printer, module_variable, module_ref. 2020-12-30 21:19:53 +01:00
builtins.c boot-6: Support Guile modules. 2020-12-30 23:40:17 +01:00
cc.c core: Use casting functions. 2020-12-29 18:25:56 +01:00
core.c boot-6: Support Guile modules. 2020-12-30 23:40:17 +01:00
display.c core: Refactor lookup_variable. 2020-12-30 21:19:54 +01:00
eval-apply.c boot-6: Support Guile modules. 2020-12-30 23:40:17 +01:00
gc.c core: Replace special cell_boot_module with initial-module builtin. 2020-12-30 21:19:54 +01:00
hash.c boot-6: Support Guile modules. 2020-12-30 23:40:17 +01:00
lib.c core: Refactor lookup_variable. 2020-12-30 21:19:54 +01:00
m2.c core: Use casting functions. 2020-12-29 18:25:56 +01:00
math.c DRAFT core: Use exceptions instead of asserts. 2020-12-30 21:19:52 +01:00
mes.c core: Remove make_module_type, module_printer, module_variable, module_ref. 2020-12-30 21:19:53 +01:00
module.c boot-6: Support Guile modules. 2020-12-30 23:40:17 +01:00
posix.c core: Add abort. 2020-12-30 21:19:51 +01:00
reader.c core: Prepare for M2-Planet 1.7.0. 2020-12-29 18:25:57 +01:00
stack.c core: Prepare for M2-Planet 1.7.0. 2020-12-29 18:25:57 +01:00
string.c mes: hash: Guile interface compatibility. 2020-12-30 15:38:12 +01:00
struct.c DRAFT core: Use exceptions instead of asserts. 2020-12-30 21:19:52 +01:00
symbol.c core: Replace special cell_boot_module with initial-module builtin. 2020-12-30 21:19:54 +01:00
variable.c boot-6: Support Guile modules. 2020-12-30 23:40:17 +01:00
vector.c core: Prepare for M2-Planet 1.7.0. 2020-12-29 18:25:57 +01:00