1. Georg Brandl
  2. pygments-main
  3. Pull requests

Pull requests

#125 Merged
Repository
tomstuart
Branch
default
Repository
birkenfeld
Branch
default

Add Treetop lexer

Author
  1. Tom Stuart
Reviewers
Description

This is a first pass at a lexer for the grammar syntax used by the Ruby Treetop PEG library. It does a good job on every Treetop file I’ve tried, including Treetop’s own metagrammar, which Treetop’s author gave me permission to include as a test case.

Comments (0)