EnglishFrenchSpanish

Ad


OnWorks favicon

gosh - Online in the Cloud

Run gosh in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gosh that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


gosh - a Scheme script interpreter

SYNOPSIS


gosh [-biqV] [-I path ] [-A path ] [-u module ] [-l file ] [-e expr ] [-E expr ] [-f flag
] [--] [ script argument ... ]

DESCRIPTION


Gosh is a stand-alone Scheme interpreter built on top of the Gauche Scheme script engine.

When script is given, gosh loads the script, evaluating Scheme code in it. Then, if the
script defines a procedure named main, gosh calls it with a single argument which is a
list of the script name and subsequent arguments. When main returns an integer value,
gosh exits with it as an exit code. If main returns non-integer value, or an error is
signaled during evaluation, gosh exits with exit code 70 (EX_SOFTWARE). See SRFI-22
(http://srfi.schemers.org/srfi-22/srfi-22.html) for details. If there's no main procedure
defined in the script, gosh exits with code 0 after loading the script file.

If no script file is given, gosh goes into an interactive mode. By default, gosh prompts
the user to enter a Scheme expression, read and evaluates it, then prints the result,
until EOF is read. If the standard input is not a terminal, however, gosh doesn't print a
prompt; it allows a user to use gosh as a filter program. This behavior can be controlled
by -i or -b option; see below.

OPTIONS


Command line options are processed before loading the script file or entering the
interactive mode.

The options -I, -A, -u, -l, -L, -e and -E are processed in the order of appearance. For
example, adding a load path by -I option affects the -l options after it, but not the ones
before it.

-V Prints gosh version and exits.

-b Batch mode. Doesn't print prompt even the standard input is a terminal. Supersedes
-i.

-i Interactive mode. Forces to print prompt, even the standard input is not a terminal.

-q Prevents reading the default initialization file.

-Ipath
Adds path in front of the load path list.

-Apath
Appends path to the tail of the load path list.

-umodule
Loads and imports module, as if "(use module )" is specified in the code.

-lfile
Loads a Scheme file file.

-Lfile
Like -l, but doesn't complain if file doesn't exist.

-eexpr
Evaluates a Scheme expression expr.

-Eexpr
Same as -e, except that the expr is read as if it is surrounded by parenthesis.

-ptype
Turns on the profiler. Currently type can only be 'time'.

-fflag
Sets various flags.
case-fold uses case-insensitive reader (as in R5RS)
load-verbose report while loading files
no-inline don't inline primitive procedures and constants
(combined no-inline-globals, no-inline-locals, and
no-inline-constants.)
no-inline-globals don't inline global procedures.
no-inline-locals don't inline local procedures.
no-inline-constants don't inline constants.
no-post-inline-pass don't run post-inline optimization pass.

-Ffeature
Makes feature available in cond-expand forms.

-- Specifies that there are no more options. If there are more arguments after this,
they are taken as script file name and its arguments.

ENVIRONMENT


GAUCHE_LOAD_PATH
A colon separated list of the load paths.
The paths are appended before the system default load paths.

GAUCHE_DYNLOAD_PATH
A colon separated list of the load paths for dynamically loaded
objects. The paths are appended before the system default load paths.

AUTHORS


Shiro Kawai (shiro @ acm . org)

Use gosh online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

  • 1
    abi-tracker
    abi-tracker
    abi-tracker - visualize ABI changes
    timeline of a C/C++ software library.
    DESCRIPTION: NAME: ABI Tracker
    (abi-tracker) Visualize ABI changes
    timeline of a C/C+...
    Run abi-tracker
  • 2
    abicheck
    abicheck
    abicheck - check application binaries
    for calls to private or evolving symbols
    in libraries and for static linking of
    some system libraries. ...
    Run abicheck
  • 3
    couriermlm
    couriermlm
    couriermlm - The Courier mailing list
    manager ...
    Run couriermlm
  • 4
    couriertcpd
    couriertcpd
    couriertcpd - the Courier mail server
    TCP server daemon ...
    Run couriertcpd
  • 5
    gbklatex
    gbklatex
    bg5latex - Use LaTeX directly on a Big5
    encodedtex file bg5pdflatex - Use
    pdfLaTeX directly on a Big5 encodedtex
    file bg5+latex - Use LaTeX directly on a
    Big5+...
    Run gbklatex
  • 6
    gbkpdflatex
    gbkpdflatex
    bg5latex - Use LaTeX directly on a Big5
    encodedtex file bg5pdflatex - Use
    pdfLaTeX directly on a Big5 encodedtex
    file bg5+latex - Use LaTeX directly on a
    Big5+...
    Run gbkpdflatex
  • More »

Ad