readd brainfuck support

This commit is contained in:
Brian Seymour 2020-10-02 18:51:00 -05:00
parent a639109825
commit 9d04f1929d
3 changed files with 8 additions and 0 deletions

View file

@ -48,6 +48,9 @@ case "$lang" in
"bash")
bin=bash
;;
"brainfuck" | "bf")
bin=brainfuck
;;
"c")
bin=c
;;

2
lxc/executors/brainfuck Normal file
View file

@ -0,0 +1,2 @@
cd /tmp/$2
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 brainfuck code.code"