Re: Missing features in Euphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message
Nevla said...

If we had anonymous functions, we could implement a truly Euphoric OOP system by using sequences (yes, sequences!), without the need for any other OOP infrastructure. And it would be an all-Euphoric solution, for Euphoria purists.

...

Why can't we have the same in Euphoria, with sequences?

This is already possible in Euphoria and has already been used by a few OO systems written in Euphoria. Check out the routine_id function.

The issue is really that Euphoria doesn't have the syntax niceties to make it easier to write and read OO code.

The first C++ 'compiler' was actually just a front end processor that output standard C code, which was feed into the normal C compiler to produce the runtime program.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu