Looking for champion - std.lang.d.lex

dennis luehring dl.soluz at gmx.net
Tue Oct 26 07:48:47 PDT 2010


Am 26.10.2010 15:55, schrieb Leandro Lucarella:
> bearophile, el 26 de octubre a las 06:20 me escribiste:
>>  Nick Sabalausky:
>>
>>  >  I've taken a deeper look at Spirit's docs:
>>
>>  I have not used Spirit, but from what I have read, it doesn't scale
>>  (the compilation becomes too much slower when the system you have
>>  built becomes bigger).
>
> I can confirm that, at least for Spirit 1, and for simple things it
> looks "nice" (in the C++ scale), but for real more complex things, the
> resulting code is really a mess.
>

yupp - Spirit feels right on the integration-side, but becomes more and
more evil when stuff gets bigger

a compiletime-ebnf-script parser would do better, especially when
the ebnf-script comes through compiletime-file-include and can be 
used/developed from outside in an ide like gold parsers

a compiletime-parse could "generated" the stub code like Spirit do
but without beeing to much inside the language itselfe



More information about the Digitalmars-d mailing list