Enhance parser and add a few functions, fix hex parsing #4

Merged
dominic merged 1 commits from fix-parser into master 2026-04-26 17:42:52 +00:00
Owner
  1. Unify all numbers under double type
    A bit lazy, but is easily maintainable. Precision is enough for most use cases.

  2. Add more functions
    Add num, parselit, str.

  3. Fix hex parser error
    Previously the "0x" was greedy and matches single zeros, which then raised a parsing error because it couldn't match a hex number.

1. Unify all numbers under double type A bit lazy, but is easily maintainable. Precision is enough for most use cases. 2. Add more functions Add `num`, `parselit`, `str`. 3. Fix hex parser error Previously the "0x" was greedy and matches single zeros, which then raised a parsing error because it couldn't match a hex number.
dominic added 1 commit 2026-04-26 17:42:24 +00:00
dominic merged commit 4629002ef0 into master 2026-04-26 17:42:52 +00:00
dominic deleted branch fix-parser 2026-04-26 17:42:52 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dominic/xn#4
No description provided.