From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Hansen Newsgroups: gmane.emacs.help Subject: Re: how to run javascript in emacs? Date: Sat, 19 Jul 2008 06:46:15 +0200 Organization: disorganized Message-ID: <87ljzybhwo.fsf@localhorst.mine.nu> References: <7f65b477-3b87-43bf-aff6-66d195a33b9f@b1g2000hsg.googlegroups.com> <87ej61rqe5.fsf@lion.rapttech.com.au> <87y742nnzs.fsf@paddy.ionicsoft.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1216443236 16195 80.91.229.12 (19 Jul 2008 04:53:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Jul 2008 04:53:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 19 06:54:44 2008 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.50) id 1KK4Sx-0006az-6u for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Jul 2008 06:54:43 +0200 Original-Received: from localhost ([127.0.0.1]:45412 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KK4S3-0003hj-Mm for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Jul 2008 00:53:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KK4Rf-0003gj-Rb for help-gnu-emacs@gnu.org; Sat, 19 Jul 2008 00:53:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KK4Rd-0003f8-Sg for help-gnu-emacs@gnu.org; Sat, 19 Jul 2008 00:53:23 -0400 Original-Received: from [199.232.76.173] (port=48730 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KK4Rd-0003ex-Oy for help-gnu-emacs@gnu.org; Sat, 19 Jul 2008 00:53:21 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:39800 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KK4Rd-0006uO-Bo for help-gnu-emacs@gnu.org; Sat, 19 Jul 2008 00:53:21 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KK4RX-0006fq-RX for help-gnu-emacs@gnu.org; Sat, 19 Jul 2008 04:53:15 +0000 Original-Received: from e178005224.adsl.alicedsl.de ([85.178.5.224]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Jul 2008 04:53:15 +0000 Original-Received: from david.hansen by e178005224.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Jul 2008 04:53:15 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 24 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e178005224.adsl.alicedsl.de Mail-Copies-To: nobody User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:VqW4/1Qpa8t1kmv+PYg06orieqU= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:55725 Archived-At: On Wed, 16 Jul 2008 12:04:55 +0200 Arnaud Diederen wrote: > I'm doing a rather important part of my work in JavaScript, and > the problem with SpiderMonkey is that, although it proposes the (solid) > implementation of ECMAScript ed. 3 that is embedded in > Mozilla and FireFox, it will _not_ make the host objects (window, > document, ...) available. I worked a bit on a little webkit based toy browser. The (far away) goal is having something similar to Conkeror w/o the huge memory and CPU requirements. It's in no way usable as a browser but you can have a REPL (in theory even w/o a top level window, but the GTK port of webkit seems to assume it is always realized). E.g. w = new Webview("http://www.gnu.org/"); repl(w.mainFrame.context); lets you do whatever you want within the DOMWindow. If there is interest I can push it on savannah or somewhere else. But note that it is not even α. David