vak: (Default)
[personal profile] vak
Красивые синтаксические диаграммы в стиле Паскаля можно делать утилитой ebnf2ps .

Установка на Ubuntu делается следующим образом.
$ git clone
$ cd Ebnf2ps
$ sudo apt install cabal-install htmldoc-common
$ cabal update
$ cabal install old-time happy
$ cabal build
$ sudo cp dist/build/ebnf2ps/ebnf2ps /usr/local/bin
Для работы утилиты надо установить переменные:
$ export AFMPATH=/usr/share/htmldoc/fonts/
$ export RGBPATH=/usr/share/X11
Документация находится в файле doc.pdf.
Anonymous( )Anonymous This account has disabled anonymous posting.
OpenID( )OpenID You can comment on this post while signed in with an account from many other sites, once you have confirmed your email address. Sign in using OpenID.
Account name:
If you don't have an account you can create one now.
HTML doesn't work in the subject.


If you are unable to use this captcha for any reason, please contact us by email at

Notice: This account is set to log the IP addresses of everyone who comments.
Links will be displayed as unclickable URLs to help prevent spam.