GP2C(1) PARI GP2C(1)NAME
GP2C - The GP to C compiler
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.
user option:
-o <file> : Place output in file <file>.
-g : Generate automatic garbage collection code.
-iN: Set indentation level to N spaces (default 2).
-W : Output information about global variables.
-p <prefix>: Prefix user-defined symbol by <prefix> to avoid conflict.
-s <suffix>: Add suffix <suffix> to GP install names of functions.
-S: Assume strict declarations for functions.
query options:
-h : This help.
-f : Dump information about functions to stderr.
-l : Output the list of functions known to the compiler.
-t : Output the table of types known to the compiler.
-v : Output version information and exit.
debugging options:
-d : Increase debugging level.
-y : Switch parser to debug mode.
-T : Output syntactic tree in treetool format.
-TT : Output syntactic tree in VCG/GRL format.
-G : Generate GP code in place of C code. Don't smile.
-V : Do not clean up variables.
file.gp: file to be processed, default to stdin. The generated C code is output to stdout unless option -o is used.
See the script gp2c-run for an automated compilation process.
COPYING
Copyright 2000-2005 The PARI Group
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.
AUTHOR
Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
SEE ALSO gp2c-run(1), gp2c-dbg(1), gp(1), gcc(1)GP to C compiler January 2005 GP2C(1)
Check Out this Related Man Page
CYTHON(1) User Commands CYTHON(1)NAME
Cython - compile Cython code (.pyx) into C to build a Python extension
SYNOPSIS
cython [options] sourcefile.{pyx,py} ...
DESCRIPTION
Cython (http://cython.org) is a compiler for code written in the Cython language. Cython is based on Pyrex by Greg Ewing.
OPTIONS -V, --version
Display version number of cython compiler
-l, --create-listing
Write error messages to a listing file
-I, --include-dir <directory>
Search for include files in named directory (multiple include directories are allowed).
-o, --output-file <filename>
Specify name of generated C file
-t, --timestamps
Only compile newer source files
-f, --force
Compile all source files (overrides implied -t)
-q, --quiet
Don't print module names in recursive mode
-v, --verbose
Be verbose, print file names on multiple compilation
-p, --embed-positions
If specified, the positions in Cython files of each function definition is embedded in its docstring.
--cleanup <level>
Release interned objects on python exit, for memory debugging. Level indicates aggressiveness, default 0 releases nothing.
-w, --working <directory>
Sets the working directory for Cython (the directory modules are searched from)
--gdb Output debug information for cygdb
-D, --no-docstrings
Strip docstrings from the compiled module.
-a, --annotate
Produce a colorized HTML version of the source.
--line-directives
Produce #line directives pointing to the .pyx source
--cplus
Output a C++ rather than C file.
--embed[=<method_name>]
Generate a main() function that embeds the Python interpreter.
-2 Compile based on Python-2 syntax and code semantics.
-3 Compile based on Python-3 syntax and code semantics.
--fast-fail
Abort the compilation on the first error
--warning-error, -Werror
Make all warnings into errors
--warning-extra, -Wextra
Enable extra warnings
-X, --directive <name>=<value>[,<name=value,...] Overrides a compiler directive
Cython version 0.15.1 January 2012 CYTHON(1)