www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - djinnprint - nogc and -betterC compatible functions used to format

reply tspike <mail gamedevgp.net> writes:
I want to finally introduce a library I’ve been working on called 
[djinnprint](https://github.com/tspike2k/djinnprint). It’s a 
small set of functions used to format data as text. What sets it 
apart from std.write is that it can be used in  nogc blocks and 
even with the -betterC compiler switch. Like std.write, the 
library can format struct data without asking the user to supply 
some form of stringify method. Unlike std.write, the format 
string determines the order in which each argument is is 
formatted in the resulting output (potentially useful for 
internationalization).

I started this project last year to evaluate the capabilities of 
the language and see if I’d like to continue using it for 
personal projects. It turns out that D hits all the right notes 
with me and so I’ve been happily using the language ever since.

I’m pretty happy with where the library is right now, though 
there’s still more work that needs to be done. I’ve been using 
this library rather extensively in my personal projects and (so 
far) it seems to work nicely, so I though now would be a good 
time to share it.

Anyway, thanks for reading!
Jul 19 2021
parent zjh <fqbqrr 163.com> writes:
On Tuesday, 20 July 2021 at 04:34:56 UTC, tspike wrote:
 I want to finally introduce a library I’ve been working on
Thank you for sharing.
Jul 19 2021