Bill Allombert on Thu, 05 Mar 2020 22:53:25 +0100


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

GP2C 0.0.11pl3 released


Dear PARI lovers,

I am pleased to announce the release of GP2C 0.0.11pl3, the GP to C translator.
The sources can be obtained through the address

  http://pari.math.u-bordeaux.fr/download.html#gp2c

  * Fix declarations in header files so that it build with gcc 10
    (reported by Michael Orlitzky).
  * Add correct filenames in error messages when using \r
  * Added
   - support for references (~) from PARI 2.12.1
   - support for foreach from PARI 2.12.1
   - support for holes in multi-assignement from PARI 2.12.1
   - support for \r "..." from PARI 2.12.1
   - support for ploth and plothexport
   - support for parfor, parforprime and parforvec
   - support for alarm
  * Bugs fix:
   - multiassign did not trigger copy
  * Test-suite:
   - Update multiassign test to check trigger of copy
   - Update multiassign test to check support of holes
   - Add test foreach to check foreach support

- - - - - - - - - - - - - - - -

GP2C is a compiler for GP-scripts that output C code to be linked with libpari
or install'ed in GP.

It can be used to compile and run a GP script, to learn how to use the PARI
library, or to check a script for mistakes (with -W).

It also includes gp2c-run which provides a simple way to compile PARI programs
written in C, and gp2c-dbg which allow to run code under the debugger.

Cheers,
Bill.