A janet string formatter using Python or {fmt} style format string syntax.
This library is very much a WIP!
Most of the builtin type formatters are implemented. Some are only partially complete though.
Specifically needed:
- format unicode codepoints with
c
There are some tests, but they aren't very thorough, especially around the actual format macro.
See: docs/usage.md, and the examples/ directory.
One of the main goals of this project is to write as much of the formatter in Janet as possible.
At the momement, there are two C/C++ modules int-ext and dragonbox.
int-extadds a single function to unwrapint/u64values, which isn't available in the stdlib.dragonboxwraps the dragonbox float-to-decimal conversion.
Hopefully these won't be necessary in the future.