This commit is contained in:
Andrew Pimenov 2026-10-07 06:57:02 +03:00 • committed by GitHub
commit 531d3071d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,9 @@
// Phrase registry: maps every phrase the engine understands (units,
// currencies, word-operators, functions, scales, date words) to a payload
// for the tokenizer. Longest phrase wins; case-sensitive entries (symbols
// like "m"/"M", "kB") are tried before the case-insensitive ones.
/**
* Phrase registry: maps every phrase the engine understands (units,
* currencies, word-operators, functions, scales, date words) to a payload
* for the tokenizer. Longest phrase wins; case-sensitive entries (symbols
* like "m"/"M", "kB") are tried before the case-insensitive ones.
*/
import { Decimal, Dimension, NumeralRepr, Unit, Value } from "./types";
import { Lex, lexLine } from "./lexer";
import * as vocab from "./vocab";