libfirm-d - D bindings of Firm, a compiler IR based on the SSA form

Basile B. b2.temp at gmx.com
Sun Jul 1 12:04:06 UTC 2018


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.


More information about the Digitalmars-d-announce mailing list