Permalink
Please sign in to comment.
Browse files
More simplification of the compilation pipeline.
It's now written in a linear fashion: tokenize() parse() transform() - parse tree to AST compile() - ast to bytecode. TODO: separate out the CFG. In other words, we separate nouns and verbs. We don't do work in constructors. walk() is done in compile(), not in the constructor to the CodeGenerator!
- Loading branch information...
Showing
with
49 additions
and 31 deletions.
- +1 −1 opy/compiler2/misc.py
- +20 −22 opy/compiler2/pycodegen.py
- +13 −8 opy/opy_main.py
- +15 −0 opy/regtest.sh
0 comments on commit
8cf2341