https://github.com/nkh/p6-grammar-tracer-compact
A grammar tracer with compact output
https://github.com/nkh/p6-grammar-tracer-compact
Last synced: 6 months ago
JSON representation
A grammar tracer with compact output
- Host: GitHub
- URL: https://github.com/nkh/p6-grammar-tracer-compact
- Owner: nkh
- Created: 2017-04-27T06:14:54.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2025-09-17T07:31:00.000Z (10 months ago)
- Last Synced: 2025-09-17T09:29:22.050Z (10 months ago)
- Language: Raku
- Size: 1.95 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# 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