b6a44244c197b12263716f0864f3ea2c1d57b451
Parses date, time, priority, project and labels out of one typed line, e.g. "betal moms i morgen kl 10 p1 #Firma @regnskab". Both languages are read at once rather than behind a locale switch, because people mix them mid-sentence. Locale settles only one genuine ambiguity: a bare hour after English "at". Each stage reads a copy of the line with earlier matches blanked out, so no two readings can claim the same characters — without it "kl 10.12" is a time and, to the date parser, also the 10th of December. Matches are returned as byte spans so the input box can highlight what it understood as you type. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Languages
Go
56.9%
Svelte
20.1%
JavaScript
19.7%
HTML
1.7%
Python
0.7%
Other
0.9%