On Sunday, 1 July 2018 at 12:04:06 UTC, Basile B. wrote:
I've recently ported libfirm to D.

This nice C library, developed at the Karlsruhe university, allows to build compiler back-ends, using the SSA intermediate representation.

In theory it could even be used to make a new D compiler version, e.g "FDC", although this is obviously of no interest ;)

So this is mostly to make JIT scripting engines or back-ends for toy languages...

See:

- https://github.com/BBasile/libfirm-d
- https://code.dlang.org/packages/firm-d
- https://pp.ipd.kit.edu/firm/

Note that unfortunately this library is LGPL2 licensed, so much less usable than LLVM-d, which is a similar but a more mainstream library.

Very nice, I remember checking this one out a while back.

I don't see the files from the ADT module though, was there a reason they weren't included?

https://github.com/libfirm/libfirm/tree/master/include/libfirm/adt

Reply via email to