tera
tera copied to clipboard
Added the dbg and format filters
- Added the
dbgfilter which prints the passed value to stdout (similar to thedbg!()macro) - Added the
formatfilter, which offers various integer formatting routines such as:xand:X
Closes #474
If you can split dbg from format yes
What is your opinion on including the formatting as a parameter to the as_str builtin?
Also, it seems like only formatting a single value is supported, hence using a name (e.g. "hex", "Octal") instead of a format string (like ":x", ":O") might be the easier to understand interface.