Mercurial > repo
view paste/paste.11710 @ 3900:b1b0dcb5ad5e
<fizzie> printf \'%s\\n\' \'#!/usr/bin/env python\' \'import sys\' \'import unicodedata\' \'print u" ".join("[U+{0:04x} {1}]".format(ord(c), unicodedata.name(c, "DUNNO")) for c in " ".join(sys.argv[1:]).decode("utf-8")).encode("utf-8")\' > bin/unidecode
author | HackBot |
---|---|
date | Fri, 11 Oct 2013 13:57:18 +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