An open API service indexing awesome lists of open source software.

https://github.com/a4-tacks/pegview

Tree visualization of rust-peg trace
https://github.com/a4-tacks/pegview

cli parsing-expression-grammar peg vizualisation

Last synced: 3 months ago
JSON representation

Tree visualization of rust-peg trace

Awesome Lists containing this project

README

          

Tree visualization of [rust-peg] trace

Or use other tools to output the same trace format, such as [peg.jq]

# Example
![example-img](./example.jpg)

[rust-peg]: https://github.com/kevinmehall/rust-peg/
[peg.jq]: https://github.com/A4-Tacks/peg.jq

# Features
- [x] Local trace
- [x] Matched and Failed
- [x] Exclude failed rules
- [x] Zero width matched view
- [x] Full-width tab characters
- [x] Cached trace
- [x] Char index location `1:4` -> `#3`
- [ ] Precedence levels, require kevinmehall/rust-peg/issues/400