From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: pjb@informatimago.com (Pascal J. Bourguignon) Newsgroups: gmane.emacs.help Subject: Re: About Emacs Modernisation Project Date: Tue, 01 Jun 2010 14:59:27 +0200 Organization: Informatimago 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 1291825468 11024 80.91.229.12 (8 Dec 2010 16:24:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 16:24:28 +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:24:23 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 1PQMoV-0004O3-6f for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 17:24:19 +0100 Original-Received: from localhost ([127.0.0.1]:51747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQMoU-0003xR-FV for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 11:24:18 -0500 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 37 Original-X-Trace: individual.net jbWIsWjtKtn40Pj/hc7VBgXm8wKlr3bIGdSXm2bvCZ5Wu/IueK Cancel-Lock: sha1:M2JjMjNhNjg4NTFhZTQ1YzljNDRiMjMyMjU2Njk4OTU5MTM1NWMzNw== sha1:MsBIWs8ok0GWLrZHLW+OT6zKleI= Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.101 (Gnus v5.10.10) Emacs/23.1 (darwin) Original-Xref: usenet.stanford.edu gnu.emacs.help:178524 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:75604 Archived-At: Helmut Eller 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