From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.help Subject: Re: About Emacs Modernisation Project Date: Tue, 01 Jun 2010 14:29:46 +0200 Message-ID: References: <143c6d28-4423-4e43-9fc5-c0fb3340043b@c11g2000vbe.googlegroups.com> <87ljazofkn.fsf@rapttech.com.au> <04eff456-349f-4840-b0f7-d1784f6b7058@d12g2000vbr.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1291825424 10804 80.91.229.12 (8 Dec 2010 16:23:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 16:23:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 08 17:23:40 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQMns-0003y6-73 for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 17:23:40 +0100 Original-Received: from localhost ([127.0.0.1]:51202 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQMnr-0003ZT-72 for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 11:23:39 -0500 Original-Path: usenet.stanford.edu!news.glorb.com!news2.glorb.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.kpnqwest.it!news.kpnqwest.it.POSTED!not-for-mail Original-NNTP-Posting-Date: Tue, 01 Jun 2010 07:29:46 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:WYh5Lxb9nzxkeVXi42LFV1Qqdow= Original-Lines: 26 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 212.46.178.183 Original-X-Trace: sv3-7E7rfBdiOrVawGA8GHvk2siriwtLHjef04nRmZ7zngHGhQsOdcguHLcUQsLPO340YWPaD2+UQ6Z7zFa!4nUxXSJVMol7sFWgcVzmeKWgCaQbRyf13s+l2BIJu3p5ztRUkP24b16nNDfvlFk= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Original-Xref: usenet.stanford.edu gnu.emacs.help:178521 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:75602 Archived-At: * 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