Expand description
Tokenizer for PDDL S-expressions.
Converts raw PDDL source text into a flat vector of Tokens, each carrying a
TokenKind and a Span for error reporting.
Token conventions:
:prefix →TokenKind::Keyword(e.g.:requirements,:typing)?prefix →TokenKind::Variable(e.g.?x,?duration);→ line comment (skipped entirely)- All symbols and keywords are lowercased during tokenization.
Structs§
Enums§
- Token
Kind - The kind of a lexed PDDL token.