Skip to content
Discussion options

You must be logged in to vote

It seems the only way to match anything is to create a parser rule any

Yes, I don't think there's another way. Can you explain why you need such a thing?

all token types except TOKEN1

Lark doesn't support it. Unless you enumerate every token except the ones you want to omit.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kaby76
Comment options

@erezsh
Comment options

Answer selected by kaby76
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