Coder Social home page Coder Social logo

Comments (5)

alexkeizer avatar alexkeizer commented on September 27, 2024

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".

from site.

tomtau avatar tomtau commented on September 27, 2024

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

from site.

alexkeizer avatar alexkeizer commented on September 27, 2024

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?

from site.

tomtau avatar tomtau commented on September 27, 2024

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

https://github.com/fasterthanlime/pegviz

from site.

tomtau avatar tomtau commented on September 27, 2024

this may be perhaps useful: https://tabatkins.github.io/railroad-diagrams/
pest-parser/pest#803
pest-parser/pest#807

from site.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.