Bill Allombert on Sat, 08 Mar 2014 14:09:42 +0100

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

GP2C 0.0.8pl1 released

Dear PARI lovers,

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

This release is able to find pari.cfg installed in Debian-style multiarch
systems path (like /usr/lib/x86_64-linux-gnu/lib/pari/pari.cfg)

Parallel functions are supported except parfor, parforprime and
inline/uninline (inline is not necessary in compiled code).
It is also possible to use compiled code in parallel GP scripts.

There is a new command line option -L:
With this option, gp2c generates #line directives in the C code to allow
the C compiler to link errors to lines in the GP script.

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

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.