Grammar Definition for the snarXiv
The file snarxiv.gram contains a context-free
grammar that
produces randomly generated titles and abstracts for high energy
theoretical physics papers. See
- http://snarxiv.org/
- http://snarxiv.org/vs-arxiv/
- http://davidsd.org/2010/03/the-snarxiv/
- http://davidsd.org/2010/09/the-arxiv-according-to-arxiv-vs-snarxiv/
compile-grammar is a perl script that compiles a .gram file into
OCaml code, which can be compiled into an
executable and run. Type make to run both compilation steps.
thm.gram is the grammar for the theorem
generator (originally authored by Matt
Gline). When compiled and run, it produces LaTeX code which can be
typeset by LaTeX, provided thmheader.tex is included at the top of
the file. Requires Paul Taylor's Diagrams
package.