Re: Pygments YAML Lexer (from Spec Update) (repost 2)

Kirill Simonov <[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <[email protected]>
Hi Jeff,

Here is my attempt to write a YAML lexer for Pygments.  It's hardly
tested, so expect bugs.  I was also unable to choose suitable token
types from the existing tokens provided by the package, so I had to
create YAML-specific tokens.

The lexer file as well as a yaml file I've used for tests are here:
http://svn.pyyaml.org/pyyaml/trunk/examples/pygments-lexer/

Thanks,
Kirill


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.