grauzone wrote:
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?

Oh, I agree that the files would have to be organized differently. One giant file is a little extreme, though <g>. Probably one module per class would be better.

Reply via email to