Bill Allombert on Fri, 12 Jan 2024 22:52:30 +0100


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

Re: interest for PARI/GP Jupyter notebook ?


On Thu, Oct 12, 2023 at 11:44:40AM +0200, Bill Allombert wrote:
> On Fri, May 12, 2023 at 04:33:42PM +0200, Pascal Molin wrote:
> > I started using pari-jupyter two months ago, and immediately switched to
> > Edgar's version because I had problems with the main pari-jupyter
> > (I do not remember precisely the issues, maybe it was slow or did not
> > support threads). I also think a xeus version would be nice.
> > Anyway I think I will use it on a regular basis now and could provide
> > feedback from myself and from students, and a bit of testing.
> 
> So I have made available of first draft of a XEUS-based GP kernel.
> You can clone it as
> git clone https://pari.math.u-bordeaux.fr/git/xeus-gp.git
> Please do not ask me advices on how to compile it!
> 
> "??" does not work because there is no C interface to it yet.
> If you find other things that could work but does not, please tell me,

I think the behaviour of ## inside gp_read_str_multiline does not seem
what we would like it to be:

? install(gp_read_str_multiline,sf)
? gp_read_str_multiline("factor(2^256+1)\n##")
  ***   last result computed in 0 ms.
? ##
  ***   last result computed in 803 ms.

Cheers,
Bill