Download
When you click the download link of SourceForge, you might be asked which mirror site you want to download from.
Source tarball
- Gauche-0.9.tgz (from SourceForge)
The package is tar+gzipped. Unzip and untar it, then configure+make. See INSTALL in the top directory for detail instructions.
% gzcat Gauche-0.9.tgz | tar xf -
% cd Gauche-0.9
% ./configure
% make
% make install
`make check' runs some self tests.
If you have installed a previous version of Gauche, "gauche-config --reconfigure" shows the configure command line you have used for the version. You can use it as is if you want to update Gauche with the same configuration option.
% gauche-config --reconfigure | sh
% make
% make install
Once you succeed, you'll find an interpreter named "gosh" under src. In order to try the interpreter without installing it, go down to "src" and run gosh with -ftest option.
% cd src
% ./gosh -ftest
gosh> (sqrt -5)
0+2.23607i
gosh> (map (lambda (n)
(rxmatch-substring (rxmatch #/(\d+)\D+(\d+)\D+(\d+)/ "(123)456-7890") n))
'(1 2 3))
'("123" "456" "7890")
Windows Binary Installer
- Gauche-mingw-0.9.exe (from SourceForge)
This is an installer of pre-compiled MinGW version Gauche on Windows. There are some differences in supported system functions on Windows; see the reference manual for the details. (There is also an ongoing project to compile Gauche with Visual C++. See winnt/README.txt in the source tree.)
It is such a pain to use REPL on Windows Console, so we strongly recommend you to run gosh on Emacsen (See WindowsConsole for more information). For the convenience of users of Windows machines without Emacsen, here's an installer that includes MinGW version Gauche and an Emacs variant Meadow3. (The download size is about 45MB).
- Gauchebox-0.9-box1.exe (from SourceForge)
Once you install Gauchebox, you can launch Meadow3 and just
type M-x run-scheme to use gosh REPL.
It also installs sample code of a book
Programming Gauche
(Japanese edition only) under ProgrammingGauche directory
of the installation directory (c:\Program Files\Gauchebox\ by default).
Note that if you've already installed Meadow, Gauchebox overwrites Meadow's shortcuts. If you already have some Emacs variant, just install MinGW version of Gauche Gauche-mingw-0.9.exe .
Subversion repository
The source tree of Gauche is managed in a Subversion repository at sourceforge.net. You can obtain the breeding edge version by the following command:
svn co https://gauche.svn.sourceforge.net/svnroot/gauche/Gauche/trunk GaucheAlternatively, you can browse the source tree on your browser.
To compile from Subversion snapshot, check out the HACKING file in the top directory.