This commit is contained in:
Andrew Pimenov 2026-10-07 06:56:07 +03:00 • committed by GitHub
commit d2757702ef
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 * Phrase registry: maps every phrase the engine understands (units,
// for the tokenizer. Longest phrase wins; case-sensitive entries (symbols * currencies, word-operators, functions, scales, date words) to a payload
// like "m"/"M", "kB") are tried before the case-insensitive ones. * 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 { Decimal, Dimension, NumeralRepr, Unit, Value } from "./types";
import { Lex, lexLine } from "./lexer"; import { Lex, lexLine } from "./lexer";
import * as vocab from "./vocab"; import * as vocab from "./vocab";