Command-line utilities for Real World OCaml
OCaml
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin filter out image tags too Nov 5, 2013
lib port html code highlight to work with latest sources Nov 5, 2013
.gitignore Add OASIS scaffolding Aug 6, 2013
Makefile Add OASIS scaffolding Aug 6, 2013
README.md
_oasis
_tags
configure
myocamlbuild.ml
setup.ml

README.md

These scripts form the compilation pipeline for Real World OCaml. They aren't really designed to be useful outside of the book toolchain, but the plan is to factor out the useful bits eventually.

The following binaries work against the examples repository:

  • rwo-run-toplevel: Runs a toplevel script in a non-interactive toplevel, and outputs the result as HTML and Markdown.
  • rwo-syntax-highlight: Called from the code Makefile to convert a code fragment into HTML and Markdown, either via direct parsing using COW or Pygments.

The following binaries are used by the internal book toolchain to turn it into an O'Reilly PDF and the online website. They're definitely not for external consumption until the full toolchain is published.

  • rwo-html-code-highlight: Substitute code fragments in DocBook XHTML chunked output with the right HTML ones from the code repository.