On Mon, Feb 16, at 12:54 pansz wrote:
> 
> Teemu Likonen 写道:
> > On 2009-02-13 11:42 (+0100), Tony Mechelynck wrote:
> > 
> > But if we are more practical, Lisp is more powerful and elegant for
> > interactive programmable environments. One reason are exactly the nested
> > parentheses and other is the Lisp's nature of having data and code
> > completely the same thing. 
> 
> Lua has the design philosophy like lisp but with different syntax, i.e. 
> Lua is a true function-programing language without the heavy nested 
> parentheses.
> 
> Since it is extremely easy to embed Lua into any program I think Lua is 
> better than Lisp in such case.
> 

I second that. In fact Lua was designed as en extension language so it has
very small footprint. I've read (and from some experiments) that Lua is the
fastest of all the scripting languages, with hands down.
It's not (even near) as rich like Python but you can build upon the existing
language, like you do in Scheme or Lisp.
And like Lisp in Lua, functions are treated like first class citizens.

If I had enough knowledge in C and time to do it, I would try to build
a Vim environment, based in the Lua C API and using PCRE for regexp
machine.

Regards,
Ag.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to