Skip to content

Commit

Permalink
added Alice ML
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisMitchell committed Sep 14, 2017
1 parent 708e4bc commit 9fe4f09
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
22 changes: 22 additions & 0 deletions usr/share/tio.run/languages.json
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,28 @@
},
"update": "git"
},
"aliceml": {
"categories": [
"practical"
],
"encoding": "UTF-8",
"link": "https://github.com/aliceml/aliceml",
"name": "Alice ML",
"tests": {
"helloWorld": {
"request": [
{
"command": "F",
"payload": {
".code.tio": "print(\"Hello, World!\");\n\nval _ = OS.Process.exit(OS.Process.success);"
}
}
],
"response": "Hello, World!"
}
},
"update": "git"
},
"alphuck": {
"categories": [
"recreational"
Expand Down
7 changes: 7 additions & 0 deletions wrappers/aliceml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

export ALICE_HOME=/opt/aliceml/share/alice PATH="/opt/aliceml/bin:$PATH"

ln -s .code.tio .code.tio.aml
alicec .code.tio.aml
alicerun .code.tio.alc "$@" < .input.tio

0 comments on commit 9fe4f09

Please sign in to comment.