This makes it so that the TokenStream and all it's associated Token types use a generic when dealing with the variant of the Token. Span was also given the ability to merge with another span. This will make it easier to track the span as users group TokenTypes together to make their domain specific types. All tests and examples were updated for this change. The version was incremented to 0.2.0.
166 B
166 B
Example File
This is an example file for Rune.
Rune
The name Rune is inspired by arcane glyphs — ancient symbols holding deep meaning. Just like your tokens!