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
Permalink
Failed to load latest commit information.
boot
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
src
tests VM: Add set-current-error-port! to redirect errors for GUI Jan 15, 2012
.gitignore fix copied in psyntax Feb 4, 2017
CMakeLists.txt
COPYING
Generate.mk
INSTALL INSTALL: remove MinGW May 20, 2011
Makefile.am fix linker option syntax for GCC 4.7 May 31, 2012
Makefile.mona Fixed build on Mona . Feb 6, 2012
README.md
configure.ac Change test "" = to test -z Apr 19, 2012
gen-git-build.sh self-bootstrap: move (nmosh boot) libraries into boot/. Aug 13, 2011

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