<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello, folks!<br>
<br>
Currently me with one other guy are trying to play with clang. The
proposal may seem stupid, excuse me, if it was already discussed, we
just want to try to implement something useful which seems absent
for now.<br>
<br>
Ok, the idea. It seems interesting to try to make lexer a little bit
more efficient in terms of macro expanding by applying partial
expansion of macros. the idea is that some libraries have rather
deeply nested macro definitions, and each time lexer sees it in
code, it reexpands definition fully. This seems to be overkill
sometimes, for rather often macros are not redefined in code, so
expansion can be reused. <br>
<br>
Of course, the typical nesting is rather low, but for example
BOOST_PP_REPEAT can cause such situations. <br>
<br>
So, the question is, what do you think about possible utility of
such research and the reasons for you think so?<br>
<a
href="https://www.google.ru/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0ahUKEwii-ZW4oNrLAhWrCXMKHcFpA1wQFggfMAA&url=http%3A%2F%2Fwww.boost.org%2Fdoc%2Flibs%2F1_43_0%2Flibs%2Fpreprocessor%2Fdoc%2Fref%2Frepeat.html&usg=AFQjCNEicOX9h6Dsd1M82MOjMV5148Rtkg&sig2=p0GM1-YQQGGwaDMHbeHuiA&cad=rja"
onmousedown="return
rwt(this,'','','','1','AFQjCNEicOX9h6Dsd1M82MOjMV5148Rtkg','p0GM1-YQQGGwaDMHbeHuiA','0ahUKEwii-ZW4oNrLAhWrCXMKHcFpA1wQFggfMAA','','',event)"
target="_blank"
data-href="http://www.boost.org/doc/libs/1_43_0/libs/preprocessor/doc/ref/repeat.html"
style="color: rgb(102, 0, 153); cursor: pointer; text-decoration:
none;"></a>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</body>
</html>