| docs | ||
| examples | ||
| LICENSE | ||
| README.md | ||
Eigen Syntax Notation (EGSN)
Yes, yes I know, yet another one. But whatever. This is mine.
Rationale
I wanted a formal context-free grammar notation system that I like. EGSN is inspired by the grammar notation system from the W3 XML specification which has a regex-like syntax.
Other systems like ISO-14977:1996 EBNF contains faults such as using a explicit
graphic concatenation operator (, in this case) which clutters the definition given that it is such a common
operation. Or not providing a mechanism to explicitly state a codepoint, thus having to rely on writing the codepoint
verbatim.
The grammar of EGSN itself is designed to be easy to parse by machines and easy to read by humans. Thus, EGSN can —in addition to be used as a grammar formalism— be used as a DSL for parser generators, or for EGSN linting tools.
Herewith, this is my humble contribution to the dumpsterfire of incompatible grammar definition systems.
Documentation
docs/ contain relevant documentation, including the reference.
License
Documentation and code are released under the BSD 3-clause License, see LICENSE.