chunks are translated to subsections -- not working right yet, but save a checkpoint
svn: r13651
This commit is contained in:
parent
7a0b6c9433
commit
3467bf2ce6
|
@ -10,11 +10,12 @@
|
|||
|
||||
;; define `chunk' as a macro that typesets the code
|
||||
(define-syntax-rule (chunk name expr ...)
|
||||
(make-splice (list (emph (scheme name) " ::=")
|
||||
(make-splice (list (subsection #:tag (format "~a" 'name)
|
||||
(scheme name))
|
||||
(schemeblock expr ...))))
|
||||
|
||||
;; HACK: provide a fake `module', which makes it possible to include a module
|
||||
;; and get only its code in.
|
||||
(provide module)
|
||||
(define-syntax module
|
||||
(syntax-rules () [(module name base body ...) (begin body ...)]))
|
||||
(define-syntax-rule (module name base body ...)
|
||||
(begin body ...))
|
||||
|
|
Loading…
Reference in New Issue
Block a user