• Packages
  • Themes
  • Documentation
  • Blog
  • Discussions
Sign in

language-inform7

Inform 7 package for Atom
erkyrath
1.0.2 1,102
2
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Inform 7 language grammar for Atom

  • Created by Andrew Plotkin erkyrath@eblong.com
  • https://github.com/erkyrath/language-inform7
  • https://atom.io/packages/language-inform7

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:

  • Strings with bracketed substitutions
  • Nested comments
  • Section header lines
  • Inform 6 inclusions
  • The documentation section at the end of an extension

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:

  • I7 requires section headers to be set off by blank lines above and below. This grammar does not check that requirement.

Screenshot:

Screenshot

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

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by