mes/scaffold
Timothy Sample 411910a711 core: Bind all free variables during expansion.
* src/eval-apply.c (expand_variable_): Process internal definitions
as local variables; ensure all free variables are bound (creating
bindings if necessary).
(eval_apply): When evaluating a pair with a binding in its car,
evaluate the binding before dispatching; when evaluating a binding,
raise an error if the location does not have a value.
* src/mes.c (mes_environment): Bind special symbols to themselves.
* mes/module/mes/boot-0.scm (defined?): Make sure the variable
actually has a value.
* mes/module/mes/boot-00.scm (defined?): Likewise.
* mes/module/mes/boot-01.scm (defined?): Likewise.
* mes/module/mes/boot-02.scm (defined?): Likewise.
* mes/module/mes/boot-03.scm (defined?): Likewise.
* scaffold/boot/60-let-syntax-expanded.scm (defined?): Likewise.
2022-04-25 14:19:03 -06:00
..
boot core: Bind all free variables during expansion. 2022-04-25 14:19:03 -06:00
lib/stdlib mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
argv.c kaem: scaffold/argv.kaem. 2020-07-15 22:15:36 +02:00
argv.kaem kaem: scaffold/argv.kaem. 2020-07-15 22:15:36 +02:00
cons-mes.c build: Uniquify config macros. 2019-07-26 18:20:32 +02:00
gc.scm core: Rename the 'current-module' symbol. 2022-04-25 14:19:03 -06:00
global-array.c scaffold: Add global-array.c. 2021-01-09 12:30:59 +01:00
global-array.kaem scaffold: Add global-array.c. 2021-01-09 12:30:59 +01:00
hello.c kaem: scaffold/main.kaem. 2020-07-15 19:25:16 +02:00
hello.kaem kaem: scaffold/hello.kaem. 2020-07-15 21:12:12 +02:00
local-array.c scaffold: Add local-array.c. 2021-01-09 12:33:26 +01:00
local-array.kaem scaffold: Add local-array.c. 2021-01-09 12:33:26 +01:00
local-static-array.c scaffold: Add local-static-array.c. 2021-01-09 12:35:22 +01:00
local-static-array.kaem scaffold: Add local-static-array.c. 2021-01-09 12:35:22 +01:00
main.c kaem: scaffold/main.kaem. 2020-07-15 19:25:16 +02:00
main.kaem kaem: scaffold/main.kaem. 2020-07-15 19:25:16 +02:00
micro-mes.c mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
read.c kaem: scaffold/read.kaem. 2020-07-15 22:27:57 +02:00
read.data test: Build initial scaffold tests without libc. 2018-08-15 17:47:03 +02:00
read.kaem kaem: scaffold/read.kaem. 2020-07-15 22:27:57 +02:00
tiny-mes.c mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00