mirror of
https://github.com/kanaka/mal.git
synced 2024-08-17 01:30:26 +03:00
Update other Scheme implementations
This commit is contained in:
parent
3d34e31ca9
commit
b2f74ac003
@ -1026,16 +1026,15 @@ scala -classpath target/scala*/classes stepX_YYY
|
|||||||
|
|
||||||
### Scheme (R7RS) ###
|
### Scheme (R7RS) ###
|
||||||
|
|
||||||
The Scheme implementation of mal has been tested with Chibi-Scheme
|
The Scheme implementation of MAL has been tested with Chibi-Scheme
|
||||||
0.7.3, Kawa 2.4, Gauche 0.9.5, CHICKEN 4.11.0, Sagittarius 0.8.3,
|
0.10, Kawa 3.1.1, Gauche 0.9.6, CHICKEN 5.1.0, Sagittarius 0.9.7,
|
||||||
Cyclone 0.6.3 (Git version) and Foment 0.4 (Git version). You should
|
Cyclone 0.32.0 (Git version) and Foment 0.4 (Git version). You should
|
||||||
be able to get it running on other conforming R7RS implementations
|
be able to get it running on other conforming R7RS implementations
|
||||||
after figuring out how libraries are loaded and adjusting the
|
after figuring out how libraries are loaded and adjusting the
|
||||||
`Makefile` and `run` script accordingly.
|
`Makefile` and `run` script accordingly.
|
||||||
|
|
||||||
```
|
```
|
||||||
cd impls/scheme
|
cd impls/scheme
|
||||||
make symlinks
|
|
||||||
# chibi
|
# chibi
|
||||||
scheme_MODE=chibi ./run
|
scheme_MODE=chibi ./run
|
||||||
# kawa
|
# kawa
|
||||||
|
@ -24,33 +24,31 @@ WORKDIR /mal
|
|||||||
# Prepackaged Scheme implementations
|
# Prepackaged Scheme implementations
|
||||||
RUN apt-get -y install gauche chicken-bin
|
RUN apt-get -y install gauche chicken-bin
|
||||||
RUN chicken-install r7rs
|
RUN chicken-install r7rs
|
||||||
|
# Dev tools
|
||||||
|
RUN apt-get -y install gcc g++ bison flex groff make cmake pkg-config git
|
||||||
|
|
||||||
# Chibi
|
# Chibi
|
||||||
RUN apt-get -y install bison gcc g++ flex
|
RUN cd /tmp && curl -Lo chibi-0.10.tar.gz https://github.com/ashinn/chibi-scheme/archive/0.10.tar.gz \
|
||||||
RUN cd /tmp && curl -Lo chibi-0.7.3.tar.gz https://github.com/ashinn/chibi-scheme/archive/0.7.3.tar.gz \
|
&& tar xvzf chibi-0.10.tar.gz && cd chibi-scheme-0.10 \
|
||||||
&& tar xvzf chibi-0.7.3.tar.gz && cd chibi-scheme-0.7.3 \
|
|
||||||
&& make && make install && rm -rf /tmp/chibi-*
|
&& make && make install && rm -rf /tmp/chibi-*
|
||||||
|
|
||||||
# Kawa
|
# Kawa
|
||||||
RUN apt-get -y install openjdk-8-jdk-headless groff
|
RUN apt-get -y install openjdk-8-jdk-headless
|
||||||
RUN cd /tmp && curl -O http://ftp.gnu.org/pub/gnu/kawa/kawa-2.4.tar.gz \
|
RUN cd /tmp && curl -O http://ftp.gnu.org/pub/gnu/kawa/kawa-3.1.1.tar.gz \
|
||||||
&& tar xvzf kawa-2.4.tar.gz && cd kawa-2.4 \
|
&& tar xvzf kawa-3.1.1.tar.gz && cd kawa-3.1.1 \
|
||||||
&& ./configure && make && make install && rm -rf /tmp/kawa-2.4*
|
&& ./configure && make && make install && rm -rf /tmp/kawa-3.1.1*
|
||||||
|
|
||||||
# Sagittarius
|
# Sagittarius
|
||||||
RUN apt-get -y install cmake libgc-dev zlib1g-dev libffi-dev
|
RUN apt-get -y install libgc-dev zlib1g-dev libffi-dev libssl-dev
|
||||||
RUN cd /tmp && curl -LO https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.8.3.tar.gz \
|
RUN cd /tmp && curl -LO https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.9.7.tar.gz \
|
||||||
&& tar xvzf sagittarius-0.8.3.tar.gz && cd sagittarius-0.8.3 \
|
&& tar xvzf sagittarius-0.9.7.tar.gz && cd sagittarius-0.9.7 \
|
||||||
&& cmake . && make && make install && rm -rf /tmp/sagittarius-0.8.3*
|
&& cmake . && make && make install && rm -rf /tmp/sagittarius-0.9.7*
|
||||||
|
|
||||||
# Cyclone
|
# Cyclone
|
||||||
RUN apt-get -y install git libtommath-dev
|
RUN apt-get -y install libck-dev libtommath-dev
|
||||||
RUN cd /tmp && curl -O http://concurrencykit.org/releases/ck-0.6.0.tar.gz \
|
|
||||||
&& tar xvzf ck-0.6.0.tar.gz && cd ck-0.6.0 && ./configure PREFIX=/usr \
|
|
||||||
&& make all && make install && ldconfig && rm -rf /tmp/ck-0.6.0*
|
|
||||||
RUN cd /tmp && git clone https://github.com/justinethier/cyclone-bootstrap \
|
RUN cd /tmp && git clone https://github.com/justinethier/cyclone-bootstrap \
|
||||||
&& cd cyclone-bootstrap && make CFLAGS="-O2 -fPIC -rdynamic -Wall -Iinclude -L." \
|
&& cd cyclone-bootstrap \
|
||||||
&& make install && rm -rf /tmp/cyclone-bootstrap
|
&& make && make install && rm -rf /tmp/cyclone-bootstrap
|
||||||
|
|
||||||
# Foment
|
# Foment
|
||||||
RUN cd /tmp && git clone https://github.com/leftmike/foment \
|
RUN cd /tmp && git clone https://github.com/leftmike/foment \
|
||||||
|
Loading…
Reference in New Issue
Block a user