KDevelop-PG-Qt: Inlining

Jonathan Schmidt-Dominé - Developer devel at the-user.org
Sat May 22 16:19:40 UTC 2010


Hi!

For those interested in KDevelop-PG-Qt:
I have created a feature-branch "inlining" in my personal repository.
It works like that:
PLUS | MINUS | BLA -> additiveOperator ;;
#number=number (.= additiveOperator #number=number)* -- <-- that is inlining
-> simpleArithmetics ;;
The generated parser will not create an AST for additiveOperator in 
simpleArithmetics, but inline the PLUS | MINUS | BLA. It works with code and 
additional AST-members or local variables, too.
I hope it is usefull to structure the code.

Jonathan




More information about the KDevelop-devel mailing list