scrbl file and longer command name

This commit is contained in:
Blake Johnson 2010-10-30 12:31:00 -06:00 committed by Jay McCarthy
parent 26c7625c79
commit 199a63772a
2 changed files with 16 additions and 1 deletions

View File

@ -8,4 +8,4 @@
("expand" compiler/commands/expand "macro-expand source" #f)
("distribute" compiler/commands/exe-dir "prepare executable(s) in a directory for distribution" #f)
("ctool" compiler/commands/ctool "compile and link C-based extensions" #f)
("demod" compiler/demodularizer/batch "produce a whole program from a single module" #f)))
("demodularize" compiler/demodularizer/batch "produce a whole program from a single module" #f)))

View File

@ -0,0 +1,15 @@
#lang scribble/doc
@(require scribble/manual
scribble/bnf
"common.ss"
(for-label racket/base))
@title[#:tag "demod"]{@exec{raco demod}: Demodularizing Programs}
The @exec{raco demod} command takes a racket module and flattens
all of its dependencies into a single compiled module.
A file @filepath{@nonterm{name}.rkt} is demodularized into
@filepath{@nonterm{name}_rkt_merged.zo}.
The demodularized zo file can be run by passing it as an argument to
the racket command-line program.