[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: co-routines [was Re: Unicode]
- From: Alan Watson <a.watson@...>
- Date: Thu, 1 Feb 2001 14:04:20 -0600
> The main one I haven't seen on the list yet is making code first class. A
> code block should be a table of statements, so instead of
>
> do ... end
>
> you write (in unsugared notation)
>
> { ... }
>
> This allows code to be manipulated by programs.
I think this can be accomplished this by keeping an array of
strings, modifying the strings as required, and then having
a "dotable" function that concatenates the strings and then
does a "dostring". It's not especially clean, but I think it
covers all you need. Am I missing something?
Regards,
Alan
--
Dr Alan Watson
Instituto de Astronomía UNAM