Skip to content
Discussion options

You must be logged in to vote

Hey @Pooideae,

The default lexer won't get you very far with this, since the language you're attempting to build needs to encode state during the tokenization phase.

Essentially, you need to start with the free text state, enter the expression state with { and ( and leave it again on [. This is rather non-trivial, but here is a guide that tries to explain this.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Pooideae
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