Skip to content

nkh/P6-Grammar-Tracer-Compact

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
t
 
 
 
 
 
 

Grammar::Tracer::Compact

Based on Jonathan's Grammar::Tracer which can be found at https://github.com/jnthn/grammar-debugger.

The only difference is how the how the trace looks like:

  • removed the glyphs
  • removed the colored background
  • color the Grammar element depending on the match succes or failure
  • Inline the matched string with the Grammar element on success
  • make the output almost half the vertical size

About

A grammar tracer with compact output

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%