Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gsi(debian) [debian man page]

GSI
/GSC(1) User Commands GSI/GSC(1) NAME
gsi - Gambit-C Scheme Interpreter and Compiler SYNOPSIS
gsi [ -:arg,... ] [ -f ] [ -v ] [[-] [ -e ] [ file ]]... gsc [options] [files] gsc-script, gsi-script, scheme-ieee-1178-1990, scheme-r4rs, scheme-srfi-0, six, and six-script: currently synonyms for gsi. scheme-r5rs is registered in the Debian alternatives system and can be configured to point at gsi. DESCRIPTION
This manual page documents briefly the gsi and gsc commands. The Gambit-C programming system is a full implementation of the Scheme language which conforms to the R4RS, R5RS, and IEEE Scheme stan- dards. It consists of two main programs: gsi, the Gambit Scheme interpreter, and gsc, the Gambit Scheme to C compiler. The interpreter provides an interactive environment with a debugger, while the compiler can produce stand-alone executables or modules which can be linked or loaded at run time. Interpreted code and compiled code can be freely mixed. C modules can be linked with Scheme modules. The interpreter is executed in interactive mode when no file or `-' or `-e' option is given on the command line. When at least one file or `-' or `-e' option is present the interpreter is executed in batch mode. Entering ,q or (exit) at the interpreter's command prompt will exit the interpreter. In batch mode the command line arguments denote files to be loaded, REPL interactions to start (`-' option), and expressions to be evalu- ated (`-e' option). Note that the `-' and `-e' options can be interspersed with the files on the command line and can occur multiple times. The interpreter processes the command line arguments from left to right, loading files with the `load' procedure and evaluating expressions with the `eval' procedure in the global interaction environment. After this processing the interpreter exits. gsc-cc-o.bat is a script called by gsc to generate object files during compilation. It takes its data from environment variables and is not intended for user interaction. OPTIONS
A summary of options is included below. For a complete description, see the Info files. - Initiate a REPL at this point. (Continue by issuing a ,(c 0) command at the interpreter prompt) -: Comma separated list of run-time options -e Evaluate an expression. -f Skip initialization file. -v Show version of program. SEE ALSO
The documentation for these programs is arguably too extensive to cover with man pages. Only the common command line options are given here. The programs are documented fully in Gambit-C, available on-line at the Gambit-C Homepage. Once package gambc-doc is installed, this 200+ page document is available via the Info system (info gambit-c), in html via doc-base, or as files in /usr/share/doc/gambc (html, pdf, txt). The Debian package r5rs-doc provides the Revised(5) Report on the Algorithmic Language Scheme in several formats. That document is the defining description of the programming language Scheme. dhelp(1), gcc(1), update-alternatives(8) COPYRIGHT
Gambit-C is Copyright (C) 1994-2008 by Marc Feeley, all rights reserved. Gambit-C is released under a dual LGPL and Apache 2 license. For further information refer to /usr/share/doc/gambc/copyright. This manual page is Copyright (C) 2006-2008 Marc Feeley and Kurt B. Kaiser <kbk@shore.net> Released under the same license as Gambit-C. AUTHOR
Gambit-C was written by Marc Feeley <gambit@iro.umontreal.ca>. Homepage: http://www.iro.umontreal.ca/~gambit/ 4.2.6 April 19, 2008 GSI/GSC(1)

Check Out this Related Man Page

GUILE(1)						      General Commands Manual							  GUILE(1)

NAME
guile - a Scheme interpreter SYNOPSIS
guile [-q] [-ds] [--help] [--version] [--emacs] [--debug] [-l FILE] [-e FUNCTION] [] [-c EXPR] [-s SCRIPT] [--] DESCRIPTION
GNU Guile is an interpreter for the Scheme programming language. It implements R5RS, providing additional features necessary for real- world use. It is extremely simple to embed guile into a C program, calling C from Scheme and Scheme from C. Guile's design makes it very suitable for use as an "extension" or "glue" language, but it also works well as a stand-alone scheme development environment. The guile executable itself provides a stand-alone interpreter for scheme programs, for either interactive use or executing scripts. This manpage provides only brief instruction in invoking guile from the command line. Please consult the guile info documentation (type info guile at a command prompt) for more information. There is also a tutorial (info guile-tut) available. OPTIONS
-l Load scheme source code from file. -e After reading script, apply FUNCTION to command-line arguments -ds do -s SCRIPT at this point (note that this argument must be used in conjuction with -s) --help Describe command line options and exit --debug Start guile with debugging evaluator and backtraces enabled (useful for debugging guile scripts) --version Display guile version and exit. --emacs Enable emacs protocol for use from within emacs (experimental) -- Stop argument processing, start guile in interactive mode. -c Stop argument processing, evaluate EXPR as a scheme expression. -s Load Scheme source from SCRIPT-FILE and execute as a script. ENVIRONMENT
GUILE_LOAD_PATH If $GUILE_LOAD_PATH is set, its value is used to agument the path to search for scheme files when loading. It should be a colon separated list of directories which will be prepended to the default %load-path. FILES
~/.guile is a guile script that is executed before any other processing occurs. For example, the following .guile activates guile's read- line interface: (use-modules (ice-9 readline)) (activate-readline) SEE ALSO
The full documentation for guile is maintained as a Texinfo manual. If the info and guile programs are properly installed at your site, the command info guile should give you access to the complete manual. http://www.schemers.org provides a general introduction to the Scheme language. AUTHORS
Robert Merkel <rgmerk@mira.net> wrote this manpage. Rob Browning <rlb@cs.utexas.edu> has added to it. guile is GNU software. Guile is originally based on Aubrey Jaffer's SCM interpreter, and is the work of many individuals. GUILE(1)
Man Page