Third iteration of QMake parser, looking for a parser generator

Roberto Raggi roberto.raggi at gmail.com
Thu Jul 5 16:33:41 UTC 2007


Il giorno 05/lug/07, alle ore 18:20, Andreas Pakulat ha scritto:

> On 05.07.07 16:50:19, Roberto Raggi wrote:
>>> That would be cool, I've already got an idea how to write it, but  
>>> that
>>
>> You can find in attachment a little example of an incremental  
>> lexer for a dummy
>> language.
>
> Thanks, I'll look into this later tonight, but it looks promising (and
> much better than a QRegExp-based one).

oops!! sorry the code has two little bugs.. I know I know I should  
test my code ;-) well, new version attached and as bonus I've also  
attached a new version of kwgen.cpp that works with QChar(s). Hope  
you will find it helpful.

ciao robe

-------------- next part --------------
A non-text attachment was scrubbed...
Name: kwgen.cpp
Type: application/octet-stream
Size: 7656 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20070705/9ce2a2e2/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lex.cpp
Type: application/octet-stream
Size: 4146 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20070705/9ce2a2e2/attachment-0001.obj>


More information about the KDevelop-devel mailing list