scrbl file and longer command name
This commit is contained in:
parent
26c7625c79
commit
199a63772a
|
@ -8,4 +8,4 @@
|
||||||
("expand" compiler/commands/expand "macro-expand source" #f)
|
("expand" compiler/commands/expand "macro-expand source" #f)
|
||||||
("distribute" compiler/commands/exe-dir "prepare executable(s) in a directory for distribution" #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)
|
("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)))
|
||||||
|
|
15
collects/scribblings/raco/demod.scrbl
Normal file
15
collects/scribblings/raco/demod.scrbl
Normal 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.
|
Loading…
Reference in New Issue
Block a user