mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-21 04:26:28 +02:00
piston improvements. adds version endpoint, new execution output, awk language support, and installs all dependencies directly when possible and avoids apt unless not possible
This commit is contained in:
parent
f6af99bbee
commit
8fcdec7275
7 changed files with 143 additions and 85 deletions
|
@ -185,6 +185,8 @@ A typical response when everything succeeds will be similar to the following:
|
|||
```json
|
||||
{
|
||||
"ran": true,
|
||||
"language": "js",
|
||||
"version": "12.13.0",
|
||||
"output": "[ '/usr/bin/node',\n '/tmp/code.code',\n '1',\n '2',\n '3' ]"
|
||||
}
|
||||
```
|
||||
|
@ -198,7 +200,7 @@ If an invalid language is supplied, a typical response will look like the follow
|
|||
|
||||
#### Supported Languages
|
||||
Currently python2, python3, c, c++, go, node, ruby, r, c#, nasm, php, java,
|
||||
swift, brainfuck, rust, bash, and typescript is supported.
|
||||
swift, brainfuck, rust, bash, awk, and typescript is supported.
|
||||
|
||||
#### Principle of Operation
|
||||
Piston utilizes LXC as the primary mechanism for sandboxing. There is a small API written in Go which takes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue