File: README

package info (click to toggle)
gp2c 0.0.12-2
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 2,916 kB
  • sloc: ansic: 8,592; sh: 1,606; lex: 346; yacc: 226; makefile: 107
file content (51 lines) | stat: -rw-r--r-- 1,893 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
GP2C,  GP to C translator
       Copyright (C) 2000-2018 The PARI Group, Bordeaux.

GP2C is part of the PARI/GP system, http://pari.math.u-bordeaux.fr/.

New versions are available at
<ftp://pari.math.u-bordeaux.fr/pub/pari/GP2C> and
<http://pari.math.u-bordeaux.fr/download.html>

==========================================================================

To get started, read the manual in doc/gp2c.dvi or doc/html.
You need PARI/GP installed to compile this package.

The command provided are:

gp2c file.gp

Translate file.gp to C and output the resulting code to stdout.

gp2c-run file.gp

This will translate file.gp to C, compile it, and run a GP session including
the compiled functions. This rely on install() working for external module
so is not as portable as GP2C. However it is known to work on Linux, Solaris,
OSF/1, Mac OS X, and Cygwin.

gp2c-dbg file.gp

[not installed by default]
This does the same as gp2c-run but launch GP inside the C debugger, so
you can debug your script. See the configure option '--with-paricfg-dbg'
to enable it.

Thanks for your support, and have fun !

Bill Allombert <allomber@math.u-bordeaux.fr>

========================================================================

GP2C is free software; you can redistribute it and/or modify it under the terms
of the GNU General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
Street, Fifth Floor, Boston, MA 02110-1301 USA.