help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About Emacs Modernisation Project


From: Pascal J. Bourguignon
Subject: Re: About Emacs Modernisation Project
Date: Wed, 08 Dec 2010 15:10:51 -0000
User-agent: Gnus/5.101 (Gnus v5.10.10) Emacs/23.1 (darwin)

Helmut Eller <eller.helmut@gmail.com> writes:

> * LanX [2010-06-01 13:27+0200] writes:
>
>> Hi
>>
>>> Why didn't he write the Javascript interpreter in Javascript?  Or why
>>> did he write a Javascript interpreter at all?  The only interesting
>>> place to run and debug Javascript is inside a browser with complete DOM
>>> access anyway.
>>
>> No _CORE_ JS is a very lean and extendible language (not by macros but
>> by prototype OO) which is embedded in many products not just browsers.
>> Maybe the most embedded language today ... 
>> (PDF-reader, Flash-player,...)
>>
>> DOM and BOM (Browser OM) are just a local native library, the EOM
>> (Emacs Object Model) would be represented in emacs by the core
>> functions and variables, e.g. for manipulating buffers or faces.
>>
>> Many of these EOM features are already realized in C and not eLISP
>> (like they are in Browsers)
>
> Just what I said: the interesting thing about JS is not the language but
> the DOM.  I still fail to see why calling Emacs' C functions from a JS
> interpreter (written in Elisp) would be interesting.

"User interface".  Some users speak Javascript.  Some others speak
Python, etc.

I agree that it's unfortunate that not everybody is taught Lisp in
preschool, (like they should be taught Esperanto), but that's how it
is...

-- 
__Pascal Bourguignon__
http://www.informatimago.com


reply via email to

[Prev in Thread] Current Thread [Next in Thread]