"Ellery Newcomer" <ellery-newco...@utulsa.edu> wrote in message news:hbak0n$q5...@digitalmars.com... > Nick Sabalausky wrote: >> "Denis Koroskin" <2kor...@gmail.com> wrote in message >> news:op.u1v7jdgco7c...@korden-pc... >>> Yes, it's a DMD port. Unfortunately, there is no other mature D >>> front-end >>> at present. Other folks are working on D compilers (dil, dang, ...) but >>> the progress is very slow. >> >> FWIW, I've been meaning to try to write a D grammar for GOLD when I get a >> chance (the Haxe grammar I wrote only took a few days). If that pans out >> (depends just how simple and unambiguous the grammar is), then that could >> be >> used with Goldie as a starting point (ie, lex/parse would be taken care >> of. >> Semantic analysis, optimization and back-end would need to be added in). >> > > All but the hard parts :)
Yea, like I said, "FWIW" ;) > > I could count the number of places that are ambiguous syntactically or > semantically on one hand, and maybe the number of places that require > arbitrary lookahead also. Do LALR parsers care about arbitrary > lookahead? LL(k) parsers do. Beats me, I'm not nearly as up on parsing theory as I'd like to be. Could you give me a simple example?