Module

lexie/generate_token

src/lexie/generate_token.pooka

The words of your language, as a family of classes.

Generates token.pooka: the Token family, one class per token, and Lexeme, a token with its span.

API reference

function

source

src/lexie/generate_token.pooka:16
source(c: Config) -> String
INFERREDfn(lexie/config.Config) -> String

The source of token.pooka for a specification.

function

section

src/lexie/generate_token.pooka:53
section(kind: token.Kind) -> String
INFERREDfn(lexie/token.Kind) -> String

The heading a token appears under.