Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rhysforyou/bnf.tmbundle

Support for Backus-Naur Form syntax grammars in TextMate
https://github.com/rhysforyou/bnf.tmbundle

Last synced: 5 days ago
JSON representation

Support for Backus-Naur Form syntax grammars in TextMate

Awesome Lists containing this project

README

        

# BNF.tmbundle

This bundle adds support for [Backus-Naur Form](http://en.wikipedia.org/wiki/Backus–Naur_Form) syntax grammars. It also adds a few handy snippets for writing out syntax rules.

BNF serves as a formal specification of a language's syntax that tools such as [CoreParse][] can use to construct parsers.

![Highlighted BNF Syntax](http://f.cl.ly/items/1m1n2i1H2z3u2i280n32/Screen%20Shot%202014-02-19%20at%205.35.19%20pm.png)

[CoreParse]: https://github.com/beelsebob/CoreParse

## Installing

### TextMate 2

1. Create a directory for user bundles if one doesn't already exist

mkdir -p ~/Library/Application\ Support/Avian/Bundles

2. Change into that directory

cd ~/Library/Application\ Support/Avian/Bundles

3. Clone thie repository into your bundle directory

git clone https://github.com/rpowelll/BNF.tmbundle.git "BNF.tmbundle"

4. Restart TextMate to reload your bundles

## Credits

[Rhys Powell (rpowelll)](https://github.com/rpowelll) - creator and current maintainer