Re: [livecode] scheme bricks

From: Dave Griffiths <dave_at_pawfal.org>
Date: Wed, 3 Dec 2008 16:40:51 -0000 (GMT)

Hi Julian,

Yup, by the naming.

However, this way of programming seems to promote deeply nested
structures, so it's more suited to this sort of dsp code (declared in one
block, with anonymous rather than named functions) - and probably
functional reactive graphics, but I haven't tried it with that stuff yet.

> sorry, i was unclear. My question was about scope and reference.
> I meant how do you visualise reference to variables and fuctions that
> have been declared? Or do you leave this to the naming, just like in
> any program (defined blocks with the same name).
>
>>I'm not sure I fully understand the question, but equality - (eq? a b)
>>looks like:
>> _____
>> / eq?_)
>>| (_a_)
>>| (_b_)
>> \_____)
>>
>>and function definitions - (define (square x) (* x x)) :
>> ________
>> / define_)_
>>| / square_)
>>| | (_x_)___
>>| \________)
>>| / *_)
>>| | (_x_)
>>| | (_x_)
>>| \___)
>> \_____)
>>
>>
>>> nice optics. it looks very much like lego.
>>> how do you deal (visually) with equality and function definitions?
>>>
>>>
>>>>Hi all,
>>>>
>>>>A way to 'visually' livecode scheme, which takes advantage of the
>>>> nature
>>>>of lisp's code <-> data structure isomorphism:
>>>>
>>>>http://www.pawfal.org/dave/index.cgi?Projects/Scheme%20Bricks
>>>>
>>>>I wrote it in a few days, and it's fiddly (especially using a track
>>>> point
>>>>nipple!) but it has some advantages over text which I think gives it
>>>> some
>>>>promise...
>>>>
>>>>cheers,
>>>>
>>>>dave
>>>
>>>
>>> --
>>>
>>>
>>>
>>>
>>>
>>> .
>>>
>
>
> --
>
>
>
>
>
> .
>
Received on Wed Dec 03 2008 - 16:41:01 GMT

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