Closed MasseGuillaume closed 8 years ago
Hi Guillaume,
railroad diagram package relies on scope names, which are produced by grammars, so there should be some grammar for highlighting cson grammars. You might be interested in another package I have written, which lets you produce cson grammars from coffee-script, where you have the diagrams:
https://www.npmjs.org/package/atom-syntax-tools
Best Regards, Kiwi
I'm fixing the scala grammar, similar to #16 a regex is enclosed by strings.
'match': "(@(?:tparam|throws))\\s+(\\S)(\\s+)"
vs'match': /(@(?:tparam|throws))\\s+(\\S)(\\s+)/
it's based on oniguruma (http://www.geocities.jp/kosako3/oniguruma/doc/RE.txt)