language-mscgen
MscGen language support in Atom
mscgenjs 726 0 1.4.1 GPL-3.0 GitHub

MscGen language support

Syntax highlighting & snippets for MscGen and two similar sequence chart languages.

If you're interested in this, another package - mscgen-preview - will definitely make you happy. mscgen-preview includes the language-mscgen highlighting and live-previews the rendered chart.

animated gif demoing syntax highlighting and snippets

Features

  • Contextualized syntax highlighting
  • Inline expression folding
  • Snippets:
    • msc - a skeleton sequence chart appropriate for the language
    • arc - a single arrow arc: a =>> b [label="Message"];
    • ent - an entity: entity [label="Entity"]
    • loop and arc - a loop and an arc template (only available in xù and msgenny)

Supported grammars

The three languages supported by the mscgen_js library and interpreter:

  • MscGen (*.mscgen, *.mscin, *.msc)
    see http://www.mcternan.me.uk/mscgen
  • (*.xu)
    Adds inline expressions like alt and loop to MscGen. See the Xù wiki page for more information.
  • MsGenny (*.msgenny)
    Xù with a simplified syntax. And a little less features. The MsGenny wiki page has more information.

License

GPL-3.0