Advent of Code Not Quite Lisp by suddani

$<.map{|l|f=i=1;l.scan(/./){|c|(f+=c=="("?1:-1)<1?(p i;break):i+=1}}

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

download

return to the top page