diff options
author | Andy Wingo <wingo@pobox.com> | 2008-08-03 14:33:02 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2008-08-03 14:33:02 +0200 |
commit | fbde2b915bfe4139b75e71c4ad5fd701b2558d8f (patch) | |
tree | 9a3bb60815d101e454138a56c72743c3c93536eb /src | |
parent | 96969dc1d645db882768da14f47ce8a4fc699f08 (diff) | |
download | guile-fbde2b915bfe4139b75e71c4ad5fd701b2558d8f.tar.gz |
Add docstring support
* 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.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions