mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-09 03:26:27 +02:00
Compare commits
No commits in common. "f4b366978d03bcf1ba57323a876e4ad1c0206c4d" and "20e71f617bb05093ad035e663c5d129d6d7705ec" have entirely different histories.
f4b366978d
...
20e71f617b
6 changed files with 0 additions and 34 deletions
9
packages/MATL/22.5.0/build.sh
vendored
9
packages/MATL/22.5.0/build.sh
vendored
|
@ -1,9 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# build octave as dependency
|
|
||||||
source ../../octave/6.2.0/build.sh
|
|
||||||
|
|
||||||
# curl MATL 22.5.0
|
|
||||||
curl -L "https://github.com/lmendo/MATL/archive/refs/tags/22.5.0.tar.gz" -o MATL.tar.xz
|
|
||||||
tar xf MATL.tar.xz --strip-components=1
|
|
||||||
rm MATL.tar.xz
|
|
5
packages/MATL/22.5.0/environment
vendored
5
packages/MATL/22.5.0/environment
vendored
|
@ -1,5 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Path to MATL binary
|
|
||||||
export PATH=$PWD/bin:$PATH
|
|
||||||
export MATL_PATH=$PWD
|
|
5
packages/MATL/22.5.0/metadata.json
vendored
5
packages/MATL/22.5.0/metadata.json
vendored
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
"language": "matl",
|
|
||||||
"version": "22.5.0",
|
|
||||||
"aliases": []
|
|
||||||
}
|
|
13
packages/MATL/22.5.0/run
vendored
13
packages/MATL/22.5.0/run
vendored
|
@ -1,13 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# get file as first argument
|
|
||||||
file="$1"
|
|
||||||
|
|
||||||
# remove the file from $@
|
|
||||||
shift
|
|
||||||
|
|
||||||
# use the rest of the arguments as stdin
|
|
||||||
stdin=`printf "%s\n" "$@"`
|
|
||||||
|
|
||||||
# pass stdin into octave which will run MATL
|
|
||||||
echo "$stdin" | octave -W -p "$MATL_PATH" --eval "matl -of '$file'"
|
|
1
packages/MATL/22.5.0/test.matl
vendored
1
packages/MATL/22.5.0/test.matl
vendored
|
@ -1 +0,0 @@
|
||||||
'OK'
|
|
|
@ -351,7 +351,6 @@ Content-Type: application/json
|
||||||
`llvm_ir`,
|
`llvm_ir`,
|
||||||
`lolcode`,
|
`lolcode`,
|
||||||
`lua`,
|
`lua`,
|
||||||
`matl`,
|
|
||||||
`nasm`,
|
`nasm`,
|
||||||
`nasm64`,
|
`nasm64`,
|
||||||
`nim`,
|
`nim`,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue