Changes between Version 8 and Version 9 of compiler/newdesign


Ignore:
Timestamp:
Mar 17, 2010, 12:38:38 PM (9 years ago)
Author:
eamiri
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • compiler/newdesign

    v8 v9  
    2626Currently we translate python AST to our AST. Is this necessary? An alternative solution might be using python AST and potentially subclassing it.
    2727
     28== Code Inlining ==
     29PyPy supports code inlining, but after a first look at the source look, it seems that we cannot use their code. Inlining in PyPy is considered a backend optimization. After they construct a flow graph and annotating it with information about variable types, they pass it to the code inliner. If we want to use inlining we may need to accept other data structures and passes of their translation process.