Mono-D v0.4.9 - Rough formatting capability

Jacob Carlborg doob at me.com
Thu Jan 24 05:25:08 PST 2013


On 2013-01-24 14:12, Bruno Medeiros wrote:

> That's a lot of continuing nice work coming out from there, impressive!
>
> BTW, something I've been meaning to ask. I see that in Mono-D you've
> developed a hand-written D parser. How long did it take you to write
> that? Did you test it extensively or not so much?
>
> I'm embarking on that same task in Java, for DDT, and wondering how long
> it will take to build a quality parser. So far, it doesn't seem writing
> the actual parser will take that long, but writing extensive tests for
> it is seeming exceedingly complicated (or just lengthy and
> time-consuming). I'm usually a big proponent of TDD, but when writing a
> lot of tests starts to take a lot of time compared to the code being
> tested (in this case, maybe 1.5 times the effort/time of the code being
> tested), I'm not so certain it's the right call to spend so much time
> writing tests...

How about reusing the one in VisualD, it's written in D? Sure it's a bit 
more work since it's not written in a Java compatible language but it 
might be worth it.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-announce mailing list