|Jeroen Demeyer on Sun, 10 Jan 2016 18:54:21 +0100|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|Re: Jupyter kernel for PARI/GP|
On 2015-10-10 11:00, Karim Belabas wrote:
Shouldn't be so hard: a simple wrapper around parі_completion should do the trick. Have a look at texmacs.c, in particular tm_get_line() and tm_completion(). (Of course, libreadline is still required; but a call to readline() is not.)
The problem is that those functions are not in libpari. They are compiled in the gp executable.
If you don't object to linking libpari.so to -lreadline, we can easily move the relevant functions.
If you don't want to link libpari.so to -lreadline, would you agree with creating a new library for this, say libpari-readline.so?
Further, plotting has exactly the same issue: it is not part of libpari, it is only in gp.