2010-06-03

emacs extension language, pymacs, ejacs

2010-06-02

On May 31, 5:57 am, Bernardo Barros wrote:
> I was reading about this topic on the group homepage. One thing I
> though was how Emacs is really great because of Emacs Lisp, since it
> is a real programming language and an text editor at the same time.
> But maybe one of the reasons that Emacs is not so popular nowadays is
> that Lisp itself is also not so popular anymore either. Someone told
> something about less than 1%.
>
> I have just checked the Pymacs project [http://www.emacswiki.org/emacs/
> PyMacs] and I though to myself: "oh, that's a nice one, I could use
> Python instead of elisp to extend Emacs, I would like that a lot!".
> I'm a young guy and I don't work with lisp languages at all except
> when I use Emacs and Lilypond (a music notation program).
>
> But it seems to me that PyMacs is not a mature project yet, I would
> like to see this as a major version of Emacs. Maybe this is the way
> for Emacs 24 or 25? :-)

Yeah, i think having multiple language support is a good thing, but i think practically that's just not feasible, for emacs being started in the 1980s.

Note that the PyMacs guy switched to vi, and wrote a big article about it.

here's the pymacs home page:
http://pymacs.progiciels-bpi.ca/

here's his rant, i think it used to be named something like “why i switched to vi”
http://pinard.progiciels-bpi.ca/notes/Thoughts_on_editors.html

note the date there 2003.

Xah
∑ http://xahlee.org/



2010-06-03

LanX [2010-06-01 01:33+0200] writes:
«
I really enjoyed reading this blog on ejacs
http://steve-yegge.blogspot.com/2008/11/ejacs-javascript-interpreter-for-emacs.html
»

On Jun 1, 3:28 am, Helmut Eller wrote:
«Why didn't he write the Javascript interpreter in Javascript?  Or why did he write a Javascript interpreter at all?»

Gah. Apparently you haven't spend much time reading the article.

Steve created it because he's creating a javascript mode for emacs, with the goal of it being a full IDE beating any other javascript IDEs.

That mode eventually became js2-mode. The js interpreter engine was a discarded by-product, because he ends up writing another engine. The name “ejacs” was attached to it later, and became a separate project, currently of little practical use.

Steve has hinted in his blog, that he has the goal of making js a alternative to elisp for extending emacs.

> The only interesting
> place to run and debug Javascript is inside a browser with complete DOM
> access anyway.

yes but not really. JS as a scripting lang is used in lots of applications, in Flash, and lots others. (see wikipedia for full list) Basically, it has became practically what Scheme used to be or envisioned to be in academia, and replaced what perl, tcl, tried to be in the industry in the 1990s.

Personally i think that's very good.

See:

• Proliferation of Computing Languages
http://xahlee.org/UnixResource_dir/writ/new_langs.html

Xah
∑ http://xahlee.org/

No comments:

Post a Comment