summarum/src/engine
Horizontal42 e148dad463 fix: move misplaced comment in evaluation engine catch block
Moved the informational comment `// a line without a result beats a dead sheet.` to the correct location in the catch block right above `value = null;`, where it accurately describes why we assign null instead of crashing.
2026-08-14 13:39:04 +03:00
..
datetime.test.ts add isCalendarUnit edge case tests 2026-08-09 15:57:20 +03:00
datetime.ts extract baseUnitId in datetime.ts 2026-08-12 20:07:31 +03:00
edge.test.ts drop ambiguous bare currency aliases shared across countries 2026-08-12 20:04:33 +03:00
engine.test.ts reject duplicate ids in addUnit 2026-08-12 20:04:37 +03:00
evaluator.test.ts add evaluator quantity conversion tests 2026-08-09 15:59:13 +03:00
evaluator.ts share the Decimal PI constant with unitdata.ts 2026-08-12 20:08:28 +03:00
extraunits.ts feat: Summarum — natural language calculator notebook for Windows 2026-06-10 22:19:24 +03:00
formatter.test.ts add formatter tests for formatNumber/formatValue 2026-07-29 14:14:48 +03:00
formatter.ts document why evalRandom/formatFraction use native float 2026-08-12 20:07:02 +03:00
index.ts fix: move misplaced comment in evaluation engine catch block 2026-08-14 13:39:04 +03:00
lexer.test.ts add lexer tests for lexLine 2026-07-29 14:14:48 +03:00
lexer.ts split lexLine's number/date matching into named helpers 2026-07-08 15:48:40 +03:00
parser.test.ts add parser tests for parseLine 2026-07-29 14:14:48 +03:00
parser.ts flatten parser into a Pratt parser 2026-08-09 16:00:19 +03:00
rates-snapshot.json feat: Summarum — natural language calculator notebook for Windows 2026-06-10 22:19:24 +03:00
registry.test.ts add registry tests 2026-08-09 15:57:13 +03:00
registry.ts document PctOp usage 2026-08-09 15:57:30 +03:00
tokenizer.test.ts add tokenizer tests 2026-07-29 14:14:48 +03:00
tokenizer.ts stop '5 min' from losing the minute unit to the min() aggregate 2026-08-12 20:02:58 +03:00
types.ts share the Decimal PI constant with unitdata.ts 2026-08-12 20:08:28 +03:00
unitdata.ts share the Decimal PI constant with unitdata.ts 2026-08-12 20:08:28 +03:00
vocab-data.ts drop ambiguous bare currency aliases shared across countries 2026-08-12 20:04:33 +03:00
vocab.test.ts add engine vocab module tests 2026-08-09 15:57:17 +03:00
vocab.ts feat: Summarum — natural language calculator notebook for Windows 2026-06-10 22:19:24 +03:00