You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to py2c-di...@googlegroups.com
The plan for the translation process (currently) is like so:
Generate an AST from Python code. (High-level nodes)
Make a pass through it collecting and adding type information. (Intermediate-level nodes)
Pass
the AST with the type-information to the Fixers. They can add low-level or intermediate-level nodes to this AST. Fixers can be used to optimize the code, provide 3rd party module support etc. This way the core of the package stays clean.
Another pass through the AST will change all intermediate nodes to low-level ones.
Finally, The C++ code shall be generated.
So there are 2 things that are involved in the code generate:
An AST system that has high-level (Python) nodes, intermediate-level (hold type information) nodes and low-level (C) nodes.
Fixers (in Py2C or user specified)
Any comments?
Jurgis Pralgauskis
unread,
Feb 27, 2014, 10:38:56 AM2/27/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message