2 Commits

Author SHA1 Message Date
4629002ef0 Enhance parser and add a few functions, fix hex parsing (#4)
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.

Reviewed-on: #4
2026-04-26 17:42:51 +00:00
2bbf339466 Rename to XN, restructure repository 2026-04-25 21:14:19 +02:00