Goals
Our goal is to implement a compiler for a subset of D, in D. The are two reasons why we are only aiming for a subset:
- We know we can implement a subset fully, going for a little depth rather than width.
- We are only two persons using some of our sparetime. It would take a lot of time to make a full D compiler.
What we really want is of course a complete D compiler. So whenever we reach our targeted subset, we'll target a slightly more complex subset - a little closer to the full language.
Currently targeted subset
Currently, we try to implement the features in the following list.
- Full struct support - including members and functions.
- Full function support - return any value, etc.
- Nested functions
- Pointers
- Arrays
- Integer and Float types including implicit casts.
Take a look at Features to see the current status.