Skip to content

Defining custom tokens in parser options #312

Answered by Mingun
gamesaucer asked this question in Q&A
Discussion options

You must be logged in to vote

If you don't known which characters are not allowed in the your tokens, the only possible approach is to check match after parsing each character. Probably, it would be better to generate a concrete grammar instead to trying to write the generic one.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@gamesaucer
Comment options

Answer selected by gamesaucer
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
3 participants