Skip to content

Commit 1236b62

Browse files
committed
feat: add IntercalScript
1 parent 756df20 commit 1236b62

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

languages.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
"hy": "Hy",
7474
"i": "INTERCAL",
7575
"ico": "Icon",
76+
"ics": "IntercalScript",
7677
"idr": "Idris",
7778
"inf": "Inform 6",
7879
"io": "Io",

run-tests.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ for lang in "${languages[@]}"; do
8989
(hx) run=(haxe --main Punishment --interp);;
9090
(i) compile=(ick -b "$f"); run=("./${f%.$ext}");;
9191
(ico) run=(icon "$f");;
92+
(ics) compile=(ics "$f"); run=(node "${f%.$ext}.mjs");;
9293
(idr) compile=(idris -o a.out "$f"); run=(./a.out);;
9394
(inf) compile=(inform "$f"); run=(dfrotz -mp "${f%.$ext}.z5");;
9495
(j) run=(jconsole "$f");;

solutions/punishment_ics.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
count = 0;
2+
do while count < 500 then
3+
print("I will not throw paper airplanes in class.");
4+
count = count +. 1
5+
end

0 commit comments

Comments
 (0)