From fc35f066971fe23df1dec75ea6dcb0639ef057b1 Mon Sep 17 00:00:00 2001 From: Henry Date: Wed, 12 Feb 2020 10:27:18 +0100 Subject: [PATCH 1/2] Update languages.json --- usr/share/tio.run/languages.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/usr/share/tio.run/languages.json b/usr/share/tio.run/languages.json index 3b48036..7359808 100644 --- a/usr/share/tio.run/languages.json +++ b/usr/share/tio.run/languages.json @@ -10514,6 +10514,28 @@ }, "update": "git" }, + "pi": { + "categories": [ + "recreational" + ], + "encoding": "UTF-8", + "link": "https://github.com/thisIsTheFoxe/Pi", + "name": "Pi", + "tests": { + "test": { + "request": [ + { + "command": "F", + "payload": { + ".code.tio": "3.14159265358979323842264332327250288412716939927513582397492459230721640628220899867803480534311206298214838653322233664709084463955358323172235940832848311725028410370193853110525964460294895293032196422880097562591344612147514823378178346528120090214562856642346134861345532264821332360736034914137372428700663631558417448152392396222925459170536432789259026051133013014882046252138214295194153160243205227036275959395309212613732192261379310211855807440237946274952735182575273489122743848301134912983467436444065634308652133494633522473749030217386093370277033921317659317670238267581846066440" + } + } + ], + "response": "Hello, World!" + } + }, + "update": "git" + }, "picolisp": { "categories": [ "practical" From 77cf94c763629dc3ae1df801b7773b84ab0273db Mon Sep 17 00:00:00 2001 From: Henry Date: Wed, 12 Feb 2020 10:29:14 +0100 Subject: [PATCH 2/2] Create pi --- wrappers/pi | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 wrappers/pi diff --git a/wrappers/pi b/wrappers/pi new file mode 100644 index 0000000..68fd563 --- /dev/null +++ b/wrappers/pi @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +python3 /opt/pi/pi.py .code.tio "$@" < .input.tio