Jeff Kowalczyk
2007-04-14 23:45:50 UTC
(imminent) updated 1.1 YAML spec containing the updated productions.
As the executable spec update gets finalized, would it be possible to emitproductions in a form that would make a YAML lexer for Pygments easy,
perhaps trivial to implement?
http://pygments.org/docs/lexerdevelopment/
YAML support in Pygments would be of relatively high value to YAML, since
it is the default syntax highlighter in the next version of the popular
Project/SCM package Trac.
Sidebar: would Pygments RegexLexer be sufficient to lex YAML syntax?
Without much parser knowledge, from this list's discussions I've come to
expect that a coloring YAML lexer might not need the indentation
state/context as would be required by YAML parser.
Thanks.