Skip to content

Conversation

@ezio-melotti
Copy link
Member

@ezio-melotti ezio-melotti commented Oct 9, 2023

@ezio-melotti ezio-melotti self-assigned this Oct 9, 2023
This will print **a lot** of output to ``stderr`` so is probably better to dump it to a file for further analysis. The output
consists of trace lines with the following structure:
consists of trace lines with the following structure::
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried using peg highlighting but it gets confused by the <...>. The default highlight renders nicely so I left that.

The ``<token_location>`` part indicates the current index in the token array,
the ``<rule_name>`` part indicates what rule is being parsed and
the ``<alternative>`` part indicates what alternative within that rule
is being attempted.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some markup and rewrapped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants