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 >
Text File  |  1993-11-11  |  500b  |  27 lines

  1. Here I am trying to see how far I can get translating Python to C.
  2.  
  3.  
  4. Currently the assumptions are:
  5.  
  6. - all variables and arguments are of type int
  7.  
  8. - no reliance on tricky semantics, e.g.:
  9.  
  10.     = status of for loop variable after loop
  11.  
  12.     = effect of modifying for loop variable
  13.  
  14. - generating C only
  15.  
  16.  
  17. In the future we need to:
  18.  
  19. - guess the argument and local variable types
  20.  
  21. - generate .h and .c files corresponding to module files
  22.  
  23. - generate not only C but other languages as well
  24.  
  25. - etc., etc., etc.
  26.  
  27.