Skip to content

Commit b0ea290

Browse files
committed
feat: add Pyth
1 parent 1236b62 commit b0ea290

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

languages.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@
123123
"ps1": "PowerShell",
124124
"py2": "Python 2",
125125
"py3": "Python 3",
126+
"pyth": "Pyth",
126127
"q": "Qore",
127128
"r": "R",
128129
"reb": "REBOL",

run-tests.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ for lang in "${languages[@]}"; do
117117
(ps1) run=(pwsh "$f");;
118118
(py2) run=(python2 "$f");;
119119
(py3) run=(python3 "$f");;
120+
(pyth) export PYTHONPATH=$HOME/lib/pyth; run=(python ~/bin/pyth.py -c "$(<"$f")");;
120121
(q) run=(qore "$f");;
121122
(r) run=(r -q --slave -f "$f");;
122123
(rb) run=(ruby "$f");;

solutions/punishment_pyth.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
V*5*TT"I will not throw paper airplanes in class.

0 commit comments

Comments
 (0)