Template instantiation syntax

Robert Fraser fraserofthenight at gmail.com
Sat Oct 11 15:17:58 PDT 2008


Nick Sabalausky wrote:
> Point being, there are ways in which easy parsing does translate into a win 
> for the average coder (better quality compilers in a shorter time, room for 
> more compiler competition). But of course you're right that designing for 
> easy parsing shouldn't be taken too far (or else we'd all be flipping 
> switches Altair-style). 

Easy parsing doesn't always just mean "easier to implement". Other 
advantages of a context-free grammar are faster IDEs/smart editors tools 
(since they don't need to keep symbol caches while parsing) and faster 
compile times. I think a context-free grammar is a big win all-around.



More information about the Digitalmars-d mailing list