mach.d
mach.d copied to clipboard
Library for the D programming language.
This template currently produces "unreachable code" warnings. Unfortunately, this problem is caused by a long-standing dmd issue with no clear workaround: https://issues.dlang.org/show_bug.cgi?id=14835
Currently they will only ever write UTF8. Functions in `mach.text.numeric` which return strings should accept a template argument telling them what kind of character string to produce.
The current implementation relies on this recursive function; however it seems likely that it should be possible to compute without recursion, or at least with less of it: ``` D...
The `mach.json` package currently uses the old markdown documentation generator; the documentation should be moved out of `mach/json/readme.md` and into e.g. `mach/json/json.d` and `mach/json/package.d` and the package directory should be...
An xml parser & writer would be useful to have. Maybe port std.experimental.xml?
Really need to make sure this isn't breaking immutable data, and that it isn't stripping qualifiers it shouldn't be. (I'm pretty sure it is right now.)
Phobos provides a function which behaves very much like zip, except it works upon a range of ranges instead of a tuple of ranges. mach should have that, too. https://dlang.org/phobos/std_range.html#.transposed
The `Escaper` type should be able to handle writing code points as `\uXXXX\uXXXX` surrogate pairs when `\xXX` and `\UXXXXXXXX` are not available; it currently will just fail to write the...
Right now the implementation of Burger's algorithm used to serialize floats only accepts doubles. To make it also accept reals should only mean changing some constants depending on the floating...
Easy mode: Just make sure they compile Hard mode: Also verify their input/output Eventually this and unittesting on several platforms could really be made an automatic thing, but I have...