Open stevelinton opened 9 years ago
It's an interesting question whether lines beginning ? should be passed to the foreground thread or dealt with by the input thread in some way.
I would like to add on this matter that I really liked @fingolfin's suggestion of a IRC-client like interface with a command line (per thread), a status window etc.
If we decouple the HPC-GAP computations process from the frontend this would open up a wealth of possibilities, like emacs modes, GUIs (I believe a basic PyQT GUI would be a matter of hours for me to write) and so on.
If I understand the current setup correctly this decoupling is not too far away from what is happening right now anyway.
The one element of decoupling which is potentially tricky is handling the output from a thread as anything nicer than a sequence of lines -- for instance knowing which lines (or parts of lines) are input echo, command line results, user printing, info statements, help text, etc. etc. At the moment everything goes through the Pr function in the kernel at which point all trace of its provenance is lost.
This is a note of a discussion about how to produce a usable UI for HPCGAP Beta.