[plt-scheme] Literate Programming

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Mon Jun 29 12:17:42 EDT 2009

I think you need to use #lang scribble/doc in the second file and run
scribble on it.

Robby

On Mon, Jun 29, 2009 at 8:47 AM, Hugh Myers<hsmyers at gmail.com> wrote:
> I've a scheme file chunked up; i.e. all functions are enclosed in
> @chunk[<chunk-name>] wrappers. I've a second file:
>
> #lang scheme
> (require scribble/lp-include)
> (lp-include
>  "repl-2.ss")
>
> When run the second produces:
>
> "\n"
> "\n"
> #<splice>
> "\n"
> "\n"
> "\n"
>
> etc.
>
> What am I doing wrong?
>
> --hsm
> p.s. first file starts with #lang scribble/lp
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>


Posted on the users mailing list.