Karim BELABAS on Fri, 3 Mar 2000 18:06:08 +0100 (MET)

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

Re: [PATCH 2.0.18] \x upgraded

> I strongly disagree.  C-like code would 
>   a) work with struct* instead of long*;
>   b) would allocate new things by macros parameterized by the type of
>      the allocated thing;
> thus would completely clear the code from the dependence on the
> details of internal representation of the PARI types.

Ok, ok, I'm not going to defend PARI current coding style anyway. I
basically agree with you [ and the initial patch was not rejected, but "put
on hold" until the long overdue official release is out ].

Another subject:

I intend to modify a bit your prettyprinter [nice job, btw, and it even
exhibited a bug in TeX output:         1
                             ... +  O(x 7) ]

1) make "prettyprinter" the name of the default prettyprinter (empty = use
current "beautified" format, which is ugly).

default(output,2) [or shortcut \o 2] would trigger it. This way it'll be
easier to disable/enable it without writing further user functions.

2) make it portable [ using undocumented try_pipe() and pariFILE type ]. As
is stands it will break compilation on a number of platforms (e.g WinCE

Would it be OK if I included tex2mail in the PARI distribution ? [ I could
leave the URL at strategic places, but it would be more convenient that way
for casual users ]


Karim Belabas                    email: Karim.Belabas@math.u-psud.fr
Dep. de Mathematiques, Bat. 425
Universite Paris-Sud             Tel: (00 33) 1 69 15 57 48
F-91405 Orsay (France)           Fax: (00 33) 1 69 15 60 19
PARI/GP Home Page: http://www.parigp-home.de/