Sign inSign up

agocorona/frege

By agocorona

•Updated almost 10 years ago

Frege, the haskell compiler for the JVM

Image
0

1.5K

agocorona/frege repository overview

Run as:

    docker run -it agocorona/frege  bash

Inspired in frege REPL docker image:

https://github.com/zaneli/Dockerfiles/tree/master/frege-repl⁠

Dockerfile:

FROM alpine:3.3

RUN apk --no-cache add openjdk8 bash
ENV JAVA_HOME /usr/lib/jvm/default-jvm/

RUN cd /root/ && wget https://github.com/Frege/frege/releases/download/3.24alpha/frege3.24-7.100.jar
RUN ["bash"]

added: alias frege='java -Xss1m -jar /root/frege3.24-7.100.jar -d build -target 1.7' alias freger='java -Xss1m -cp build:/root/frege3.24-7.100.jar'

compile the Frege example with

frege SimpleIO.fr

run it with:

freger examples.SimpleIO

Tag summary

Content type

Image

Digest

Size

76.8 MB

Last updated

almost 10 years ago

docker pull agocorona/frege:alias