mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 04:10:18 +02:00
* module/language/scheme/translate.scm (translate): Adapt to lambda having a `meta' slot now. (primitive-syntax-table, parse-lambda-meta): Parse out a docstring from lambda forms, putting in the <ghil-lambda>'s meta slot. * module/system/il/compile.scm (optimize, codegen): Passthrough for the `meta' slot to the <glil-asm> object. * module/system/il/ghil.scm (<ghil-lambda>): Add meta slot. * module/system/il/glil.scm (<glil-asm>): Add meta slot. (unparse): Unparse meta. * module/system/vm/assemble.scm (preprocess): Pass through the meta slot. (codegen): So, set the bytespec's meta slot as a list: bindings, source info, then the tail is the meta-info, which should be an alist. Currently the only defined key is `documentation', but `name' could come in the future. * module/system/vm/core.scm (program-sources): Sources are now in the cadr... (program-property): And here we have access to the cddr. |
||
---|---|---|
.. | ||
.cvsignore | ||
Makefile.am | ||
spec.scm | ||
translate.scm |