Microsoft has a monaco highlighting repo at https://github.com/Microsoft/monaco-languages. The ILanguage structure exported by each highlighter appears highly homologous to madoko's syntax definitions. Perhaps someone can write a script to assiminate highlighting rules from Monaco?
Yeah, they are the same thing. ILanguage is monaco.languages.IMonarchLanguage, and we all know what Monarch is. The comments are arranged a bit differently, and the names are in a "contrib" file. Since the whole thing is open sourced under VSCode now, someone can probably come in and turn the Monarch blob into a more proper npm dependency while switching to the new highlighters...
Microsoft has a monaco highlighting repo at https://github.com/Microsoft/monaco-languages. The
ILanguage
structure exported by each highlighter appears highly homologous to madoko's syntax definitions. Perhaps someone can write a script to assiminate highlighting rules from Monaco?Yeah, they are the same thing.
ILanguage
ismonaco.languages.IMonarchLanguage
, and we all know what Monarch is. The comments are arranged a bit differently, and the names are in a "contrib" file. Since the whole thing is open sourced under VSCode now, someone can probably come in and turn the Monarch blob into a more proper npm dependency while switching to the new highlighters...