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: Helmut Eller
Subject: Re: About Emacs Modernisation Project
Date: Wed, 08 Dec 2010 15:10:49 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

* 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.

Helmut


reply via email to

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