Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alhadis/language-grammars
Syntax highlighting for ABNF/BNF/EBNF, Yacc, and other language-related languages.
https://github.com/alhadis/language-grammars
abnf backus-naur-form bison bnf ebnf flex grammars lark lark-parser syntax-highlighting yacc
Last synced: 5 days ago
JSON representation
Syntax highlighting for ABNF/BNF/EBNF, Yacc, and other language-related languages.
- Host: GitHub
- URL: https://github.com/alhadis/language-grammars
- Owner: Alhadis
- License: isc
- Created: 2018-09-30T13:52:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-10-27T06:19:29.000Z (about 2 years ago)
- Last Synced: 2024-12-20T18:38:52.597Z (about 1 month ago)
- Topics: abnf, backus-naur-form, bison, bnf, ebnf, flex, grammars, lark, lark-parser, syntax-highlighting, yacc
- Language: CSON
- Homepage: https://atom.io/packages/language-grammars
- Size: 572 KB
- Stars: 20
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
Syntax highlighting for meta-languages
======================================Syntax highlighting for ABNF/BNF/EBNF, Yacc, and other language-related
languages (“metalanguages”). Ignore the other packages on Atom.io, this
is the one you want to install.Supported formats
-----------------
* [Augmented Backus-Naur Form][ABNF]
* [Backus-Naur Form][BNF]
* [Extended Backus-Naur Form][EBNF] ([ISO/IEC 14977][] + extensions)
* [GOLD Parser][GOLD]
* [Grammarkdown][]
* [Labelled Backus-Naur Form][LBNF]
* [Lark][]
* [Lex][] / [Flex][]
* [PEG.js] / [Peggy][]
* [Yacc][] / [Bison][]Includes highlighting for embedded C/C++ source (Yacc/Lex files only).
Previews
--------> ABNF:
![Highlighted `.abnf` file](https://raw.githubusercontent.com/Alhadis/language-grammars/static/previews/abnf.png)> BNF:
![Highlighted `.bnf` file](https://raw.githubusercontent.com/Alhadis/language-grammars/static/previews/bnf.png)> EBNF:
![Highlighted `.ebnf` file](https://raw.githubusercontent.com/Alhadis/language-grammars/static/previews/ebnf.png)> Lark:
![Highlighted `.lark` file](https://raw.githubusercontent.com/Alhadis/language-grammars/static/previews/lark.png)> Lex:
![Highlighted `.lex` file](https://raw.githubusercontent.com/Alhadis/language-grammars/static/previews/lex.png)> Yacc:
![Highlighted `.y` file](https://raw.githubusercontent.com/Alhadis/language-grammars/static/previews/yacc.png)[ABNF]: https://en.wikipedia.org/wiki/Augmented_Backus–Naur_form
[BNF]: https://en.wikipedia.org/wiki/Backus–Naur_form
[EBNF]: https://en.wikipedia.org/wiki/Extended_Backus–Naur_form
[ISO/IEC 14977]: http://www.cl.cam.ac.uk/~mgk25/iso-14977.pdf
[GOLD]: http://goldparser.org/doc/grammars/index.htm
[Grammarkdown]: https://rbuckton.github.io/grammarkdown/
[LBNF]: https://github.com/BNFC/bnfc/blob/master/docs/lbnf.rst
[Lark]: https://lark-parser.readthedocs.io/en/latest/grammar.html
[Lex]: https://en.wikipedia.org/wiki/Lex_(software)
[Flex]: https://en.wikipedia.org/wiki/Flex_(lexical_analyser_generator)
[Yacc]: https://en.wikipedia.org/wiki/Yacc
[Bison]: https://www.gnu.org/software/bison/manual/bison.html
[PEG.js]: https://pegjs.org/
[Peggy]: https://peggyjs.org/