A grammar tracer with compact output
Perl6
Switch branches/tags
Nothing to show
Latest commit 9f96614 Apr 27, 2017 @nkh FIXED: use right module
Permalink
Failed to load latest commit information.
lib/Grammar/Tracer Initial commit Apr 27, 2017
t FIXED: use right module Apr 27, 2017
.gitignore UPDATED: license Apr 27, 2017
META6.json UPDATED: license Apr 27, 2017
README.markdown Initial commit Apr 27, 2017

README.markdown

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