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

feature: added a pest_debugger crate (fixes #98) #736

Merged
merged 2 commits into from
Nov 24, 2022

Commits on Nov 20, 2022

  1. feature: added a pest_debugger crate (fixes pest-parser#98)

    based on the old PR by @dragostis: pest-parser#277
    
    Changes that were made:
    - debugger core context was refactored and extracted to a lib (so that
    it could be used in other frontends, e.g. editor plugins)
    - CLI was extended using rustyline helpers to provide file completions,
    history etc.
    - applied suggestions from @hansihe from the old PR
    (pest-parser#277 (comment)):
    1. added `ba` (add breakpoints at all rules) which is useful
    for stepping through the entire grammar, plus breakpoint deletions
    and loading input directly from readline;
    2. added command line arguments.
    - changed the listener function to return a boolean, so that
    the debugger can signal back to a parsing thread to finish
    before reaching its input's EOF.
    
    Co-authored-by: Dragoș Tiselice <dragostiselice@gmail.com>
    Tomas Tauber and dragostis committed Nov 20, 2022
    Configuration menu
    Copy the full SHA
    c5946c3 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2022

  1. Configuration menu
    Copy the full SHA
    d383917 View commit details
    Browse the repository at this point in the history