At this point the number of languages is absurd

This commit is contained in:
Radon Rosborough 2020-06-09 13:34:07 -06:00
parent c34ccf26e8
commit 846caf2ad8
2 changed files with 36 additions and 0 deletions

View File

@ -368,6 +368,15 @@ import "fmt"
func main() {
fmt.Println("Hello, world!")
}
`,
},
groovy: {
name: "Groovy",
monacoLang: "plaintext",
repl: "groovysh",
main: "main.groovy",
run: "groovysh main.groovy",
template: `print "Hello, world!";
`,
},
haskell: {
@ -383,6 +392,20 @@ main = putStrLn "Hello, world!"
`,
hacks: ["ghci-config"],
},
ink: {
name: "Ink",
monacoLang: "plaintext",
repl: "ink",
main: "main.ink",
run: "ink main.ink; ink",
template: `std := load('../../opt/ink/std')
str := load('../../opt/ink/str')
log := std.log
log('Hello, world!')
`,
},
intercal: {
name: "INTERCAL",
monacoLang: "plaintext",

View File

@ -140,6 +140,9 @@ gforth
# Go
golang
# Groovy
groovy
# Haskell
cabal-install
ghc
@ -326,6 +329,16 @@ chmod +x binary-for-linux-64-bit
mv binary-for-linux-64-bit /usr/bin/elm
rm binary-for-linux-64-bit.gz
# Ink
cd /tmp
wget -nv https://github.com/thesephist/ink/releases/download/v0.1.7/ink-linux
wget -nv https://github.com/thesephist/ink/releases/download/v0.1.7/std.ink
wget -nv https://github.com/thesephist/ink/releases/download/v0.1.7/str.ink
chmod +x ink-linux
mv ink-linux /usr/bin/ink
mkdir /opt/ink
mv std.ink str.ink /opt/ink/
# Kotlin
cd /tmp
wget -nv https://github.com/JetBrains/kotlin/releases/download/v1.3.72/kotlin-compiler-1.3.72.zip