paren matching by clock

s=[]
for(c in"$System.in"){print"?"!=c?c:s.pop()
t=c.tr"([{",")]}"
t>c&&s.add(t)}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page