Gabor Szabo wrote: > On Sun, Nov 8, 2009 at 11:10 PM, Chris Marshall <[email protected]> wrote: >> Gabor Szabo wrote: >> My experience with graphics is that many libraries require >> that all functions be executed from the same thread. If the >> REPL is running in its own thread then maybe the solution >> used for perldl might work there. Do you use Term::ReadLine >> there? > > It is in a plugin and I never saw it and now that I tried to run it > it did not work. I'll have to check it out. As I can see it uses Devel::REPL. > > http://svn.perlide.org/padre/trunk/Padre-Plugin-REPL/lib/Padre/Plugin/
I took a look and Devel::REPL appears to use Term::ReadLine which is good since my plan to support GUI event loops within perldl works with Term::ReadLine so it should be applicable to Padre. One possible way forward with Padre would be to refactor perldl to use Devel::REPL underneath. That could take care of both issues at once. >>>> A second feature that might be of use would be a command >>>> line version of padre without GUI: lightweight and requiring >>>> minimal infrastructure or overhead. I don't know how doable >>>> this would be. A naked Devel::REPL version of perldl might serve this purpose transparently with respect to the Padre embedding and REPL. >>> I am not sure what added value that would be and how much of >>> that Padre could give as I think currently padre is mostly the wx stuff. >>> Several people have already talked about such thing but I have no >>> idea what that would do. We can talk about that later >> Ok. A better conversation can be had after we all have some >> experience with PDL and Padre right now. Are you planning to >> try it out? I meant try out PDL with Padre. > Try out what? Or you have not asked me? Just trying to see where things are. I'm working to finish up some of the TriD work (specifically some fixes to the 2D image display capabilities) but I definitely agree that an easily accessible front end to PDL (and perl) would be great. --Chris _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
