Skip to content

Why does it say ERROR? What am I doing wrong? | Writing my own parser #3105

Closed Answered by WillLillis
Samvid95 asked this question in Q&A
Discussion options

You must be logged in to vote

I didn't get any errors when trying to parse the test the sample input with your grammar. Here's a screenshot:

Is it possible you didn't use the tree-sitter generate command to regenerate the grammar after some changes were made to your grammar.js?

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Samvid95
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants