When you click the download link of SourceForge, you might be asked which mirror site you want to download from.
- Gauche-0.9.3.3.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.3.3.tgz | tar xf - % cd Gauche-0.9.3.3 % ./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
This is an installer of pre-compiled MinGW version Gauche on Windows. Gauche-gl is also included. There are some differences in supported system functions on Windows; see the reference manual for the details.
After installation, you will find some example scripts in c:\Program Files\Gauche\examples\ (if you installed to the default location).
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).
If you don't want to use installer (e.g. don't want to touch the registry), you can use the zip file instead. Extract the content to wherever you like, and invoke gosh under bin directory. PATH won't be modified and scm won't be associated to Gauche, but you can use gosh by just copying the directory.
The source tree of Gauche is managed in a Git repository at github.com. You can obtain the breeding edge version by the following command:
git clone git://github.com/shirok/Gauche.gitAlternatively, you can browse the source tree on your browser.
To compile from the Git snapshot, check out the HACKING file in the top directory.