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

Improved peglint trace format #88

Merged
merged 1 commit into from
Jan 29, 2020
Merged

Improved peglint trace format #88

merged 1 commit into from
Jan 29, 2020

Conversation

yhirose
Copy link
Owner

@yhirose yhirose commented Jan 29, 2020

This pull request supersedes #77.

Does show:

  • Shows if an operator matches or not
  • Choice id of PrioritizedChoice operator
  • Matched string for token operators like LiteralString
  • Enter/Leave indicator
  • Indent line

Doesn't not show:

  • Trace info for grammar parsing
  • Count of matches of uncontrollable operators like ZeroOrMore, OneOrMore, Option

@yhirose yhirose merged commit 748e82d into master Jan 29, 2020
@yhirose yhirose deleted the trace branch February 5, 2020 21:55
@mingodad
Copy link
Contributor

mingodad commented May 2, 2022

Is it possible to add a description of the output for the --trace option ?
For example what is the meaning of o [Identifier] #148 , o Identifier #148, x [Identifier] #148, x Identifier #148, I mean what o / x mean and also what's the difference between [Identifier] and Identifier, ...

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

Successfully merging this pull request may close these issues.

2 participants