On 1/6/11 10:42 AM, David Dreisigmeyer wrote:
Yes,  I'm calling Gambit-C from Python and would like to make this
cleaner.  Instead of having to do something like:

gambit.eval ("(print \"Hello\n\")")

I want to do this:

gambit.eval (print "Hello\n")

so that the expression following gambit.eval is a standard scheme expression.

Sorry, Python's syntax is not extensible like this.

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to