Re: Scripting languages

2009-03-04 Thread Teemu Likonen
Oh, I had forgotten half-written mail to my drafts folder. My answer is coming a little late. On 2009-02-16 12:54 (+0800), pansz wrote: > Teemu Likonen 写道: >> But if we are more practical, Lisp is more powerful and elegant for >> interactive programmable environments. One reason are exactly the

Re: Scripting languages

2009-03-04 Thread Ben Fritz
My experience with Lisp is actually just with Scheme...but I can truthfully say it was one of my favorite languages to code in. I don't know why, and I can't point to anything specific, but I find the code very clean in a way. I probably couldn't write "hello world" now because it's been a long ti

Re: Scripting languages

2009-02-13 Thread J.A.J. Pater
Tom Link schreef: > The code often looks ugly and > programming vimscript can get really messy, That is exactly what I don't like about it. It's almost easier to read Perl (ok, I know I'm exaggerating). > I think vim would gain much popularity by slightly improving > those interfaces so that you

Re: Scripting languages

2009-02-14 Thread Teemu Likonen
On 2009-02-13 06:42 (-0800), Tom Link wrote: > IIRC Sam Goldstein[1] recently proposed to write a clisp-interface for > vim. > [1] > http://groups.google.com/group/vim_dev/browse_frm/thread/2212c1d7c3ad148a?hl=en# It seems that he proposed to become a/the mentor (of the clisp part) for such Go

Re: Scripting languages

2009-02-15 Thread pansz
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 > complet

Re: Scripting languages

2009-02-16 Thread Agathoklis D. Hatzimanikas
eses. > > 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

Re: Scripting languages

2009-02-16 Thread J.A.J. Pater
Agathoklis D. Hatzimanikas schreef: > 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. > > Sound pretty cool. Adriaan. --~--~-~--~~~---~--~~ You received th

Re: Scripting languages

2009-02-16 Thread Tom Link
> Lua has the design philosophy like lisp but with different syntax lisp - lisp = lua? The advantage of those interfaces in vim is that you can use code you have written for other projects and easily integrate it with vim, thereby using vim as some sort of front-end/gui. At least that's the reas

Re: Scripting languages

2009-02-16 Thread Tom Link
> Lua has the design philosophy like lisp but with different syntax lisp - lisp = lua? The advantage of those interfaces in vim is that you can use code you have written for other projects and easily integrate it with vim, thereby using vim as some sort of front-end/gui. At least that's the reas

Scripting languages (was: Vim 7.2 packages for Ubuntu Intrepid)

2009-02-13 Thread Teemu Likonen
On 2009-02-13 11:42 (+0100), Tony Mechelynck wrote: > OTOH, Emacs uses Lisp, which is supposed to be a "standard" language, > one you might "not have to learn" when you first meet Emacs because > you might already know it, but in fact the subjective "ugliness" which > I feel in Lisp's prefixed-Po

Re: Scripting languages (was: Vim 7.2 packages for Ubuntu Intrepid)

2009-02-13 Thread Tom Link
Wow, a lisp vs python vs vimscript thread and I almost missed it. > With languages like Vim > script there are two separate classes: commands and expressions You also have keymaps and normal commands. But commands and normal commands could be seen as a DSL. The code often looks ugly and programm