Looking for champion - std.lang.d.lex

dennis luehring dl.soluz at gmx.net
Tue Oct 26 08:27:58 PDT 2010


Am 26.10.2010 16:48, schrieb dennis luehring:
> 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

that combined with compiletime-features something like the bsn-parse do

http://code.google.com/p/bsn-goldparser/

i think this all is very very doable in D


More information about the Digitalmars-d mailing list