Thanks for your interest in contributing to LDC.
The structure of the project is simple:
- the dmd and dmd2 folders contain the DMD v1 and v2 frontend
- the gen and ir folders contain the glue code to create LLVM IR
Some more details are given in the wiki.
Except for the content of the LDC wiki, dlang.org
and LLVM documentation
) there is nothing you can read.
My advise is to find an area where you like to contribute (e.g. fixing a
bug from old bug tracker; merging the DMD 1.070 frontend; ...) and
simply start reading the source and firing up the debugger. It is really
not as complicated as it may look for you now.
If you have questions then please don't hesitate to ask them on the list.
On 12.10.2012 04:24, Rizo Isrof wrote:
> First of all permit me introduce myself ï¿½ my name is Rizo, I am a CS
> student from Portugal. I am writing this e-mail to ask for a little
> orientation in my autodidacting experiences dedicated to the study of
> the D programming language.
> I would like to start contributing to the LDC project. Unfortunately my
> knowledge of the compiler architecture is merely theoretical. Although I
> did worked a lot with the traditional tools like `bison` and `flex` and
> studied the fundamentals of the compiler building I do not think I am
> ready to start just hacking the code. What I ask you are any reading
> materials or advises about how to better understand the organization of
> the LDC project and to start contributing to the project.
> Thanks in advance!
> Best regards,
> BF6F0265: FB27 BB4C 8F03 4980 C311 0968 E66B 9831 BF6F 0265
> You received this message because you are subscribed to the Google
> Groups "LDC - the LLVM D compiler" group.
> To view this discussion on the web visit
> To post to this group, send email to ldc...@googlegroups.com
> To unsubscribe from this group, send email to
> For more options, visit this group at