File: gp2c.1

package info (click to toggle)
gp2c 0.0.7pl3-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,728 kB
  • sloc: ansic: 7,730; sh: 1,420; lex: 336; yacc: 208; makefile: 143
file content (69 lines) | stat: -rw-r--r-- 2,002 bytes parent folder | download
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
.TH GP2C "1" "January 2005" "GP to C compiler" PARI
.SH NAME
GP2C \- The GP to C compiler 
.SH DESCRIPTION
gp2c [-ghfltvydWSTGV] [-i N] [-o <file>] [-p <prefix>] [file.gp]

gp2c is a program that translate GP code to C code that use the libpari
library. It tries to generate code looking like the PARI source code.

.SS "user option:"
.HP
\fB\-o\fR <file> : Place output in file <file>.
.HP
\fB\-g\fR : Generate automatic garbage collection code.
.HP
\fB\-iN\fR: Set indentation level to N spaces (default 2).
.HP
\fB\-W\fR : Output information about global variables.
.HP
\fB\-p\fR <prefix>: Prefix user-defined symbol by <prefix> to avoid conflict.
.HP
\fB\-s\fR <suffix>: Add suffix <suffix> to GP install names of functions.
.HP
\fB\-S\fR: Assume strict declarations for functions.
.SS "query options:"
.HP
\fB\-h\fR : This help.
.HP
\fB\-f\fR : Dump information about functions to stderr.
.HP
\fB\-l\fR : Output the list of functions known to the compiler.
.HP
\fB\-t\fR : Output the table of types known to the compiler.
.HP
\fB\-v\fR : Output version information and exit.
.SS "debugging options:"
.HP
\fB\-d\fR : Increase debugging level.
.HP
\fB\-y\fR : Switch parser to debug mode.
.HP
\fB\-T\fR : Output syntactic tree in treetool format.
.HP
\fB\-TT\fR : Output syntactic tree in VCG/GRL format.
.HP
\fB\-G\fR : Generate GP code in place of C code. Don't smile.
.HP
\fB\-V\fR : Do not clean up variables.
.PP
file.gp: file to be processed, default to stdin.
The generated C code is output to stdout unless option \fB\-o\fR is
used.

See the script \fIgp2c-run\fR for an automated compilation process.

.SH "COPYING"
Copyright 2000-2005 The PARI Group
.PP
GP2C is free software, covered by the GNU General Public License, and
you are welcome to change it and/or distribute copies of it under
certain conditions.  There is absolutely no warranty for GP2C.
.SH "AUTHOR"
Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
.SH "SEE ALSO"
.IR gp2c-run(1),
.IR gp2c-dbg(1),
.IR gp(1),
.IR gcc(1)