TeX catcode by rotary-o(tails)

s;main(c,i){for(;read(0,&c,1);printf("%d\n",i?i-s:12-(c%97%65<26)))i=index(s="\\{}$&y#^_y yy~%",c);}

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

download

return to the top page