Commit Graph

321 Commits

Author SHA1 Message Date
Thomas Hobson af5036d82c
Convert some packages to nix-based
Affected packages:
- crystal
- dart
- dash
- deno
- elixir
- erlang
- gawk
2022-01-31 18:02:35 +13:00
Thomas Hobson 564da5a7eb
BREAKING: replace custom build scripts with nix
General:
- Switched to yarn to better work with nix-based tooling
- Switched package system to use nix. This stops double dependencies and slow cloud compile times, while providing more compile/runtime support to the Nix project
- Removed container builder in favor of internal container tooling
- Package versions no-longer need to be SemVer compliant
- Removed "piston package spec" files, replaced with nix-flake based runtimes
- Exported nosocket and piston-api as packages within the nix-flake
- Removed repo container
- Switched docker building to nix-based container outputting
- Removed docker compose as this is a single container
- Removed package commands from CLI

Packages:
- Move bash, clojure, cobol, node, python2, python3 to new format
- Remainder of packages still need to be moved

v2 API:
- Removed "version" specifier. To select specific versions, use the v3 api
- Removed "/package" endpoints as this doesn't work with the new nix-based system

v3 API:
- Duplicate of v2 API, except instead of passing in a language name an ID is used intead.
2022-01-31 14:42:12 +13:00
Thomas Hobson 8d6ae04733
create packages flake 2022-01-30 22:31:43 +13:00
Hydrazer 440559f7b4 pkg(emojicode-1.0.2): added emojicode 1.0.2 2022-01-17 18:05:17 -07:00
Hydrazer 021ec1aa94 pkg(MATL-22.5.0): added MATL 22.5.0 2021-12-30 11:12:20 -07:00
Hydrazer 8d32385b41 pkg(brachylog-1.0.0): added brachylog 2021-11-28 07:03:57 -07:00
Hydrazer 132a835b0b pkg(racket-8.3.0): added racket 8.3.0 2021-11-27 20:00:11 -07:00
Hydrazer 6cee1e8c34 pkg(retina-1.2.0): added retina 1.2.0 2021-11-27 03:59:56 -07:00
Hydrazer 0949610b61 pkg(befunge93-0.2.0): added befunge93 2021-11-25 07:42:00 -07:00
VlaDexa 81c6694637 pkg(deno-1.16.2): Set the cache directory 2021-11-21 23:27:59 +03:00
VlaDexa ed14e125e3 pkg(deno-1.16.2): Fix the test file 2021-11-21 23:18:39 +03:00
VlaDexa aeddcc7661 pkg(deno-1.16.2): Added deno 1.16.2 2021-11-21 21:39:40 +03:00
VlaDexa c2d9367b99 pkg(rust-1.56.1): Added rust 1.56.1 2021-11-18 17:36:10 +03:00
Thomas Hobson 78b075089f
Merge branch 'master' into file 2021-10-21 21:13:06 +13:00
Cory cd2b471eed add missing libs back into py v3.10 2021-10-17 11:46:17 +11:00
Brikaa 64833a0408 pkg(file-0.0.1): Run executable 2021-10-16 11:49:59 +02:00
Pyroseza 8403e0f512 added extra alias for python 3.10 2021-10-13 22:30:38 +01:00
Pyroseza 5641f671d1 remove unneeded compile file from python 3.10.0 package 2021-10-13 20:33:29 +01:00
Pyroseza fecfed48fd added python 3.10 2021-10-13 16:56:12 +01:00
Brikaa 80eefaa6fb Increase zig compile timeout 2021-10-11 13:26:43 +02:00
Brikaa 7fc0b9efb8 Revert Mono error separation to work with websockets 2021-10-10 14:40:58 +02:00
Thomas Hobson 8cb54cfe58
Merge pull request #355 from Brikaa/lint
Add ./piston lint
2021-10-11 00:19:58 +13:00
Hydrazer 6416b4d8cb pkg(vyxal-2.4.1): add vyxal 2021-10-09 19:18:07 -06:00
Brikaa f8eb7053ed Fix typescript 2021-10-09 18:16:41 +02:00
Brikaa f2c91acbe6 Piston lint 2021-10-09 18:10:58 +02:00
Hydrazer 7ff87cf0f2 pkg(husk-1.0.0): add husk 2021-10-08 17:14:08 -06:00
Niki4tap fbee9e6c22 pkg(llvm_ir-12.0.1): Add the package to readme and `ll` alias 2021-10-06 13:32:54 +00:00
Niki4tap 478ccefa58 pkg(llvm_ir-12.0.1): Fixed test.ll 2021-10-06 13:00:58 +00:00
Niki4tap 70cf0b1a90 Merged master branch 2021-10-06 12:57:16 +00:00
Niki4tap 82d6dfd3e9 pkg(llvm_ir-12.0.1): Added llvm_ir 12.0.1 2021-10-06 12:52:59 +00:00
Brikaa 363daa2a24 Document limit_overrides, timeouts, provides and local testing 2021-10-04 21:35:13 +02:00
Brikaa adae6fde2f pkg(dotnet-5.0.201): Added F#.net, F# interactive and VB.net 2021-10-04 17:25:11 +02:00
Brikaa a5c3858100 Add per-language constraint overrides 2021-10-04 17:11:46 +02:00
Hydrazer 1c48ca2ab5 pkg(japt-2.0.0): add japt 2021-10-04 17:11:46 +02:00
Dan Vargas 4f5ef06adf pkg(freebasic-1.8.0): Add Freebasic 2021-10-04 17:11:46 +02:00
Brikaa 883d584c15 pkg(iverilog-11.0.0): Added iverilog 11.0.0 2021-10-04 17:11:46 +02:00
Dan Vargas e5732ef459 pkg(forte-1.0.0): add forte 2021-10-04 17:11:46 +02:00
Brikaa 241b56a5e9 Add semantic versioning in CONTRIBUTING.MD 2021-10-04 17:11:46 +02:00
Brikaa 5cdc71d268 pkg(sqlite3-3.36.0): Added sqlite3 3.36.0 2021-09-30 09:12:22 +02:00
Brikaa 5e1a51c813 pkg(vlang-0.1.13): Fix command line arguments bug 2021-09-15 11:33:02 +02:00
Thomas Hobson 575ddf2dc0
Merge branch 'master' into r-language 2021-09-13 01:24:39 +12:00
Brikaa 1250cf213a pkg(rscript-4.1.1): Added R 4.1.1 2021-09-12 14:38:57 +02:00
Brikaa b3772c9502 pkg(mono-6.12.0): redirect mono error to stderr 2021-09-10 15:34:53 +02:00
Thomas Hobson 21fe3eefc2
Merge pull request #316 from Brikaa/mono-basic
pkg(mono-6.12.0): Added mono-basic 7.4
2021-09-10 15:48:49 +12:00
Brikaa 08b2fa094a pkg(mono-6.12.0): Added mono-basic 7.4 2021-09-09 20:20:01 +02:00
Brikaa 3c15de6144 pkg(pwsh-7.1.4): Added Powershell 7.1.4 2021-09-07 19:21:52 +02:00
Hydrazer c699688b36
fixed slurp for COW lang
forked the original repo by BigZaphod and fixed the slurping issue when reading stdin for the Moo and oom commands
2021-08-31 09:08:13 -06:00
yrfriend 8900bae7c0 Fixed Go multiple file problem 2021-07-08 21:15:37 +03:00
Luka Barbić e859f83cef
add node 16.3.0 package (#286) 2021-06-20 00:25:13 +12:00
Luka Barbić 929f3d3f2c
add julia 1.6.1 package (#285) 2021-06-19 23:02:36 +12:00
Hydrazer ba9503d9f8
Adding Raku (#281)
* Adding Raku

probably doesn't work lol tried copying the other ones someone could probably implement it using the build instructions from this https://rakudo.org/downloads/rakudo/source

* Update test.raku

* edited raku implementation

put it in version folder 6.d and removed the v from version in the json file

* edited raku version

changed the same stuff as last time but with different stuff

* raku edit build.sh

remove some unnecessary lines from the file

* raku edit version

editing version name again lol
2021-06-19 11:45:37 +12:00
g-w1 c0b218f477
update zig to 0.8.0 (#279)
zig 0.8.0 got released, so this pr updates it
2021-06-16 13:25:12 +12:00
Thomas d68a1d67c8
brainfuck(2.7.3): input requires each char on new line 2021-06-07 21:32:44 +12:00
Cory ea9f48fa00
add sympy to python 3.9.4 (#263)
Co-authored-by: Bones <cory@callref.com.au>
2021-05-26 23:09:08 +12:00
Tushar Sadhwani 79c7f471a1
Add py3 alias for Python3 (#255)
* Add py3 alias

* Add py3 alias

* Add py3 alias

* Add py3 alias
2021-05-15 16:25:10 +12:00
Dan Vargas f28cc2a917
pkg(kotlin-1.4.31): add args (#258) 2021-05-15 16:24:47 +12:00
Dan Vargas c7764161a8
pkg(scala-3.0.0): use compile (#257) 2021-05-15 16:24:37 +12:00
Dan Vargas 00bd298665
pkg(kotlin-1.4.31): use jdk8 with kotlin (#256) 2021-05-13 21:45:21 +12:00
Dan Vargas 3e9705bcd3
pkg(julia-1.5.4): switch to build from source (#254)
* pkg(julia-1.5.4): switch to build from source

* fix install lang in ci test step

* use x86-64 cpu target list
2021-05-09 13:40:41 +12:00
MrExquisite 95421c9e15
pkg(octave-6.2.0): add aliases/file extensions (#249)
Octave aliases/file extensions compliant to https://octave.org/doc/v6.2.0/Introduction-to-Function-and-Script-Files.html
2021-05-05 22:46:11 +12:00
Meghan 2ae78b954b
zig/0.7.1: set release most to safe so executers can still observe runtime checks (#250) 2021-05-05 22:45:42 +12:00
Dan Vargas dae0c57aae
pkg(rockstar-1.0.0): switch to rocky implementation (#251) 2021-05-05 22:45:33 +12:00
Dan Vargas 50cb0f1996
pkg(octave-6.2.0): add octave 6.2.0 (#247) 2021-05-02 18:36:41 +12:00
Dan Vargas f2973f0536
pkg(ruby-3.0.1): add ruby 3.0.1 (#242)
Co-authored-by: Vargas, Dan <dan.vargas@frostbank.com>
2021-04-30 23:33:29 +12:00
Shivansh-007 75957407ca
pkg(yeethon3.10): Adds Yeethon 3.10 (#239)
* pkg(yeethon3.10): Adds Yeethon 3.10

* pkg(yeethon3.10): Change test file name to `test.yeethon.py`
2021-04-29 13:55:43 +12:00
Thomas 6b5fcaf363
Update metadata.json 2021-04-28 20:21:56 +12:00
Thomas bbb45a5a0a
python 2 is language python2 2021-04-28 20:15:46 +12:00
Dan Vargas 3dfade7c91
pkg(lolcode-0.11.2): update build script to use correct lolcode version (#237)
Co-authored-by: Vargas, Dan <dan.vargas@frostbank.com>
2021-04-28 14:15:34 +12:00
Victor Frazao 3355ffafb2
pkg(cobol-3.1.2): Adds cobol 3.1.2 (gnucobol) (#235) 2021-04-28 11:02:59 +12:00
Victor Frazao 65cbefa94e
pkg(gcc-10.2.0): Adds Fortran support for GCC (#236) 2021-04-28 11:02:17 +12:00
Dan Vargas 959830c652
pkg(groovy-3.0.7): add compile step (#232)
Co-authored-by: Vargas, Dan <dan.vargas@frostbank.com>
2021-04-27 12:18:52 +12:00
Thomas Hobson 2961bdc604
Conditonally output stderr 2021-04-25 17:17:19 +12:00
Thomas Hobson 51267c3526
give deno aliases 2021-04-25 17:15:16 +12:00
Thomas Hobson 8e7279ce69
fix gawk metadata 2021-04-25 16:36:48 +12:00
Dan Vargas 09e347a098
pkg(mono-6.12.0): filename fixes (#230)
* pkg(mono-6.12.0): filename fixes

* pkg(mono-6.12.0): compile cs files

* pkg(mono-6.12.0): add provides in metadata
2021-04-25 16:21:57 +12:00
Thomas Hobson 7e1960302d
d: replace .code with .d 2021-04-25 15:36:38 +12:00
Thomas Hobson 258539d593
gawk fix
gawk is not compile, and should display as awk
2021-04-25 15:24:18 +12:00
Dan Vargas 6d2814880f
pkg(go-1.16.2): quick fix for filename issue (#229) 2021-04-25 15:09:13 +12:00
Dan Vargas 5f267a98b4
pkg(scala-3.0.0): Quick fix for filename issue (#228) 2021-04-25 13:45:43 +12:00
Thomas Hobson ccc1e4c08b
Add provides key to some languages
Provides key allows 1 package to provide multiple languages

Expect an API update to work with these new packages
2021-04-25 13:11:33 +12:00
Thomas Hobson 3b25ec4386
update test script 2021-04-25 13:10:18 +12:00
Thomas Hobson fefd1fa8e8
pony needs the right extension 2021-04-25 13:09:08 +12:00
Thomas Hobson 03c64cfecf
ponylang extension 2021-04-24 20:10:07 +12:00
Thomas Hobson 5e9b9c888e
ocaml extension 2021-04-24 20:09:59 +12:00
Thomas Hobson a1209cdfd5
kotlin extension 2021-04-24 20:09:51 +12:00
Thomas Hobson d2c36d8a54
java extension 2021-04-24 20:09:39 +12:00
Thomas Hobson af91e66d64
haskell extension 2021-04-24 20:09:33 +12:00
Thomas Hobson ceb902349f
scala extension 2021-04-24 20:09:25 +12:00
Thomas Hobson 8923fbd5cf
typescript extension 2021-04-24 20:09:17 +12:00
Thomas Hobson ecfdfa52de
vlang extension 2021-04-24 20:08:48 +12:00
Thomas Hobson 594ee7d436
zig extension 2021-04-24 20:08:42 +12:00
Thomas Hobson dfdf8ce76e
gcc add extensions 2021-04-24 19:46:36 +12:00
Thomas Hobson f72c51d614
dotnet add cs extension 2021-04-24 19:44:50 +12:00
Thomas Hobson c6e78fa073
test script 2021-04-24 19:35:14 +12:00
Dan Vargas e975b64f2d
pkg(dragon-1.9.8): Add dragon 1.9.8 (#220)
* pkg(dragon-1.9.8): Add dragon 1.9.8

* pkg(dragon-1.9.8): Remove manpages and self alias
2021-04-22 14:31:00 +12:00
Dan Vargas 8424307029
pkg(cjam-0.6.5): Add cjam 0.6.5 (#223)
* pkg(cjam-0.6.5): Add cjam 0.6.5

* pkg(cjam-0.6.5): Run jar file normally and remove self alias
2021-04-22 14:30:20 +12:00
Dan Vargas 2a85951426
pkg(golfscript-1.0.0): Add golfscript 1.0.0 (#221) 2021-04-22 13:35:33 +12:00
Dan Vargas 353de20ae9
pkg(pyth-1.0.0): Add pyth 1.0.0 (#222) 2021-04-22 13:34:48 +12:00
Shivansh-007 f24f1a45a7
Adds python 3.9.4 and 3.10.0a7 (#217)
* pkg(python-3.9.4): Adds python 3.9.4

* pkg(python-3.10.0a7): Adds python 3.10.0a7

* pkg(python-3.10.0a7): More pythonic 3.10.0a7 code

* pkg(python-3.10.0a7): Use semver versioning

* pkg(python-3.10.0a7): remove 'py3' alias and add 'py'

* pkg(python-3.9.4): remove 'py3' alias and add 'py'
2021-04-14 16:24:58 +12:00
Shivansh-007 a2de8dea0c
pkg(pony-0.39.0): Add pony-lang 0.39.0 (#194)
* pkg(pony-0.39.0): Add pony-lang 0.39.0

* pkg(pony-0.39.0): Use `git submodule` to install llvm and get the source through cloning.

* pkg(pony-0.39.0): Reset to 0.39.0 commit and cd into `ponyc`

* pkg(pony-0.39.0): User proper installation instructions, like specified in the installation guide

* pkg(pony-0.39.0): Setup compile script.

* pkg(pony-0.39.0): Properly delete the build dir.

* pkg(pony-0.39.0): Get rid of author key in metdata

* pkg(pony-0.39.0): `CD` into `ponyc` right before cloning.

* pkg(ponyc-0.39.0): Move `cd` to the correct palce.
2021-04-09 18:50:55 +12:00