Skip to content

Commit

Permalink
Ready for Ubuntu 17.10
Browse files Browse the repository at this point in the history
* Flex in, Curry out, since the package of Curry seems broken.
  https://bugs.launchpad.net/ubuntu/+source/pakcs/+bug/1721977
* When `octave -qr QR.octave`, Octave 4.2 seems to parse `QR.m` (which
  is written in Objective C).  To avoid this conflict, temporarily
  rename `QR.m` to `QR.m.bak` during execution of octave.
* Since Afnix fails to find its library, specify `LD_LIBRARY_PATH`
  manually.
  • Loading branch information
mame committed Oct 8, 2017
1 parent 7037953 commit 917ec4e
Show file tree
Hide file tree
Showing 10 changed files with 264 additions and 259 deletions.
32 changes: 16 additions & 16 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ RUN chronic apt-get -qq install -y bc bf bison bsdgames && chronic apt-get clean
RUN chronic apt-get -qq install -y bsh clisp clojure cmake && chronic apt-get clean
RUN chronic apt-get -qq install -y coffeescript dafny dc ecere-dev && chronic apt-get clean
RUN chronic apt-get -qq install -y elixir emacs24 erlang f2c && chronic apt-get clean
RUN chronic apt-get -qq install -y fish flex fp-compiler fsharp && chronic apt-get clean
RUN chronic apt-get -qq install -y g++ gambas3-script gap gawk && chronic apt-get clean
RUN chronic apt-get -qq install -y gcc gdb gdc genius && chronic apt-get clean
RUN chronic apt-get -qq install -y gforth gfortran ghc ghostscript && chronic apt-get clean
RUN chronic apt-get -qq install -y gnat gnu-smalltalk gnuplot gobjc && chronic apt-get clean
RUN chronic apt-get -qq install -y golang gpt gri groff && chronic apt-get clean
RUN chronic apt-get -qq install -y groovy guile-2.0 gzip haxe && chronic apt-get clean
RUN chronic apt-get -qq install -y icont iconx intercal iverilog && chronic apt-get clean
RUN chronic apt-get -qq install -y jasmin-sable jq julia ksh && chronic apt-get clean
RUN chronic apt-get -qq install -y libgd-dev libpng-dev lisaac livescript && chronic apt-get clean
RUN chronic apt-get -qq install -y llvm lua5.3 m4 make && chronic apt-get clean
RUN chronic apt-get -qq install -y maxima minizinc mlton mono-devel && chronic apt-get clean
RUN chronic apt-get -qq install -y mono-mcs mono-vbnc nasm neko && chronic apt-get clean
RUN chronic apt-get -qq install -y nescc nickle nim node-typescript && chronic apt-get clean
RUN chronic apt-get -qq install -y nodejs ocaml octave open-cobol && chronic apt-get clean
RUN chronic apt-get -qq install -y openjdk-8-jdk pakcs pari-gp parser3-cgi && chronic apt-get clean
RUN chronic apt-get -qq install -y fish flex flex fp-compiler && chronic apt-get clean
RUN chronic apt-get -qq install -y fsharp g++ gambas3-script gap && chronic apt-get clean
RUN chronic apt-get -qq install -y gawk gcc gdb gdc && chronic apt-get clean
RUN chronic apt-get -qq install -y genius gforth gfortran ghc && chronic apt-get clean
RUN chronic apt-get -qq install -y ghostscript gnat gnu-smalltalk gnuplot && chronic apt-get clean
RUN chronic apt-get -qq install -y gobjc golang gpt gri && chronic apt-get clean
RUN chronic apt-get -qq install -y groff groovy guile-2.0 gzip && chronic apt-get clean
RUN chronic apt-get -qq install -y haxe icont iconx intercal && chronic apt-get clean
RUN chronic apt-get -qq install -y iverilog jasmin-sable jq julia && chronic apt-get clean
RUN chronic apt-get -qq install -y ksh libgd-dev libpng-dev lisaac && chronic apt-get clean
RUN chronic apt-get -qq install -y livescript llvm lua5.3 m4 && chronic apt-get clean
RUN chronic apt-get -qq install -y make maxima minizinc mlton && chronic apt-get clean
RUN chronic apt-get -qq install -y mono-devel mono-mcs mono-vbnc nasm && chronic apt-get clean
RUN chronic apt-get -qq install -y neko nescc nickle nim && chronic apt-get clean
RUN chronic apt-get -qq install -y node-typescript nodejs ocaml octave && chronic apt-get clean
RUN chronic apt-get -qq install -y open-cobol openjdk-8-jdk pari-gp parser3-cgi && chronic apt-get clean
RUN chronic apt-get -qq install -y perl php-cli pike8.0 python && chronic apt-get clean
RUN chronic apt-get -qq install -y r-base rakudo ratfor rc && chronic apt-get clean
RUN chronic apt-get -qq install -y regina-rexx ruby ruby-mustache rustc && chronic apt-get clean
Expand Down
55 changes: 29 additions & 26 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ QR.aheui: QR.als
@echo "## 30: AFNIX -> Aheui ##"
@echo "##########################"
@echo
axi QR.als > QR.aheui
LD_LIBRARY_PATH=/usr/lib/afnix axi QR.als > QR.aheui

QR.a68: QR.aheui
@echo
Expand Down Expand Up @@ -466,27 +466,18 @@ QR.lisp: QR.coffee
@echo
coffee --nodejs --stack_size=100000 QR.coffee > QR.lisp

QR.curry: QR.lisp
QR.d: QR.lisp
@echo
@echo "################################"
@echo "## 53: Common Lisp -> Curry ##"
@echo "################################"
@echo
clisp QR.lisp > QR.curry

QR.d: QR.curry
@echo
@echo "######################"
@echo "## 54: Curry -> D ##"
@echo "######################"
@echo "############################"
@echo "## 53: Common Lisp -> D ##"
@echo "############################"
@echo
touch ~/.pakcsrc
runcurry QR.curry > QR.d
clisp QR.lisp > QR.d

QR.dfy: QR.d
@echo
@echo "######################"
@echo "## 55: D -> Dafny ##"
@echo "## 54: D -> Dafny ##"
@echo "######################"
@echo
gdc -o QR QR.d
Expand All @@ -495,7 +486,7 @@ QR.dfy: QR.d
QR.dc: QR.dfy
@echo
@echo "#######################"
@echo "## 56: Dafny -> dc ##"
@echo "## 55: Dafny -> dc ##"
@echo "#######################"
@echo
dafny QR.dfy
Expand All @@ -504,15 +495,15 @@ QR.dc: QR.dfy
QR.ec: QR.dc
@echo
@echo "####################"
@echo "## 57: dc -> eC ##"
@echo "## 56: dc -> eC ##"
@echo "####################"
@echo
dc QR.dc > QR.ec

QR.exs: QR.ec
@echo
@echo "########################"
@echo "## 58: eC -> Elixir ##"
@echo "## 57: eC -> Elixir ##"
@echo "########################"
@echo
@mv QR.c QR.c.bak
Expand All @@ -528,43 +519,53 @@ QR.exs: QR.ec
QR.el: QR.exs
@echo
@echo "################################"
@echo "## 59: Elixir -> Emacs Lisp ##"
@echo "## 58: Elixir -> Emacs Lisp ##"
@echo "################################"
@echo
elixir QR.exs > QR.el

QR.erl: QR.el
@echo
@echo "################################"
@echo "## 60: Emacs Lisp -> Erlang ##"
@echo "## 59: Emacs Lisp -> Erlang ##"
@echo "################################"
@echo
emacs -Q --script QR.el > QR.erl

QR.fsx: QR.erl
@echo
@echo "########################"
@echo "## 61: Erlang -> F# ##"
@echo "## 60: Erlang -> F# ##"
@echo "########################"
@echo
escript QR.erl > QR.fsx

QR.false: QR.fsx
@echo
@echo "#######################"
@echo "## 62: F# -> FALSE ##"
@echo "## 61: F# -> FALSE ##"
@echo "#######################"
@echo
fsharpc QR.fsx -o QR.exe
mono QR.exe > QR.false

QR.fish: QR.false
QR.fl: QR.false
@echo
@echo "#########################"
@echo "## 63: FALSE -> Fish ##"
@echo "## 62: FALSE -> Flex ##"
@echo "#########################"
@echo
ruby vendor/false.rb QR.false > QR.fish
ruby vendor/false.rb QR.false > QR.fl

QR.fish: QR.fl
@echo
@echo "########################"
@echo "## 63: Flex -> Fish ##"
@echo "########################"
@echo
flex -o QR.fl.c QR.fl
gcc -o QR QR.fl.c
./QR > QR.fish

QR.fs: QR.fish
@echo
Expand Down Expand Up @@ -966,7 +967,9 @@ QR.ook: QR.octave
@echo "## 110: Octave -> Ook! ##"
@echo "###########################"
@echo
mv QR.m QR.m.bak
octave -qf QR.octave > QR.ook
mv QR.m.bak QR.m

QR.gp: QR.ook
@echo
Expand Down
Loading

0 comments on commit 917ec4e

Please sign in to comment.