minimal object.d implementation that allows classes
Wild
xwildn00bx at gmail.com
Thu Dec 7 08:59:08 UTC 2017
On Wednesday, 6 December 2017 at 17:17:40 UTC, Luís Marques wrote:
> Is there a small druntime/object.d implementation that allows
> basic support for classes, without bringing the whole druntime
> implementation with it?
You could modify the one I use for PowerNex[1]. It is a hacked
version of Adam D. Ruppes
minimal.zip. There are only a few imports for strlen,
mem{set,move,cpy}, etc.
You probably need to add some sort of entrypoint and maybe
implement a few more runtime functions.
- Dan
[1]
https://github.com/PowerNex/PowerNex/blob/master/loader/src/object.d
More information about the Digitalmars-d
mailing list