Re: Missing features in Euphoria
- Posted by DerekParnell (admin) Aug 10, 2014
- 1269 views
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.