View Single Post
  #4  
Old 01-17-2004, 05:42 AM
Eglin
Hill Giant
 
Join Date: Nov 2003
Posts: 168
Default

It should be possible to transfer execution back and forth between the host app and the embedded interpreter without writing an external module. Look at pickle for examples of how to do this in an elegant fashion (the *_arg stuff requires no .so, IIRC). I said somewhere else that I think the best thing to do is to write a single glue function to flush the command queue and I'm sticking with my assertion. If you're going to write some XS, I'd love to see you write a little function that flushes the command queue... I've seen some _extremely_ ugly and hacktastic workarounds for not having a method of transferring execution (like the flag stuff) that will have to be reworked completely and I guess that more will come unless a better method is made avaliable. If your timetable allows you to write this before me, then that would be great.
Reply With Quote