[racket] scribble to stdout

From: Eli Barzilay (eli at barzilay.org)
Date: Sat Sep 21 20:24:36 EDT 2013

5 hours ago, Eduardo Costa wrote:
> I wonder whether I can use scribble as script a scripting
> language, to generate html on the fly. Consider the
> following minipage:
> http://advocacia.me/rkt/pages.r
> Here is the script that generated it:
> [...]

See `scribble/text': http://docs.racket-lang.org/scribble/text.html

> If the author of this minipage could write scripts in scribble, it
> would become something like this:
> [...]

There is also a yet-to-be-documented `scribble/html' which is similar
to the text language above but with bindings for html tags, which is
more fitting for generating arbitrary HTML.  The documentation system
is much more limited in general since it has to generate pages that
conform to a specific layout.

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

Posted on the users mailing list.