Import APT package installation
This commit is contained in:
parent
ec94a44030
commit
d782cc1fb5
|
@ -3,6 +3,12 @@ aliases:
|
|||
- "aplus"
|
||||
name: "A+"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- aplus-fsf
|
||||
- aplus-fsf-doc
|
||||
- rlwrap
|
||||
|
||||
repl: |
|
||||
rlwrap a+
|
||||
input: |
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
id: "abc"
|
||||
name: "ABC"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- libtinfo5:i386
|
||||
|
||||
repl: |
|
||||
abc
|
||||
input: |
|
||||
|
|
|
@ -26,6 +26,10 @@ info:
|
|||
- oo
|
||||
usage: popular
|
||||
|
||||
install:
|
||||
apt:
|
||||
- gnat
|
||||
|
||||
main: "main.adb"
|
||||
template: |
|
||||
with Ada.Text_IO;
|
||||
|
|
|
@ -5,6 +5,11 @@ aliases:
|
|||
- "axi"
|
||||
name: "Afnix"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- afnix
|
||||
- afnix-doc
|
||||
|
||||
repl: |
|
||||
LD_LIBRARY_PATH=/usr/lib/afnix axi
|
||||
input: |
|
||||
|
|
|
@ -26,6 +26,10 @@ info:
|
|||
paradigm: imperative
|
||||
usage: []
|
||||
|
||||
install:
|
||||
apt:
|
||||
- algol68g
|
||||
|
||||
main: "main.alg"
|
||||
template: |
|
||||
print(("Hello, world!",new line))
|
||||
|
|
|
@ -24,6 +24,10 @@ info:
|
|||
- imperative
|
||||
usage: []
|
||||
|
||||
install:
|
||||
apt:
|
||||
- libtinfo5
|
||||
|
||||
repl: |
|
||||
apl
|
||||
input: |
|
||||
|
|
|
@ -19,6 +19,11 @@ info:
|
|||
paradigm: imperative
|
||||
usage: []
|
||||
|
||||
install:
|
||||
apt:
|
||||
- gcc-arm-linux-gnueabihf
|
||||
- qemu-user-static
|
||||
|
||||
main: "main.S"
|
||||
template: |2
|
||||
.text
|
||||
|
|
|
@ -20,6 +20,10 @@ info:
|
|||
paradigm: []
|
||||
usage: []
|
||||
|
||||
install:
|
||||
apt:
|
||||
- asciidoc
|
||||
|
||||
main: "main.adoc"
|
||||
template: |
|
||||
Hello, world!
|
||||
|
|
|
@ -3,6 +3,10 @@ aliases:
|
|||
- "aspectcpp"
|
||||
name: "AspectC++"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- aspectc++
|
||||
|
||||
main: "main.cpp"
|
||||
template: |
|
||||
#include <iostream>
|
||||
|
|
|
@ -3,6 +3,10 @@ aliases:
|
|||
- "aj"
|
||||
name: "AspectJ"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- aspectj
|
||||
|
||||
main: "Main.aj"
|
||||
template: |
|
||||
public class Main {
|
||||
|
|
|
@ -3,6 +3,10 @@ aliases:
|
|||
- "asy"
|
||||
name: "Asymptote"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- asymptote
|
||||
|
||||
repl: |
|
||||
asy
|
||||
|
||||
|
|
|
@ -34,6 +34,10 @@ info:
|
|||
- declarative
|
||||
usage: []
|
||||
|
||||
install:
|
||||
apt:
|
||||
- ats2-lang
|
||||
|
||||
main: "main.dats"
|
||||
template: |
|
||||
val _ = print ("Hello, world!\n")
|
||||
|
|
|
@ -22,6 +22,10 @@ info:
|
|||
paradigm: imperative
|
||||
usage: []
|
||||
|
||||
install:
|
||||
apt:
|
||||
- mawk
|
||||
|
||||
main: "main.awk"
|
||||
template: |
|
||||
BEGIN { print "Hello, world!" }
|
||||
|
|
|
@ -24,6 +24,10 @@ info:
|
|||
paradigm: imperative
|
||||
usage: []
|
||||
|
||||
install:
|
||||
apt:
|
||||
- bash
|
||||
|
||||
repl: |
|
||||
bash --rcfile /dev/null
|
||||
input: |
|
||||
|
|
|
@ -24,6 +24,10 @@ info:
|
|||
paradigm: imperative
|
||||
usage: []
|
||||
|
||||
install:
|
||||
apt:
|
||||
- bwbasic
|
||||
|
||||
repl: |
|
||||
bwbasic
|
||||
input: |
|
||||
|
|
|
@ -18,6 +18,13 @@ info:
|
|||
paradigm: imperative
|
||||
usage: personal
|
||||
|
||||
install:
|
||||
build:
|
||||
apt:
|
||||
- golang
|
||||
apt:
|
||||
- yasm
|
||||
|
||||
main: "main.bts"
|
||||
template: |
|
||||
const message = "Hello, world!
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
id: "bc"
|
||||
name: "bc"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- bc
|
||||
|
||||
repl: |
|
||||
bc
|
||||
|
||||
|
|
|
@ -3,6 +3,10 @@ aliases:
|
|||
- "bsh"
|
||||
name: "Beanshell"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- bsh
|
||||
|
||||
repl: |
|
||||
CLASSPATH=/usr/share/java/jline.jar:/usr/share/java/bsh.jar java -Duser.home="$PWD" jline.ConsoleRunner bsh.Interpreter
|
||||
input: |
|
||||
|
|
|
@ -24,6 +24,10 @@ info:
|
|||
paradigm: turing
|
||||
usage: []
|
||||
|
||||
install:
|
||||
apt:
|
||||
- beef
|
||||
|
||||
repl: |
|
||||
brainf-repl
|
||||
input: |
|
||||
|
|
|
@ -52,6 +52,12 @@ info:
|
|||
- oo
|
||||
usage: popular
|
||||
|
||||
install:
|
||||
apt:
|
||||
- clang
|
||||
- clang-format
|
||||
- clangd
|
||||
|
||||
main: "main.cpp"
|
||||
template: |
|
||||
#include <iostream>
|
||||
|
|
|
@ -30,6 +30,12 @@ info:
|
|||
paradigm: imperative
|
||||
usage: popular
|
||||
|
||||
install:
|
||||
apt:
|
||||
- clang
|
||||
- clang-format
|
||||
- clangd
|
||||
|
||||
main: "main.c"
|
||||
template: |
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -19,6 +19,11 @@ info:
|
|||
- oo
|
||||
usage: []
|
||||
|
||||
install:
|
||||
apt:
|
||||
- $(grep-aptavail -F Package ceylon -s Package -n | sort -rV | head -n1)
|
||||
- openjdk-8-jdk-headless
|
||||
|
||||
main: "source/main.ceylon"
|
||||
template: |
|
||||
shared void run() {
|
||||
|
|
|
@ -5,6 +5,10 @@ aliases:
|
|||
- "ilasm"
|
||||
name: "CIL"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- mono-devel
|
||||
|
||||
main: "main.il"
|
||||
template: |
|
||||
.assembly main {}
|
||||
|
|
|
@ -30,6 +30,10 @@ info:
|
|||
- oo
|
||||
usage: []
|
||||
|
||||
install:
|
||||
apt:
|
||||
- clojure
|
||||
|
||||
repl: |
|
||||
clojure
|
||||
input: |
|
||||
|
|
|
@ -3,6 +3,10 @@ aliases:
|
|||
- "cmakelists"
|
||||
name: "CMake"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- cmake
|
||||
|
||||
main: "main.cmake"
|
||||
template: |
|
||||
message("Hello, world!")
|
||||
|
|
|
@ -22,6 +22,11 @@ info:
|
|||
paradigm: imperative
|
||||
usage: []
|
||||
|
||||
install:
|
||||
apt:
|
||||
- wine
|
||||
- wine32
|
||||
|
||||
setup: |
|
||||
shopt -s dotglob; cp -R /opt/cmd/home-template/* ./
|
||||
|
||||
|
|
|
@ -29,6 +29,10 @@ info:
|
|||
- oo
|
||||
usage: popular
|
||||
|
||||
install:
|
||||
apt:
|
||||
- gnucobol
|
||||
|
||||
main: "main.cbl"
|
||||
template: |
|
||||
IDENTIFICATION DIVISION.
|
||||
|
|
|
@ -37,6 +37,11 @@ info:
|
|||
- oo
|
||||
usage: []
|
||||
|
||||
install:
|
||||
apt:
|
||||
- sbcl
|
||||
- rlwrap
|
||||
|
||||
repl: |
|
||||
rlwrap sbcl
|
||||
input: |
|
||||
|
|
|
@ -19,6 +19,10 @@ info:
|
|||
paradigm: oo
|
||||
usage: []
|
||||
|
||||
install:
|
||||
apt:
|
||||
- crystal
|
||||
|
||||
main: "main.cr"
|
||||
template: |
|
||||
puts "Hello, world!"
|
||||
|
|
|
@ -5,6 +5,11 @@ aliases:
|
|||
name: "C#"
|
||||
monacoLang: csharp
|
||||
|
||||
install:
|
||||
apt:
|
||||
- mono-mcs
|
||||
- clang-format
|
||||
|
||||
main: "main.cs"
|
||||
template: |
|
||||
class main {
|
||||
|
|
|
@ -4,6 +4,10 @@ aliases:
|
|||
- "pakcs"
|
||||
name: "Curry"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- pakcs
|
||||
|
||||
repl: |
|
||||
pakcs
|
||||
|
||||
|
|
|
@ -3,6 +3,11 @@ aliases:
|
|||
- "dfy"
|
||||
name: "Dafny"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- dafny
|
||||
- mono-runtime
|
||||
|
||||
main: "main.dfy"
|
||||
template: |
|
||||
method Main() {
|
||||
|
|
|
@ -2,6 +2,10 @@ id: "dart"
|
|||
name: "Dart"
|
||||
monacoLang: dart
|
||||
|
||||
install:
|
||||
apt:
|
||||
- dart
|
||||
|
||||
main: "main.dart"
|
||||
template: |
|
||||
void main() {
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
id: "dc"
|
||||
name: "dc"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- dc
|
||||
|
||||
repl: |
|
||||
echo 'Reading from stdin...' >&2; dc
|
||||
input: |
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
id: "dhall"
|
||||
name: "Dhall"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- dhall
|
||||
|
||||
main: "main.dhall"
|
||||
template: |
|
||||
{ output = "Hello, world!" }
|
||||
|
|
|
@ -3,6 +3,10 @@ aliases:
|
|||
- "opendylan"
|
||||
name: "Dylan"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- libunwind-dev
|
||||
|
||||
setup: |
|
||||
cp -R /opt/dylan/project-template/* ./
|
||||
|
||||
|
|
|
@ -6,6 +6,10 @@ aliases:
|
|||
- "ecc"
|
||||
name: "eC"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- ecere-dev
|
||||
|
||||
main: "main.ec"
|
||||
template: |
|
||||
class Main : Application
|
||||
|
|
|
@ -4,6 +4,10 @@ aliases:
|
|||
- "exs"
|
||||
name: "Elixir"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- elixir
|
||||
|
||||
repl: |
|
||||
iex
|
||||
input: |
|
||||
|
|
|
@ -3,6 +3,10 @@ aliases:
|
|||
- "elv"
|
||||
name: "Elvish"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- elvish
|
||||
|
||||
repl: |
|
||||
SHELL=/usr/bin/elvish HOME="$PWD" elvish
|
||||
input: |
|
||||
|
|
|
@ -7,6 +7,10 @@ aliases:
|
|||
- "ielm"
|
||||
name: "Emacs Lisp"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- emacs-nox
|
||||
|
||||
repl: |
|
||||
emacs --eval "(progn (require 'package) (push '("melpa" . "https://melpa.org/packages/") package-archives) (package-initialize) (ielm))"
|
||||
input: |
|
||||
|
@ -25,10 +29,10 @@ scope:
|
|||
|
||||
pkg:
|
||||
install: |
|
||||
emacs -Q --batch --eval "(progn (require 'package) (push '("melpa" . "https://melpa.org/packages/") package-archives) (package-initialize) (unless (ignore-errors (>= (length (directory-files "~/.emacs.d/elpa/archives")) 4)) (package-refresh-contents)) (package-install 'NAME))"
|
||||
emacs -Q --batch --eval "(progn (require 'package) (push '(\"melpa\" . \"https://melpa.org/packages/\") package-archives) (package-initialize) (unless (ignore-errors (>= (length (directory-files \"~/.emacs.d/elpa/archives\")) 4)) (package-refresh-contents)) (package-install 'NAME))"
|
||||
|
||||
uninstall: |
|
||||
ls ~/.emacs.d/elpa | grep -- - | grep '^NAME-[0-9]' | while read pkg; do emacs -Q --batch --eval "(progn (require 'package) (push '("melpa" . "https://melpa.org/packages/") package-archives) (package-initialize) (unless (ignore-errors (>= (length (directory-files "~/.emacs.d/elpa/archives")) 4)) (package-refresh-contents)) (call-interactively 'package-delete))" <<< "$pkg"; done
|
||||
ls ~/.emacs.d/elpa | grep -- - | grep '^NAME-[0-9]' | while read pkg; do emacs -Q --batch --eval "(progn (require 'package) (push '(\"melpa" . "https://melpa.org/packages/\") package-archives) (package-initialize) (unless (ignore-errors (>= (length (directory-files \"~/.emacs.d/elpa/archives\")) 4)) (package-refresh-contents)) (call-interactively 'package-delete))" <<< "$pkg"; done
|
||||
|
||||
all: |
|
||||
set -o pipefail; (curl -sS https://elpa.gnu.org/packages/ | grep '<td>' | grep -Eo '[^>]+</a>' | grep -Eo '^[^<]+' && curl -sS https://melpa.org/archive.json | jq -r 'keys | .[]') | sort | uniq
|
||||
|
|
|
@ -3,6 +3,12 @@ aliases:
|
|||
- "erl"
|
||||
name: "Erlang"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- erlang
|
||||
- libodbc1 # workaround bug in APT
|
||||
- rebar
|
||||
|
||||
repl: |
|
||||
erl
|
||||
input: |
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
id: "fish"
|
||||
name: "Fish"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- fish
|
||||
|
||||
repl: |
|
||||
SHELL=/usr/bin/fish fish
|
||||
input: |
|
||||
|
|
|
@ -3,6 +3,11 @@ aliases:
|
|||
- "lex"
|
||||
name: "Flex"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- flex
|
||||
- flex-doc
|
||||
|
||||
main: "main.lex"
|
||||
template: |
|
||||
%{
|
||||
|
|
|
@ -3,6 +3,10 @@ aliases:
|
|||
- "gforth"
|
||||
name: "Forth"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- gforth
|
||||
|
||||
repl: |
|
||||
gforth
|
||||
input: |
|
||||
|
|
|
@ -9,6 +9,10 @@ aliases:
|
|||
- "fortran2008"
|
||||
name: "FORTRAN"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- flang
|
||||
|
||||
main: "main.f"
|
||||
template: |2
|
||||
program hello
|
||||
|
|
|
@ -6,6 +6,10 @@ aliases:
|
|||
name: "F#"
|
||||
monacoLang: fsharp
|
||||
|
||||
install:
|
||||
apt:
|
||||
- fsharp
|
||||
|
||||
repl: |
|
||||
fsharpi
|
||||
input: |
|
||||
|
|
|
@ -4,6 +4,10 @@ aliases:
|
|||
- "gbs"
|
||||
name: "Gambas"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- gambas3-script
|
||||
|
||||
main: "main.gbs"
|
||||
template: |
|
||||
Print "Hello, world!"
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
id: "gap"
|
||||
name: "GAP"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- gap
|
||||
|
||||
repl: |
|
||||
gap
|
||||
input: |
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
id: "gdb"
|
||||
name: "GDB"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- gdb
|
||||
|
||||
repl: |
|
||||
gdb
|
||||
input: |
|
||||
|
|
|
@ -3,6 +3,10 @@ aliases:
|
|||
- "genius"
|
||||
name: "GEL"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- genius
|
||||
|
||||
repl: |
|
||||
genius
|
||||
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
id: "gnuplot"
|
||||
name: "Gnuplot"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- gnuplot
|
||||
|
||||
repl: |
|
||||
gnuplot
|
||||
input: |
|
||||
|
|
|
@ -4,6 +4,10 @@ aliases:
|
|||
name: "Go"
|
||||
monacoLang: go
|
||||
|
||||
install:
|
||||
apt:
|
||||
- golang
|
||||
|
||||
main: "main.go"
|
||||
template: |
|
||||
package main
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
id: "groovy"
|
||||
name: "Groovy"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- groovy
|
||||
|
||||
repl: |
|
||||
JAVA_OPTS="-Djava.util.prefs.systemRoot=$PWD/.java -Djava.util.prefs.userRoot=$PWD/.java/.userPrefs" groovysh
|
||||
|
||||
|
|
|
@ -3,6 +3,10 @@ aliases:
|
|||
- "hhvm"
|
||||
name: "Hack"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- hhvm
|
||||
|
||||
repl: |
|
||||
hhvm -a
|
||||
input: |
|
||||
|
|
|
@ -5,6 +5,13 @@ aliases:
|
|||
- "hs"
|
||||
name: "Haskell"
|
||||
|
||||
install:
|
||||
build:
|
||||
apt:
|
||||
- cabal-install
|
||||
apt:
|
||||
- ghc
|
||||
|
||||
repl: |
|
||||
rm -f .ghci && ghci
|
||||
|
||||
|
|
|
@ -3,6 +3,10 @@ aliases:
|
|||
- "hx"
|
||||
name: "Haxe"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- haxe
|
||||
|
||||
main: "Main.hx"
|
||||
template: |
|
||||
class Main {
|
||||
|
|
|
@ -5,6 +5,10 @@ aliases:
|
|||
- "iconx"
|
||||
name: "Icon"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- icont
|
||||
|
||||
main: "main.icn"
|
||||
template: |
|
||||
procedure main ()
|
||||
|
|
|
@ -4,6 +4,12 @@ aliases:
|
|||
- "idris2"
|
||||
name: "Idris"
|
||||
|
||||
install:
|
||||
build:
|
||||
apt:
|
||||
- chezscheme
|
||||
- gcc
|
||||
|
||||
repl: |
|
||||
rm -f .idris/repl/init; idris2
|
||||
|
||||
|
|
|
@ -4,6 +4,10 @@ aliases:
|
|||
- "ick"
|
||||
name: "INTERCAL"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- intercal
|
||||
|
||||
main: "main.i"
|
||||
template: |
|
||||
DO ,1 <- #14
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
id: "jasmin"
|
||||
name: "Jasmin"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- jasmin-sable
|
||||
|
||||
main: "Main.j"
|
||||
template: |
|
||||
.class public Main
|
||||
|
|
|
@ -4,6 +4,11 @@ aliases:
|
|||
name: "Java"
|
||||
monacoLang: java
|
||||
|
||||
install:
|
||||
apt:
|
||||
- default-jdk
|
||||
- clang-format
|
||||
|
||||
main: "Main.java"
|
||||
template: |
|
||||
public class Main {
|
||||
|
|
|
@ -10,6 +10,11 @@ aliases:
|
|||
name: "JavaScript"
|
||||
monacoLang: javascript
|
||||
|
||||
install:
|
||||
apt:
|
||||
- nodejs
|
||||
- yarn
|
||||
|
||||
repl: |
|
||||
node
|
||||
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
id: "jq"
|
||||
name: "jq"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- jq
|
||||
|
||||
repl: |
|
||||
echo 'Reading from stdin...' >&2 && while true; do jq .; done
|
||||
input: |
|
||||
|
|
|
@ -3,6 +3,10 @@ aliases:
|
|||
- "jl"
|
||||
name: "Julia"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- julia
|
||||
|
||||
repl: |
|
||||
julia
|
||||
|
||||
|
|
|
@ -4,6 +4,10 @@ aliases:
|
|||
name: "Ksh"
|
||||
monacoLang: shell
|
||||
|
||||
install:
|
||||
apt:
|
||||
- ksh
|
||||
|
||||
repl: |
|
||||
SHELL=/usr/bin/ksh HOME="$PWD" ksh
|
||||
input: |
|
||||
|
|
|
@ -4,6 +4,15 @@ aliases:
|
|||
- "b"
|
||||
name: "Limbo"
|
||||
|
||||
install:
|
||||
build:
|
||||
apt:
|
||||
- gcc
|
||||
- libc6-dev:i386
|
||||
- libx11-dev:i386
|
||||
- libxext-dev:i386
|
||||
- linux-libc-dev:i386
|
||||
|
||||
setup: |
|
||||
ln -s /usr/local/inferno/* ./
|
||||
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
id: "lisaac"
|
||||
name: "Lisaac"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- lisaac
|
||||
|
||||
main: "main.li"
|
||||
template: |
|
||||
Section Header
|
||||
|
|
|
@ -2,6 +2,10 @@ id: "llvm"
|
|||
name: "LLVM"
|
||||
monacoLang: shell
|
||||
|
||||
install:
|
||||
apt:
|
||||
- llvm
|
||||
|
||||
main: "main.ll"
|
||||
template: |
|
||||
@.str = private unnamed_addr constant [13 x i8] c"Hello, world!"
|
||||
|
|
|
@ -4,6 +4,11 @@ aliases:
|
|||
- "lci"
|
||||
name: "LOLCODE"
|
||||
|
||||
install:
|
||||
build:
|
||||
apt:
|
||||
- cmake
|
||||
|
||||
main: "main.lol"
|
||||
template: |
|
||||
HAI 1.2
|
||||
|
|
|
@ -2,6 +2,10 @@ id: "lua"
|
|||
name: "Lua"
|
||||
monacoLang: lua
|
||||
|
||||
install:
|
||||
apt:
|
||||
- $(grep-aptavail -XF Provides lua -a -XF Version "$(grep-aptavail -XF Provides lua -s Version -n | sort -Vr | head -n1)" -s Package -n | head -n1)
|
||||
|
||||
repl: |
|
||||
lua
|
||||
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
id: "m4"
|
||||
name: "m4"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- m4
|
||||
|
||||
repl: |
|
||||
echo 'Reading from stdin...' >&2; m4
|
||||
input: |
|
||||
|
|
|
@ -3,6 +3,10 @@ aliases:
|
|||
- "maria"
|
||||
name: "MariaDB"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- libtinfo5
|
||||
|
||||
repl: |
|
||||
rm -rf data && /opt/mariadb/scripts/mariadb-install-db --user="$(id -un)" && (/opt/mariadb/bin/mysqld --datadir="$PWD/data" --socket="$PWD/socket" --skip-networking &) && until [[ -e socket ]]; do sleep 0.01; done && mysql --socket="$PWD/socket"
|
||||
input: |
|
||||
|
|
|
@ -3,6 +3,10 @@ aliases:
|
|||
- "mzn"
|
||||
name: "MiniZinc"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- minizinc
|
||||
|
||||
main: "main.mzn"
|
||||
template: |
|
||||
solve satisfy;
|
||||
|
|
|
@ -4,6 +4,11 @@ aliases:
|
|||
name: "MIPS"
|
||||
monacoLang: mips
|
||||
|
||||
install:
|
||||
apt:
|
||||
- gcc-mips64-linux-gnuabi64
|
||||
- qemu-user-static
|
||||
|
||||
main: "main.S"
|
||||
template: |2
|
||||
.text
|
||||
|
|
|
@ -4,6 +4,10 @@ aliases:
|
|||
- "mongod"
|
||||
name: "MongoDB"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- mongodb
|
||||
|
||||
repl: |
|
||||
while ps -u "$(id -un)" -o comm | grep -q mongod; do sleep 0.01; done && rm -rf data && mkdir data && (mongod --dbpath=data --unixSocketPrefix="$PWD" --bind_ip=, &) && until mongo --host "$PWD/mongodb-27017.sock" --eval ' ' &>/dev/null; do sleep 0.01; done && mongo --host "$PWD/mongodb-27017.sock"
|
||||
|
||||
|
|
|
@ -5,6 +5,10 @@ aliases:
|
|||
- "fisgtm"
|
||||
name: "MUMPS"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- fis-gtm
|
||||
|
||||
main: "main.m"
|
||||
template: |
|
||||
main()
|
||||
|
|
|
@ -3,6 +3,10 @@ aliases:
|
|||
- "my"
|
||||
name: "MySQL"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- mysql-server
|
||||
|
||||
repl: |
|
||||
rm -rf data && mysqld -h "$PWD/data" --initialize-insecure && (mysqld -h "$PWD/data" --socket="$PWD/socket" --pid-file="$PWD/pid-file" --mysqlx=OFF --skip-networking &) && until [[ -e socket ]]; do sleep 0.01; done && mysql --socket="$PWD/socket" -u root
|
||||
input: |
|
||||
|
|
|
@ -3,6 +3,10 @@ aliases:
|
|||
- "nekoc"
|
||||
name: "Neko"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- neko
|
||||
|
||||
main: "main.neko"
|
||||
template: |
|
||||
$print("Hello, world!\n");
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
id: "nickle"
|
||||
name: "Nickle"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- nickle
|
||||
|
||||
repl: |
|
||||
nickle
|
||||
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
id: "nim"
|
||||
name: "Nim"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- nim
|
||||
|
||||
main: "main.nim"
|
||||
template: |
|
||||
echo "Hello, world!"
|
||||
|
|
|
@ -3,6 +3,11 @@ aliases:
|
|||
- "obn"
|
||||
name: "Oberon"
|
||||
|
||||
install:
|
||||
build:
|
||||
apt:
|
||||
- clang
|
||||
|
||||
main: "Main.obn"
|
||||
template: |
|
||||
MODULE Main;
|
||||
|
|
|
@ -5,6 +5,12 @@ aliases:
|
|||
- "objectivecpp"
|
||||
name: "Objective-C++"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- gcc
|
||||
- gnustep-devel
|
||||
- gobjc++
|
||||
|
||||
main: "main.mm"
|
||||
template: |
|
||||
#import <Foundation/Foundation.h>
|
||||
|
|
|
@ -5,6 +5,11 @@ aliases:
|
|||
name: "Objective-C"
|
||||
monacoLang: objective-c
|
||||
|
||||
install:
|
||||
apt:
|
||||
- gcc
|
||||
- gnustep-devel
|
||||
|
||||
main: "main.m"
|
||||
template: |
|
||||
#import <Foundation/Foundation.h>
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
id: "ocaml"
|
||||
name: "OCaml"
|
||||
|
||||
install:
|
||||
build:
|
||||
apt:
|
||||
- opam
|
||||
apt:
|
||||
- ocaml
|
||||
|
||||
repl: |
|
||||
ocaml
|
||||
input: |
|
||||
|
|
|
@ -5,6 +5,10 @@ aliases:
|
|||
- "mathworks"
|
||||
name: "Octave"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- octave
|
||||
|
||||
repl: |
|
||||
octave
|
||||
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
id: "ook"
|
||||
name: "Ook"
|
||||
|
||||
install:
|
||||
build:
|
||||
apt:
|
||||
- autoconf
|
||||
|
||||
main: "main.ook"
|
||||
template: |
|
||||
Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
id: "openscad"
|
||||
name: "OpenSCAD"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- openscad
|
||||
|
||||
main: "main.scad"
|
||||
template: |
|
||||
echo("Hello, world!");
|
||||
|
|
|
@ -3,6 +3,10 @@ aliases:
|
|||
- "gp"
|
||||
name: "PARI/GP"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- pari-gp
|
||||
|
||||
repl: |
|
||||
gp
|
||||
|
||||
|
|
|
@ -4,6 +4,10 @@ aliases:
|
|||
- "p"
|
||||
name: "Parser3"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- parser3-cgi
|
||||
|
||||
main: "main.p"
|
||||
template: |
|
||||
$console:line[Hello, world!]
|
||||
|
|
|
@ -5,6 +5,10 @@ aliases:
|
|||
name: "Pascal"
|
||||
monacoLang: pascal
|
||||
|
||||
install:
|
||||
apt:
|
||||
- fpc
|
||||
|
||||
main: "main.pas"
|
||||
template: |
|
||||
program Main;
|
||||
|
|
|
@ -5,6 +5,10 @@ aliases:
|
|||
name: "Perl"
|
||||
monacoLang: perl
|
||||
|
||||
install:
|
||||
apt:
|
||||
- perl
|
||||
|
||||
repl: |
|
||||
re.pl
|
||||
|
||||
|
|
|
@ -4,6 +4,10 @@ aliases:
|
|||
name: "PHP"
|
||||
monacoLang: php
|
||||
|
||||
install:
|
||||
apt:
|
||||
- php
|
||||
|
||||
repl: |
|
||||
php -a
|
||||
input: |
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
id: "pike"
|
||||
name: "Pike"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- $(grep-aptavail -eF Package "^pike[0-9.]+$" -s Package -n | sort -Vr | head -n1)
|
||||
- $(grep-aptavail -eF Package "^pike[0-9.]+$" -s Package -n | sort -Vr | head -n1)-doc
|
||||
|
||||
repl: |
|
||||
pike
|
||||
input: |
|
||||
|
|
|
@ -7,6 +7,11 @@ aliases:
|
|||
name: "PostgreSQL"
|
||||
monacoLang: pgsql
|
||||
|
||||
install:
|
||||
apt:
|
||||
- postgresql
|
||||
- postgresql-client
|
||||
|
||||
repl: |
|
||||
rm -rf data && /usr/lib/postgresql/*/bin/initdb -D data && (echo "listen_addresses = ''" && echo "unix_socket_directories = '.'") >> data/postgresql.conf && /usr/lib/postgresql/*/bin/pg_ctl -D data -w start && psql -h "$PWD/data" postgres
|
||||
input: |
|
||||
|
|
|
@ -5,6 +5,11 @@ aliases:
|
|||
- "ghostscript"
|
||||
name: "PostScript"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- ghostscript
|
||||
- rlwrap
|
||||
|
||||
repl: |
|
||||
rlwrap gs
|
||||
input: |
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
id: "prolog"
|
||||
name: "Prolog"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- swi-prolog
|
||||
|
||||
repl: |
|
||||
prolog
|
||||
input: |
|
||||
|
|
|
@ -4,6 +4,10 @@ aliases:
|
|||
- "pml"
|
||||
name: "PROMELA"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- spin
|
||||
|
||||
main: "main.pml"
|
||||
template: |
|
||||
active proctype main() {
|
||||
|
|
|
@ -4,6 +4,10 @@ aliases:
|
|||
- "pure"
|
||||
name: "PureScript"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- libtinfo5
|
||||
|
||||
setup: |
|
||||
shopt -s dotglob; cp -R /opt/purescript/project-template/* "$PWD/"
|
||||
|
||||
|
|
|
@ -4,6 +4,10 @@ aliases:
|
|||
- "qs"
|
||||
name: "Q#"
|
||||
|
||||
install:
|
||||
apt:
|
||||
- $(grep-aptavail -eF Package "^dotnet-sdk-[0-9.]+$" -s Package -n | sort -Vr | head -n1)
|
||||
|
||||
setup: |
|
||||
cp -R /opt/qsharp/dotnet ./.dotnet && cp -R /opt/qsharp/project-template/* ./
|
||||
|
||||
|
|
|
@ -4,6 +4,10 @@ aliases:
|
|||
name: "R"
|
||||
monacoLang: r
|
||||
|
||||
install:
|
||||
apt:
|
||||
- r-base
|
||||
|
||||
repl: |
|
||||
R
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue