Re: [livecode] Katahdin: Modifying your programming language as it runs

From: alex <alex_at_slab.org>
Date: Fri, 22 Jun 2007 13:01:00 +0100

On Fri, 2007-06-22 at 07:40 -0400, zuzu wrote:
> hmm... technically, I'm not sure how this is different from most other
> programming languages... operators and statements are just "weird"
> functions, AFAIK. (of course, the fact that languages such as C are
> implemented to make these very difficult to interchange is another
> matter. ultimately that's something of a "turing complete" debate,
> but I think we're concerned with syntactic/human ease here.)

True, for example in haskell

  1 + 2

is the same as

  (+) 1 2

and

  frob 1 2

is the same as

  1 `frob` 2

It is just syntactic sugar to help people with natural languages that
evolved with funny word order :)

alex
Received on Sat Jun 23 2007 - 08:33:45 BST

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