Documentation ¶
Overview ¶
Package codegen generates Go code for stateful lexers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateLexer ¶
GenerateLexer generates Go code implementing the given stateful lexer.
The generated code should in general by around 10x faster and produce zero garbage per token.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.