Skip to content

Commit

Permalink
added LOWER; use Pyth's SBCS
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisMitchell committed Apr 11, 2018
1 parent 01cbb23 commit 93e9023
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
24 changes: 23 additions & 1 deletion usr/share/tio.run/languages.json
Original file line number Diff line number Diff line change
Expand Up @@ -5905,6 +5905,28 @@
},
"update": "git"
},
"lower": {
"categories": [
"recreational"
],
"encoding": "UTF-8",
"link": "https://github.com/ConorOBrien-Foxx/LOWER",
"name": "LOWER",
"tests": {
"helloWorld": {
"request": [
{
"command": "F",
"payload": {
".code.tio": "ₔₓ₇₂ₔₓ₁₀₁ₔₓ₁₀₈ₔₓ₁₀₈ₔₓ₁₁₁ₔₓ₄₄ₔₓ₃₂ₔₓ₈₇ₔₓ₁₁₁ₔₓ₁₁₄ₔₓ₁₀₈ₔₓ₁₀₀ₔₓ₃₃"
}
}
],
"response": "Hello, World!"
}
},
"update": "git"
},
"lua": {
"categories": [
"practical"
Expand Down Expand Up @@ -7853,7 +7875,7 @@
{
"command": "F",
"payload": {
".code.tio": "\"Hello, World!"
".code.tio": ".\" r\u0003œv—ŊΪ{1å"
}
}
],
Expand Down
3 changes: 3 additions & 0 deletions wrappers/lower
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

ruby /opt/attache/attache.rb /opt/lower/Lower.@ .code.tio "$@" < .input.tio
3 changes: 2 additions & 1 deletion wrappers/pyth
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash

python3 /opt/pyth/pyth.py .code.tio < .input.tio
iconv -t iso8859-1 .code.tio > .bin.tio
python3 /opt/pyth/pyth.py .bin.tio < .input.tio

0 comments on commit 93e9023

Please sign in to comment.