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 4, 2017 @higepon committed on GitHub Merge pull request #12 from amoe/master
fix build by embedding pre-built psyntax lib for bootstrapping

README.md

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 http://mosh.monaos.org.

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

Requirements

auto tools

Following autotools version works.

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

Building

% git clone git://github.com/higepon/mosh.git
% cd mosh
% ./gen-git-build.sh
% ./configure
% make
% make check
% make install

If you have issues during the gen-git-build.sh 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://github.com/higepon/mosh.git
% cd mosh
% export PATH=/Users/taro/lib-for-mosh/bin:$PATH # for onig-config
% export CC=clang
% export CXX=clang++
% ./gen-git-build.sh
% CFLAGS='-arch i386' CXXFLAGS='-arch i386' LDFLAGS="-L/Users/higepon/lib-for-mosh/lib"  ./configure --without-nmosh-defaults
% make
% make check
% make install