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

integrate a web version of pest_debugger #14

Open
tomtau opened this issue Nov 24, 2022 · 5 comments
Open

integrate a web version of pest_debugger #14

tomtau opened this issue Nov 24, 2022 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@tomtau
Copy link
Contributor

tomtau commented Nov 24, 2022

The pest_debugger core functionality has been extracted to a standalone crate that could be used in frontends other than a command line. It will be cool to have something like regex101 for pest.

@tomtau tomtau added the help wanted Extra attention is needed label Nov 24, 2022
@alexkeizer
Copy link

I'm new to pest, but I'd like to have a look at this and help out!

Could you describe a bit more what the desired end result is? I saw https://pest.rs/#editor, which closely matches what I thought you meant with "regex101 for pest".

@tomtau
Copy link
Contributor Author

tomtau commented Dec 12, 2022

@alexkeizer have you tried the command line version of the pest debugger?

@alexkeizer
Copy link

I just tried it a bit, but most of all I just noticed that regex101 has an actual step-by-step debugger going on (I only knew it for the match highlighting), so now the reference makes a lot more sense.

So, more specifically, you're looking for something like https://regex101.com/debugger for pest, correct?

@tomtau
Copy link
Contributor Author

tomtau commented Dec 12, 2022

Yes, perhaps one more potential way could be tracing in a collapsable HTML tree like in this tool:

https://github.com/fasterthanlime/pegviz

@tomtau
Copy link
Contributor Author

tomtau commented Mar 2, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants