1. EU 2.1 alpha
Hey Rob,
I love the new version!
However, here are a couple things I'd still like to see.
1. The non-mandatory ability to define a variable with
an initial value.
example: atom x = 10
2. I'd REALLY like value() to be able to recognize math
opperators and maybe even routine calls. sprint() is
basically the opposite of value except that sprint() CAN
do these things (for the obvious reason)
example: x = value("7 + floor(5.647 + .5)")
returns x = {Get_Success, 13}
This would open up a whole new range of options for
Euphoria programmers.
Euphoria is beutiful,
Lewis Townsend
keroltarr at hotmail.com
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
2. Re: EU 2.1 alpha
- Posted by Ralf Nieuwenhuijsen <nieuwen at XS4ALL.NL>
Jan 20, 1999
-
Last edited Jan 21, 1999
Lewis suggested:
>1. The non-mandatory ability to define a variable with
> an initial value.
> example: atom x = 10
Again, this is very helpfull. And much more natural.
>2. I'd REALLY like value() to be able to recognize math
> opperators and maybe even routine calls. sprint() is
> basically the opposite of value except that sprint() CAN
> do these things (for the obvious reason)
> example: x = value("7 + floor(5.647 + .5)")
> returns x = {Get_Success, 13}
> This would open up a whole new range of options for
> Euphoria programmers.
If those math expressions include function-calls, we could have semi-inlined
Euphoria code. It is much more feasable than dynamically loaded and unloaded
include files, while yet having the same posibilities.
However, unaware as we are with the details of all the tricks Euphoria
pulls, only Robert can tell if something like this is possible, preferbly
remaining the same speed as normal Euphoria code. (we could off course write
an Euphoria interpreter in Euphoria at the cost of some speed)
Ralf
>
>Euphoria is beutiful,
>Lewis Townsend
>keroltarr at hotmail.com
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>