From: Jamis Buck Date: 2005-01-12T06:28:52+09:00 Subject: [ANN] Syntax 0.5.0 Syntax is an experimental Ruby library for syntax highlighting source code. Currently, it supports Ruby, XML, and YAML. Other lexers must be implemented separately (patches would be appreciated!). http://rubyforge.org/projects/syntax The existing lexers in the Syntax library are not very sophisticated. They simply do some semi-intelligent pattern matching. As a result, although they will higlight the majority of code correctly, they can be confused by more complex constructs (like multiple here-documents on a single line, and so forth). Syntax is currently in use in the Hieraki project (http://www.hieraki.org), for syntax highlighting code blocks in books. The user manual of the next release of Net::SSH will also have syntax highlighted code blocks, courtesy of this library. Future versions of this library may take advantage of existing lexers (like that existing Simon Strandgaard's Aeditor project) to do more accurate syntax highlighting. Comments, criticisms, and flames may be sent to jamis_buck@byu.edu. -- Jamis Buck jamis_buck@byu.edu http://www.jamisbuck.org/jamis ------------------------------ "I am Victor of Borge. You will be assimil-nine-ed."