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

https://github.com/sanssecours/abnf.tmbundle

šŸ“ TextMate Support for the Augmented Backus–Naur Form
https://github.com/sanssecours/abnf.tmbundle

Last synced: 3 months ago
JSON representation

šŸ“ TextMate Support for the Augmented Backus–Naur Form

Awesome Lists containing this project

README

        

# ABNF Bundle

This [TextMate][] bundle adds support for [Augmented Backus–Naur Form][], a meta-language used to write context free grammars.

[TextMate]: https://github.com/textmate/textmate
[Augmented Backus–Naur Form]: https://en.wikipedia.org/wiki/Augmented_Backus–Naur_Form

# Features

## Syntax Highlighting

The screenshot below shows syntax highlighting for correct ABNF code using the [Rainbow Dash][] theme .

[Rainbow Dash]: http://github.com/sanssecours/Rainbow-Dash.tmbundle

![Syntax Highlighting Correct Code](Documentation/Syntax Highlighting - Correct Code.png)

The included ABNF grammar also catches common mistakes:

![Syntax Highlighting Incorrect Code](Documentation/Syntax Highlighting - Incorrect Code.png)

## Symbol List

To quickly jump to rule definitions use ⌘+⇧+T:

![Symbol List](Documentation/Symbol List.png)

## Code Folding

Use code folding to temporarily hide the content of long rules:

![Folding](Documentation/Folding.png)

# Installation

## Manual

1. Download the latest [release][]
2. Unzip the archive
3. Double-Click on ā€œABNF.tmbundleā€

[release]: http://github.com/sanssecours/ABNF.tmbundle/releases

## Terminal

```sh
mkdir -p "$HOME/Library/Application Support/TextMate/Bundles"
cd "$HOME/Library/Application Support/TextMate/Bundles"
git clone https://github.com/sanssecours/ABNF.tmbundle
```