Hi Ralf > What do others say? Would (A) or (B) be the better alternative? > > IMHO definitively (B). Although I've a working IPy notebook/qtconsole app via "core.prefilter" transformers (see below), I would prefer a "kernel" version because 'hacks' are too hard to maintan and not very user friendy (for non Python addics).
A 'native' kernel, however, might be a challenge, and is surely not a "one day project". Fortunately, in the upcoming version IPy 3, it's possible to write simple wrapper kernels (see http://ipython.org/ipython-doc/dev/development/wrapperkernels.html). I'm convinced this will provide a stable and user friendly interface. Regarding 'pexepct' : there are alternatives, e.g. any ssh-client lib (paramiko for instance) provided that you connect via a local/remote sshd (works on Win too, and there is Firefox SSH client in js). I've also used the butterfly web terminal recently (http://paradoxxxzero.github.io/2014/02/28/butterfly.html) to interface Fricas on a Ubunutu box. An easy 'hack' gives you MathJax output. Eventually I've fallen back to the awesome TeXmacs interface. It's the most promising in my view. Kurt --- from IPython.core.prefilter import _default_transformers, PrefilterTransformer from IPython.extensions.axiom import FriCAS class FricasTrafo(PrefilterTransformer): def transform(self, line, continue_prompt): """Transform a line, returning the new one.""" if line.startswith('$'): return line.lstrip('$') else: return "FriCAS0.fricas("+repr(line)+")" FriCAS0 = FriCAS() _default_transformers.append(FricasTrafo) -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/fricas-devel. For more options, visit https://groups.google.com/d/optout.
