From 199a63772ad1a9d89bc091da4244902ae16dbd9b Mon Sep 17 00:00:00 2001 From: Blake Johnson Date: Sat, 30 Oct 2010 12:31:00 -0600 Subject: [PATCH] scrbl file and longer command name --- collects/compiler/commands/info.rkt | 2 +- collects/scribblings/raco/demod.scrbl | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 collects/scribblings/raco/demod.scrbl diff --git a/collects/compiler/commands/info.rkt b/collects/compiler/commands/info.rkt index 41b92c0eae..d97e168309 100644 --- a/collects/compiler/commands/info.rkt +++ b/collects/compiler/commands/info.rkt @@ -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))) diff --git a/collects/scribblings/raco/demod.scrbl b/collects/scribblings/raco/demod.scrbl new file mode 100644 index 0000000000..a3eb2930b8 --- /dev/null +++ b/collects/scribblings/raco/demod.scrbl @@ -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. \ No newline at end of file