literate C by leonid

print''.join(["/* %s */\n"%x[:-1],x[x>'>':]][x[0]in'>\n']for x in open('../fd/0')).replace(' */\n/*','\n  ')

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

download

return to the top page