view paste/paste.11710 @ 3903:0f6dc05fb0d4

<boily> echo -e "#!/usr/bin/env python\\n# -*- encoding: utf-8 -*-\\nimport sys\\nimport unicodedata\\ntry:\\n print u\'\'.join(map(unicodedata.lookup, sys.argv[1:])).encode(\'utf-8\')\\nexcept KeyError:\\n print u\'\xc3\x9a\xc5\x84\xe1\xb8\xb1\xc5\x84\xc3\xb3\xe1\xba\x83\xc5\x84 \xc4\x87h\xcc\x81\xc3\xa1\xc5\x95\xc3\xa1\xc4\x87t\xcc\x81\xc3\xa9\xc5\x95.\'" >bin/unicode
author HackBot
date Fri, 11 Oct 2013 15:24:35 +0000
parents e037173e0012
children
line wrap: on
line source

2007-07-08.txt:23:22:20: <ehird> GregorR, the only way i can think of is a big gigantic loop with lots of nested ifs to check for an "address", then splitting functions into multiple parts at function calls to work around no continuations/gotos
2007-07-08.txt:23:46:53: <ehird> GregorR, oh -- so actually the function code is duplicated for each call?
2007-10-31.txt:15:12:55: <ehird`> GregorR: that try/catch idea for thick functions is good but it doesn't help you vanquish thick/thin functions
2008-04-28.txt:22:24:38: <ehird_> <GregorR> My 'if' is actually a function, your 'if' is a language intrinsic. Language intrinsics suck. QED.
2008-04-28.txt:22:34:54: <pikhq> ehird_: You know, Gregor's if(x, y, else, z) is just the natural result of doing C-esque syntax with everything as a function. ;)
2008-10-31.txt:15:45:03: <ehird> GregorR: Perhaps you should just make a really basic scheme making function so I could just hack up something with it without actually recoding the entire thing. :-P
2008-10-31.txt:22:41:25: <ehird> GregorR: c1.concat is not a function