Crate pomelo_lex

source ·
Expand description

A basic lexer for SML ’97.

Heavily inspired by rustc_lexer.

Re-exports

pub use token::LexKind;
pub use token::LexToken;

Modules

cursor 🔒
Lexical tokens and their kinds

Structs

LexedStr 🔒

Functions

Convert the input src to a sequence of tokens.