Ebnf2ps alternatives and similar packages
Based on the "Language" category.
Alternatively, view Ebnf2ps alternatives based on common mentions on social networks and blogs.
-
elm-compiler
Compiler for Elm, a functional language for reliable webapps. -
stylish-haskell
Haskell code prettifier [Moved to: https://github.com/haskell/stylish-haskell] -
haskell-src-exts
Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer -
language-python
A parser for Python 2.x and 3.x written in Haskell -
nirum
Nirum: IDL compiler and RPC/distributed object framework for microservices -
tal
An implementation of Typed Assembly Language (Morrisett, Walker, Crary, Glew) -
language-c-quote
C/CUDA/OpenCL/Objective-C quasiquoting library. -
language-ecmascript
Haskell library: ECMAScript parser, pretty-printer and additional tools -
aterm-utils
Utility functions for working with aterms as generated by Minitermite -
ministg
Ministg is an interpreter for a high-level, small-step, operational semantics for the STG machine. -
purescript-tsd-gen
TypeScript Declaration File (.d.ts) generator for PureScript
WorkOS - The modern identity platform for B2B SaaS
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Ebnf2ps or a related project?
README
Ebnf2ps
Ebnf2ps generates nice looking syntax diagrams in EPS and FIG format from EBNF specifications and from yacc, bison, and Happy input grammars. The diagrams can be immediatedly included in TeX/LaTeX documents and in texts created with other popular document preparation systems.
Usage
The latest version of the manual is available in doc.pdf
.
Two environment variables may need to be set:
- Find out where your
TeX
installation stores.afm
-files (Adobe font metric files). Then set the environment variableAFMPATH
when running the program. The.afm
-files are absolutely necessary. If you don't find them complain to your system administrator or get them yourself. One possible source is here. - Set the environment variable
RGBPATH
to contain the directory where your X installation stores its color data base (usually/usr/lib/X11
). There are fallback color definitions for the 8 digital colors (black, white, blue, green, cyan, red, magenta, yellow), so nothing needs be done if that's enough for you.
Note: for Mac OS X, the default /opt/X11/share/X11
has been
provided and will work automatically, if you have installed X using
XQuartz.
Notes
With Peter Thiemann's permission, I am now maintaining this package, starting with version 1.0.12.
I first used this software in 1995 (!), so it was a nostalgia trip finding it again in 2014 and reviving it. PostScript is no longer in fashion, but one can still use this tool and then convert PostScript to PDF.