Mosh is a free and fast interpreter for Scheme as specified in the R6RS.
Scheme C C++ Pascal Makefile TeX Other
Latest commit f0af00d Feb 5, 2017 @higepon committed on GitHub Merge pull request #12 from amoe/master
fix build by embedding pre-built psyntax lib for bootstrapping
Failed to load latest commit information.
cmake cmake: Add mosh plugin files Mar 17, 2012
doc RELNOTE: update Jan 15, 2012
extlibs extlibs: MonaOS won't use extlibs' gc Jun 11, 2011
gtest update COPYING Sep 28, 2010
lib win32: Implement partition query Mar 28, 2012
m4 Curses: include autotools build Sep 24, 2011
misc nmosh pffi: Split pffi and mosh-plugin Jan 31, 2012
mona Changed to remove file. Jul 24, 2011
tests VM: Add set-current-error-port! to redirect errors for GUI Jan 15, 2012
.gitignore fix copied in psyntax Feb 4, 2017
INSTALL INSTALL: remove MinGW May 20, 2011 fix linker option syntax for GCC 4.7 May 31, 2012
Makefile.mona Fixed build on Mona . Feb 6, 2012 Change test "" = to test -z Apr 19, 2012 self-bootstrap: move (nmosh boot) libraries into boot/. Aug 13, 2011

What is Mosh?

Mosh is a free and fast interpreter for Scheme as specified in the R6RS.(R6RS is the latest revision of the Scheme standard) The current release of Mosh supports all of the features R6RS. See detailed information on

Building and Installing Mosh

Get a release of Mosh from Download. The development head version is also available.

See INSTALL and doc for prerequisite packages.

% ./configure
% make
% make check
% make install

On Windows, see Build.

Building the cutting-edge Mosh


auto tools

Following autotools version works.

  • autoconf 2.65 and automake 1.11.
  • autoconf 2.63 and automake 1.10.


% git clone git://
% cd mosh
% ./
% ./configure
% make
% make check
% make install

If you have issues during the step, check that you have all the build dependencies installed. Messages about unbound variables, presently eq-hashtable-copy, are symptomatic of this.

Building on OSX Lion

% CFLAGS='-arch i386 -m32'  ./configure --prefix=~/lib-for-mosh && make && make install # 32bit oniguruma
% ABI=32 ./configure --prefix=~/lib-for-mosh && make && make install # 32bit libgmp
% git clone git://
% cd mosh
% export PATH=/Users/taro/lib-for-mosh/bin:$PATH # for onig-config
% export CC=clang
% export CXX=clang++
% ./
% CFLAGS='-arch i386' CXXFLAGS='-arch i386' LDFLAGS="-L/Users/higepon/lib-for-mosh/lib"  ./configure --without-nmosh-defaults
% make
% make check
% make install