mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
* libguile/eval.c (scm_primitive_eval, scm_c_primitive_eval): (scm_init_eval): Rework so that scm_primitive_eval always calls out to the primitive-eval variable. The previous definition is the default value, which is probably overridden by scm_init_eval_in_scheme. * libguile/init.c (scm_i_init_guile): Move ports and load-path up, so we can debug when initing eval. Call scm_init_eval_in_scheme. Awesome. * libguile/load.h: * libguile/load.c (scm_init_eval_in_scheme): New procedure, loads up ice-9/eval.scm to replace the primitive-eval definition, if everything is there and up-to-date. * libguile/modules.c (scm_module_transformer): Export to Scheme, so it's there for eval.go. * module/ice-9/boot-9.scm: No need to define module-transformer. * module/ice-9/eval.scm (capture-env): Only reference the-root-module if modules are booted. (primitive-eval): Inline a definition for identity. Throw a more standard error for "wrong number of arguments". * module/ice-9/psyntax.scm (chi-install-global): The macro binding for a syncase macro is now a pair: the transformer, and the module that was current when the transformer was installed. The latter is used for hygiene purposes, replacing the use of procedure-module, which didn't work with the interpreter's shared-code closures. (chi-macro): Adapt for the binding being a pair, and get the hygiene from the cdr. (eval-local-transformer): Adapt to new form of macro bindings. * module/ice-9/psyntax-pp.scm: Regenerated. * .gitignore: Ignore eval.go.stamp. * module/Makefile.am: Reorder for fastest serial compilation, now that there are no ordering constraints. I did a number of experiments here and this seems to be the best; but the bulk of the time is compiling psyntax-pp.scm with eval.scm. Not so great. * libguile/vm-engine.c (vm-engine): Throw a more standard error for "wrong type to apply". * test-suite/tests/gc.test ("gc"): Remove a hack that shouldn't affect the new evaluator, and throw in another (gc) for good measure. * test-suite/tests/goops.test ("defining classes"): * test-suite/tests/hooks.test (proc1): We can't currently check what the arity is of a closure made by eval.scm -- or more accurately all closures have 0 required args and no rest args. So punt for now. * test-suite/tests/syntax.test ("letrec"): The scheme evaluator can't check that a variable is unbound, currently; perhaps the full "fixing letrec" expansion could fix this. But barring that, punt.
121 lines
1.4 KiB
Text
121 lines
1.4 KiB
Text
*.o
|
|
*.info
|
|
*.info-[0-9]*
|
|
version.texi
|
|
Makefile
|
|
Makefile.in
|
|
.deps
|
|
.libs
|
|
autom4te.cache
|
|
config.sub
|
|
config.guess
|
|
config.status
|
|
config.log
|
|
config.h
|
|
*.doc
|
|
*.x
|
|
*.lo
|
|
*.la
|
|
aclocal.m4
|
|
libtool
|
|
ltmain.sh
|
|
configure
|
|
depcomp
|
|
elisp-comp
|
|
missing
|
|
mdate-sh
|
|
install-sh
|
|
texinfo.tex
|
|
*~
|
|
,*
|
|
BUGS
|
|
Makefile
|
|
Makefile.in
|
|
aclocal.m4
|
|
autom4te.cache
|
|
benchmark-guile
|
|
check-guile
|
|
check-guile.log
|
|
build-aux/compile
|
|
confdefs.h
|
|
config.build-subdirs
|
|
config.cache
|
|
config.guess
|
|
config.h
|
|
config.h.in
|
|
config.log
|
|
config.status
|
|
config.sub
|
|
configure
|
|
conftest
|
|
conftest.c
|
|
depcomp
|
|
elisp-comp
|
|
guile-*.tar.gz
|
|
install-sh
|
|
libtool
|
|
ltconfig
|
|
ltmain.sh
|
|
mdate-sh
|
|
missing
|
|
mkinstalldirs
|
|
pre-inst-guile
|
|
pre-inst-guile-env
|
|
stamp-h1
|
|
guile-procedures.txt
|
|
guile-config/guile-config
|
|
*.go
|
|
TAGS
|
|
/meta/guile-2.0.pc
|
|
/meta/guile-2.0-uninstalled.pc
|
|
gdb-pre-inst-guile
|
|
cscope.out
|
|
cscope.files
|
|
*.log
|
|
gds-test.debug
|
|
gds-test.transcript
|
|
INSTALL
|
|
*.aux
|
|
*.cp
|
|
*.cps
|
|
*.dvi
|
|
*.fn
|
|
*.fns
|
|
*.ky
|
|
*.pg
|
|
*.toc
|
|
*.tp
|
|
*.vr
|
|
*.tps
|
|
*.vrs
|
|
*.pgs
|
|
*.rn
|
|
*.rns
|
|
/meta/gdb-uninstalled-guile
|
|
/meta/guile
|
|
/meta/uninstalled-env
|
|
/examples/box-module/box
|
|
/examples/box/box
|
|
/lib/alloca.h
|
|
/lib/charset.alias
|
|
/lib/configmake.h
|
|
/lib/ref-add.sed
|
|
/lib/ref-del.sed
|
|
/lib/stdlib.h
|
|
/lib/string.h
|
|
/lib/strings.h
|
|
/lib/sys/file.h
|
|
/lib/time.h
|
|
/lib/unistd.h
|
|
/lib/unistr/.dirstamp
|
|
/lib/arpa/inet.h
|
|
/lib/stdio.h
|
|
/lib/sys/stat.h
|
|
/GPATH
|
|
/GRTAGS
|
|
/GSYMS
|
|
/GTAGS
|
|
/meta/guile-tools
|
|
/meta/guile-config
|
|
/lib/locale.h
|
|
/module/ice-9/eval.go.stamp
|