Skip to content
This repository has been archived by the owner on Jul 26, 2020. It is now read-only.

Ragel language support in Atom

License

Notifications You must be signed in to change notification settings

jaynetics/atom-language-ragel

Repository files navigation

[UNMAINTAINED] Ragel language support in Atom

This package adds syntax highlighting and snippets to Ragel files in the Atom text editor.

Install

Install the package language-ragel in Atom (Preferences -> Packages) or using Atom's package manager:

$ apm install language-ragel

Use

The package has no way of knowing what your host language is, so you must help it in one of the following ways:

either
a) Manually choose the correct grammar. Press Ctrl-Shift-L and select Ragel in <your host language>.

or
b) Use the file extension of your host language as infix. E.g. name your file my_machine.rb.rl instead of my_machine.rl for Ruby.

Snip

List of available snippets

Contribute

If you want to change the grammar, edit the template file grammar.cson and run generate.rb. Don't edit the files for individual host languages directly.

Credits

The package is partially based on this Ragel grammar for TextMate.

About

Ragel language support in Atom

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages