Skip to content

Add wrapper tokens

Compare
Choose a tag to compare
@boxbeam boxbeam released this 03 Jun 00:13
· 3 commits to master since this release

Wrapper tokens are used to allow you to create aliases for tokens. Example:

word ::= [a-z]+
name ::= word

This can be useful when needing to extract multiple tokens of the same type from one statement.