home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
pyth_os2.zip
/
python-1.0.2
/
Demo
/
p2c
/
README
< prev
next >
Wrap
Text File
|
1993-11-11
|
500b
|
27 lines
Here I am trying to see how far I can get translating Python to C.
Currently the assumptions are:
- all variables and arguments are of type int
- no reliance on tricky semantics, e.g.:
= status of for loop variable after loop
= effect of modifying for loop variable
- generating C only
In the future we need to:
- guess the argument and local variable types
- generate .h and .c files corresponding to module files
- generate not only C but other languages as well
- etc., etc., etc.