mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 04:56:30 +02:00
readd brainfuck support
This commit is contained in:
parent
a639109825
commit
9d04f1929d
3 changed files with 8 additions and 0 deletions
|
@ -67,6 +67,7 @@ func Execute(res http.ResponseWriter, req *http.Request) {
|
|||
whitelist := []string{
|
||||
"awk",
|
||||
"bash",
|
||||
"brainfuck", "bf",
|
||||
"c",
|
||||
"cpp", "c++",
|
||||
"csharp", "cs", "c#",
|
||||
|
@ -138,6 +139,8 @@ func launch(request Inbound, res http.ResponseWriter) {
|
|||
execlang := request.Language
|
||||
|
||||
switch execlang {
|
||||
case "bf":
|
||||
execlang = "brainfuck"
|
||||
case "c++":
|
||||
execlang = "cpp"
|
||||
case "cs", "c#":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue