Re: [livecode] non-linguistic programming

From: Julian Rohrhuber <rohrhuber_at_uni-hamburg.de>
Date: Fri, 11 Jan 2008 16:49:39 +0100

>
>What isn't a cultural artefact, then? Sanskrit is actually just an example
>I gave, could have been Aramaic. It is almost never spoken outside of
>temples (by priests who don't understand it) in India and some
>Chinese universities
>where they teach and study it.
>
>
>Cultural artefaction is a cultural artefact.

http://www.iias.nl/index.php?q=node/368


// some catuscoti variations
(
a = ["either % or %", "both % and %", "neither % nor %"];
x = { |i, x=("true"), y=("false")| format(a[i], x, y) };
f = { #[0, 1, 2].scramble.keep(2) };
g = { |i=0, n=1, s1, s2|
        var k, l;
        #k, l = f.value;
        if(n>1) {
                x.(
                        i,
                        g.(k, n-1, s1, s2),
                        g.(l, n-1, s1, s2)
                )

        } {
                x.(i, s1, s2)
        }
};



z = {|n=1, s1, s2|
        var r = g.([0, 1, 2].choose, n, s1, s2);
        r[0] = r[0].toUpper;
        quote(r ++ ".")
}
);

z.(1)
z.(2)
z.(4)

"Both neither true nor false and both true and false."


"Either both either either true or false or neither true nor false
and both either true or false and neither true nor false or neither
either neither true nor false or both true and false nor both neither
true nor false and either true or false."
-- 
.
Received on Fri Jan 11 2008 - 15:49:51 GMT

This archive was generated by hypermail 2.4.0 : Sun Aug 20 2023 - 16:02:23 BST