mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-09 11:36:27 +02:00
Compare commits
No commits in common. "0e7775f5d68eedfa39f6cd7545b7e99fec84668f" and "2ae63a4d69e801584a7d5d9242a1ac8876396317" have entirely different histories.
0e7775f5d6
...
2ae63a4d69
6 changed files with 0 additions and 37 deletions
14
packages/husk/1.0.0/build.sh
vendored
14
packages/husk/1.0.0/build.sh
vendored
|
@ -1,14 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
cp ../../haskell/9.0.1/build.sh ./haskell-build.sh
|
|
||||||
sed -Ei 's/9\.0\.1/8\.10\.7/g' ./haskell-build.sh
|
|
||||||
source ./haskell-build.sh
|
|
||||||
|
|
||||||
# compile Husk from source
|
|
||||||
git clone -q "https://github.com/barbuz/husk.git"
|
|
||||||
cd husk
|
|
||||||
../bin/ghc -O2 Husk
|
|
||||||
|
|
||||||
# cleanup
|
|
||||||
cd ..
|
|
||||||
rm -f haskell-build.sh
|
|
6
packages/husk/1.0.0/environment
vendored
6
packages/husk/1.0.0/environment
vendored
|
@ -1,6 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# haskell and husk path
|
|
||||||
export PATH=$PWD/bin:$PATH
|
|
||||||
export HUSK_PATH=$PWD/husk
|
|
||||||
export LANG=en_US.UTF8
|
|
5
packages/husk/1.0.0/metadata.json
vendored
5
packages/husk/1.0.0/metadata.json
vendored
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
"language": "husk",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"aliases": []
|
|
||||||
}
|
|
10
packages/husk/1.0.0/run
vendored
10
packages/husk/1.0.0/run
vendored
|
@ -1,10 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Store the current path because we'll need it to run the program file
|
|
||||||
PROGRAM_PATH=$PWD
|
|
||||||
|
|
||||||
# For now, Husk can only be run within the folder that has the imported modules
|
|
||||||
cd $HUSK_PATH
|
|
||||||
|
|
||||||
# Run Husk from file in unicode format with the given args
|
|
||||||
./Husk -uf "${PROGRAM_PATH}/${@}"
|
|
1
packages/husk/1.0.0/test.husk
vendored
1
packages/husk/1.0.0/test.husk
vendored
|
@ -1 +0,0 @@
|
||||||
"OK
|
|
|
@ -348,7 +348,6 @@ Content-Type: application/json
|
||||||
`golfscript`,
|
`golfscript`,
|
||||||
`groovy`,
|
`groovy`,
|
||||||
`haskell`,
|
`haskell`,
|
||||||
`husk`,
|
|
||||||
`iverilog`,
|
`iverilog`,
|
||||||
`japt`,
|
`japt`,
|
||||||
`java`,
|
`java`,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue