Bill Allombert on Mon, 18 Jan 2016 16:03:40 +0100

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Move readline interface to libpari

On Mon, Jan 18, 2016 at 12:33:33PM +0100, Jeroen Demeyer wrote:
> >Maybe pari_rl_back and current_ep should be part of readline_interface ?
> For pari_rl_back, this makes sense.
> current_ep is private to be used in src/language/readline.c, I don't
> see much point of exposing it publicly.

On the other hand, this could improve reentrancy, I think.

> >Also it would be nice if you updated examples/minigp.c to make use of
> >this interface.
> What do mean more concretely? You mean implementing TAB-completion
> in minigp?

Something like this, yes, if it is not too verbose.