Are there any good frameworks/papers/etc. for source-to-source optimizing-compiler passes? e.g. copy propagation, dead code elimination but for ASTs instead of IRs.
-
-
-
Replying to @johnregehr
Working in Python, but any Algol-derivative would be good!
1 reply 0 retweets 1 like -
Replying to @wcrichton
there's Rose, for C and C++ https://github.com/rose-compiler/rose …
1 reply 1 retweet 2 likes -
-
Replying to @johnregehr
Mostly interested in seeing if there are any good ideas I can steal. But I think beyond the basics (e.g. tree visitors), most of what's hard for me isn't covered here. Dealing with closures, decorators, comprehensions, generators, **kwargs.
11:42 AM - 30 Mar 2020
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
cognitive psychology. PhD