Walter Bright wrote:
Denis Koroskin wrote:
I just believe rewriting it from scratch will be plain faster. I can
also test the code much easier - if it produces exact same binary then
it works correct.
The dmd front end is also written in a "D-ish" style which should make
translation to D easier.
But some stuff doesn't quite match: for example, Expression is declared
in expression.h. But not all methods are implemented in expression.c.
There's at least the interpret() method, which is in interpret.c.
How would you translate this into D? Just mash everything into a single
.d source file?