Suggestions for ESL (was: Euphoria Standard Library on UBoard)

new topic     » topic index » view thread      » older message » newer message

Tommy Carlier wrote:

<snip>

> Here are some more suggestions I have for ESL:
> - the constants TRUE and FALSE

Yep, we have them already. smile

> - bitwise functions

I agree, but I vote for including them in a later version, not in the
first one. IMHO we should keep the first version rather small, so
that it will be released rather soon.
There are still enough decisions on general principles to do anyway.
In the OpenEU group, people discussed and discussed, ... and never
producecd a working release. My greatest fear concerning the ESL project
is, that the same happens to it.
And I will not believe that we are successful, until we actually do the
first release. That's why I would like to do it pretty soon.

> - a mechanism to ignore return-values of functions. Some options:
>   -> a global variable VOID: VOID = functionToIgnore(...) (like Win32Lib)
>   -> a procedure ignore that does nothing: ignore(functionToIgnore()) (like
>   Win4Eu)

I like both suggestions. Hard to say which one is "better".

> - an enumeration-mechanism: here's how it was done in Win4Eu:
>   }}}
<eucode>
>   constant DAY_OF_WEEK = enum()
>   constant MONDAY = next(DAY_OF_WEEK),
>            TUESDAY = next(DAY_OF_WEEK),
>            WEDNESDAY = next(DAY_OF_WEEK),
>            THURSDAY = next(DAY_OF_WEEK),
>            FRIDAY = next(DAY_OF_WEEK),
>            SATURDAY = next(DAY_OF_WEEK),
>            SUNDAY = next(DAY_OF_WEEK)
>   </eucode>
{{{


Sorry, I don't understand.
Should the function next() be in the library, and the code above is in
the user's program? Or should all the code above be in the library?

> - advanced C/API-interface functionality (WIN32/LINUX)

What exactly do you mean?

Regards,
   Juergen

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu