1 Syntax is a lexical analysis framework. It supports pluggable syntax
2 modules, and comes with modules for Ruby, XML, and YAML. It means you
3 can use Syntax to take a body of text representing instructions in
4 some syntax (like Ruby), and break that text into tokens. You could
5 conceivably use it to count the number of classes in a system, or the
6 number of lines of code per method. But Syntax was written
7 specifically with syntax highlighting in mind.