Skip to content
New issue

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

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

Already on GitHub? # to your account

Ability to show syntax tree in the playground #362

Open
torhovland opened this issue Mar 17, 2023 · 1 comment
Open

Ability to show syntax tree in the playground #362

torhovland opened this issue Mar 17, 2023 · 1 comment
Labels

Comments

@torhovland
Copy link
Member

Is your feature request related to a problem? Please describe.
It should be able to turn on display of parsed syntax tree in the playground. Maybe even a GraphViz figure!

Describe the solution you'd like
A checkbox for enabling syntax tree output.

Describe alternatives you've considered
The alternative is to not do this.

Additional context
See https://ormolu-live.tweag.io and https://tree-sitter.github.io/tree-sitter/playground for inspiration.

@torhovland torhovland added good first issue Good for newcomers P3 minor: not priorized type: feature request labels Mar 17, 2023
@Xophmeister
Copy link
Member

An addendum to this would be to highlight matches of a particular query, either in the code, the visualisation, or both. Maybe that's worth a separate issue, as it would go a long way towards creating a powerful debugging tool...

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants