Home

Awesome

Inform 7 language grammar for Atom

This package permits syntax coloring of Inform 7 source code in the Atom editor (and compatible syntax colorers).

This started as a fork of Robert Clarke's Inform grammar. It's turned into a total rewrite, however. I've renamed it to include the "7" (since Inform 6 is a different language) and added "7" to all the syntax classes.

This correctly colors:

I do not try to color all of Inform 6 syntax. (There's a standard algorithm for this, but it's not regexp-based and I never liked it anyhow.) I just color I6 strings, dict words, and comments within I6 inclusions.

Known bugs:

Screenshot:

Screenshot

For more sample Inform 7 code, see the Linguist I7 samples or the friends of I7 repo.