hi there,

Just for fun and to see how cython works, I am trying to write a 
CythonInterpreter inheriting from the usual code.InteractiveConsole.

So far so good, I manage to compile cython-oneliners (leveraging 
pyximport.load_module) but then I'd need some help for multi-lines statements:
## ex:
cdef class Foo:
  pass
##

for this to work in a reasonnable timely fashion, I'd need to see if parsing 
the snippet of code is valid cython (without compiling).
(I guess I'd need to know if the parsing failed b/c of unsupported python 
constructs or if it is b/c the cython command is incomplete)

any hint ?

cheers,
sebastien.
-- 
#########################################
# Dr. Sebastien Binet
# Laboratoire de l'Accelerateur Lineaire
# Universite Paris-Sud XI
# Batiment 200
# 91898 Orsay
#########################################

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to