Karim Belabas on Mon, 23 Jan 2006 10:36:15 +0100


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

Re: Graphic support in CVS


* Ilya Zakharevich [2006-01-21 22:44]:
> > > 2.3?  Do we have all the usability stuff addressed?  E.g., can one
> > > execute arbitrary GP code from .gprc (or at least a way to load a file
> > > recognizing "~/foo.gp" notation)?
> > 
> > What's wrong with 
> > 
> >   read "~/foo.gp"
> > 
> > ?
> 
> Are parameters EMACS READL VERSION PATHSEPARATOR pari_datadir
> available from the read file?

The first 4 are not part of the GP language, but you can do conditional
loading.

#if EMACS read "~/foo-emacs.gp";

or even

#if EMACS
{
  read "~/foo-emacs.gp";
  ... other emacs-related stuff ...
}

PATHSEPARATOR is not available anywhere, and never was I think (there's a
local #define by that name in src/language/es.c)

The last is just

(10:19) gp > default(datadir)
%1 = "/home/a2x/belabas/PARI/GP/share/pari"

    Karim.
-- 
Karim Belabas                  Tel: (+33) (0)5 40 00 26 17
Universite Bordeaux 1          Fax: (+33) (0)5 40 00 69 50
351, cours de la Liberation    http://www.math.u-bordeaux.fr/~belabas/
F-33405 Talence (France)       http://pari.math.u-bordeaux.fr/  [PARI/GP]