[cfe-dev] Thoughts on subexpression matching

Olaf Krzikalla Olaf.Krzikalla at tu-dresden.de
Wed Mar 6 07:37:42 PST 2013


Am 04.03.2013 19:59, schrieb Manuel Klimek:
> +cfe-dev
I've read "subexpression" in the title and since you've added cfe-dev to 
the conversation I just enter it.
What I do is matching things like "a*b+c" or "a<b?a:b", where a,b,c may 
be arbitrary expressions. I build an AST of the above expressions and 
match that AST against my source AST.
Though, I'm not sure whether this is related to your discussion.

Best Olaf





More information about the cfe-dev mailing list