Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

option to dump trace in structured format #141

Open
rustyrazorblade opened this issue Oct 29, 2016 · 1 comment
Open

option to dump trace in structured format #141

rustyrazorblade opened this issue Oct 29, 2016 · 1 comment
Labels
feature Something not supported that perhaps should be help-wanted

Comments

@rustyrazorblade
Copy link

I love having --features peg/trace, but I found it was difficult to read through, so i've wrapped the output with a little script that handles indenting to make it easier to understand.

Then i started thinking, it would be event better if I visualized the parser output in one of a couple ways - either a collapsable tree or simply through something like graphviz.

To make this process somewhat straightforward, I'd like to add support for dumping the peg trace as structured JSON to a file. Thoughts?

@kevinmehall kevinmehall added the feature Something not supported that perhaps should be label Jan 15, 2017
@kevinmehall
Copy link
Owner

Related: @fasterthanlime's pegviz is simply parsing the existing messages to generate a nice HTML visualization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Something not supported that perhaps should be help-wanted
Projects
None yet
Development

No branches or pull requests

2 participants