package obelisk
Build not yet checkedInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=2dd4cc9e67d31aa76f478f348041f1fc54545750b9995e171465991617db6aa3
sha512=29d83bf8b7d9242424e1d3d707f4bad605e2b990788de9db22e3d99ccc047f6ce7fe514339339c63f5e15c7f22f5423a96f66291f3dbe30716c23c73d54b69ae
doc/CHANGES.html
v0.9.1 - 2026-12-01
- fix the test suite on Windows
v0.9.0 - 2026-12-01
- join multiple files the way Menhir does: the definitions of a
%publicrule spread over several files are merged, and a private rule also defined in another file is renamed after its file - add a
-width <n>option in default and EBNF modes to set the line width (80 by default,0disables wrapping) (#19) - better line wrapping in default and EBNF modes: avoid breaking lines inside parenthesized or bracketed groups
- support
%mergefunctions - support attributes wherever Menhir accepts them
- support multi-line token aliases and sync the parsing of aliases with Menhir
- support standard library rules within anonymous rules
- fix the lexing of character literals and of special characters in attributes
- report lexing errors with positions, following the OCaml/Menhir conventions
- LaTeX: switch the
-tabularmode fromtabutotabularray - LaTeX: the grammar environment name now uses the
-prefix - LaTeX: compiling stops with an error naming the already defined command when a generated command clashes with an existing one
- LaTeX: fix escaping, the renaming of commands starting with
end, the redefinition ofor-syminsimplebnfmode, and a bug insyntaxmode - HTML: escape special characters
- EBNF: fix name collisions in the specialization of parameterized rules, and reject LaTeX options
- fix parenthesizing in sequences and parameter shadowing in parameterized rules; token aliases always take priority
- require OCaml ≥ 4.14 and Dune ≥ 3.13
- drop the
redependency - development: Nix flake,
ocamlformat, golden tests, and updated CI (including lower bounds of dependencies)
v0.8.1 - 2025-03-24
- support attributes in semantic actions to comply with Menhir v20231231 (#15)
v0.8.0 - 2025-03-08
- add lower bound for Menhir version
- update LaTeX backends
- add a new LaTeX mode using
simplebnf - remove
suffixdependency in favor ofxparse
v0.7.0 - 2024-07-03
- support for EBNF output (#14)
- rewriting of the printers
- switch to Github Actions for CI
v0.6.0 - 2021-02-09
This version adds support for the Menhir standard rules endrule, midrule, rev, flatten and append.
v0.5.2 - 2020-05-30
This patch fixes a mismatch in version number.
v0.5.1 - 2020-05-30
This patch fixes #10 (noempty_list was not recognized) and #12, thanks to the contribution of @zapashcanon (add a switch to disable the use of CSS content properties in HTML mode, to make e.g., content copy-pastable).
v0.5.0 - 2020-04-28
This version implements several important changes:
- drop
ocamlbuildin favor ofdune - drop API-doc style documentation (irrelevant)
- fix break hints after epsilons
- use
\litcommand for literals insyntaxmode - change the name of the grammar environment to
obeliskgrammarin LaTeX modes - use
relibrary instead ofstr - add support for token aliases, with a dedicated option
-noaliases - add support for the new syntax of Menhir rules (fixes issue #9)
- fix some lexing and parsing bugs (in particular with Ocaml code and strings in prologue and semantic actions) thanks to the added test benches of Menhir
v0.4.0 - 2019-03-01
This version fixes issue #8, corrects some parentheses related additional bugs and uses the new OPAM 2.0 format.
v0.3.2 - 2018-04-25
This patch is a minor fix to 0.3.1: tests in LaTeX mode are now conditionally guarded on the presence of `pdflatex`` in the PATH.
v0.3.1 - 2018-04-23
This patch fixes #7: in LaTeX mode, if no prefix is specified throug -prefix option, end-beginning commands are automatically prefixed with zzz.
v0.3.0 - 2017-08-17
This release fixes #4, #5 and #6. See #2 (comments).
- in LaTeX modes, macros are now generated for terminals, non-terminals and functionals ;
- those macros are now defined using the generated generic macros for each class of syntactic construction ;
longtabureplacestabuin tabular mode.
Also functionals are now surrounded by < and > in all output formats.
v0.2.0 - 2017-07-21
This release fixes #2:
- the option
-packagein LaTeX mode allows the user to specify an additional output file (.sty) to gather the created macros ; - all created macros in LaTeX mode can be prefixed with a prefix specified with the option
-prefix.
v0.1.1 - 2017-07-06
Remove remaining unneeded Roman parts.
v0.1.0 - 2017-07-06
First release.