Not important thing...
> Lee woo seob writes:
> He said the "sequence" of the Euphoria is exactly same as the "LIST"
> of LISP language...(i don't know about LISP lang. at all) and he also
> said that the "LIST" structure has more excellent features than the
> "sequence" of Euphoria...
It's true that there are similarities between Euphoria's sequence
and the (classic) Lisp list.
A Lisp "list" can contain "atoms" and lists nested to any depth, just as
Euphoria's sequence can contain atoms and sequences nested to any depth.
In Lisp a character string is represented as an atom - you need special
functions to access the individual characters, perform string
concatenation etc. In Euphoria, a character string is
represented as a sequence of characters. Euphoria gives you very
efficient random subscripting operations. In Lisp, you can only access
the first element, or "the remaining elements" of a list efficiently.
To access a random element is very clumsy and inefficient, because
Lisp lists are implemented as "linked lists", not arrays. I'm not
aware of any PC action games written in Lisp!
Lisp has lots of other strange stuff in it, while Euphoria
is more conventional and easier to learn.
> According to what he said, the LISP is very old language and therefore,=
> the Euphoria can not be called as "Next generation language".
> (Of course, he said this in somewhat joking manner...)
Lisp *is* very old. It dates back to the early sixties.
It became popular among Artificial Intelligence (AI) researchers,
and it led to several variations.
Euphoria was motivated more by "FP" - a language proposed in 1978 by
John Backus. (Backus implemented the first Fortran compiler for IBM
back in the 1950's). FP had "sequences", like Euphoria, but again,
character strings were treated as atoms, and it also had lots of
other strange stuff in it, that I felt was not very useful in practice.
I found that FP programs are hard to write, and to read, although they
have interesting theoretical properties.
I implemented an FP interpreter back in 1980 as part of my
Masters thesis at the University of Toronto. It was interesting
theoretically, but extremely slow.
Several years later, after developing compilers for IBM, Amdahl,
and a small Canadian company, I started working on Euphoria. I now
had much more experience in compiler and interpreter development,
and I wanted to bring the power of sequences into a practical,
efficient, easy-to-learn language.
Regards,
Rob Craig
Rapid Deployment Software
|
Not Categorized, Please Help
|
|