Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
JS_HAS_FILE_OBJECT support removed in TraceMonkey repository
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jeff Walden  
View profile  
 More options Feb 10 2010, 7:41 pm
Newsgroups: mozilla.dev.tech.js-engine
From: Jeff Walden <jwalden+...@mit.edu>
Date: Wed, 10 Feb 2010 16:41:15 -0800
Local: Wed, Feb 10 2010 7:41 pm
Subject: JS_HAS_FILE_OBJECT support removed in TraceMonkey repository
Given current priorities for most of the TraceMonkey team (making JS fast, feature-ful wrt ES5 and future revisions, etc.) the ancient, opt-in file support code is not being maintained, improved, meaningfully bugfixed, etc.  It's therefore been removed from the repository to reflect the reality that we are busy frying other fish and don't have time for it.  It's still in history if you really need it -- but you should really consider one of the other, actually-maintained solutions out there instead if at all possible.

Jeff


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Wes Garland  
View profile  
 More options Feb 10 2010, 8:49 pm
Newsgroups: mozilla.dev.tech.js-engine
From: Wes Garland <w...@page.ca>
Date: Wed, 10 Feb 2010 20:49:32 -0500
Local: Wed, Feb 10 2010 8:49 pm
Subject: Re: JS_HAS_FILE_OBJECT support removed in TraceMonkey repository
Good riddance.

It has never built since Makefile.ref was deprecated, so nobody should be
complaining, I hope.  It's also quite buggy -- even simple things like
read-write streams throw-on-open when O_RDWR != O_RDONLY | O_WRONLY (which
is just about everywhere UNIX).

If anybody out there really needs this functionality, I have some code you
can probably bend into the same API, offered under the same license terms as
SpiderMonkey -- hit me up for details.

Wes

--
Wesley W. Garland
Director, Product Development
PageMail, Inc.
+1 613 542 2787 x 102


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
psthomas  
View profile  
 More options Feb 24 2010, 9:41 pm
Newsgroups: mozilla.dev.tech.js-engine
From: psthomas <pstho...@gmail.com>
Date: Wed, 24 Feb 2010 18:41:47 -0800 (PST)
Local: Wed, Feb 24 2010 9:41 pm
Subject: Re: JS_HAS_FILE_OBJECT support removed in TraceMonkey repository
Hi Jeff,

I ran across this today after banging my head against all the
requirements to get narcissus and File() working in order to parse and
manipulate JS parse trees (now I want those 2 days of my life back).

What started me down this road was Brendan's post warning folks away
from the jsparse, and that until jsparseapi existed (if ever)
narcissus would be the best bet (https://wiki.mozilla.org/
JavaScript:SpiderMonkey:Parser_API).

> but you should really consider one of the other, actually-maintained solutions out there instead if at all possible.

So if narcissus can't really talk to the real world (w/out File()),
what's the best advice right now for mucking with JS parse trees?

Cheers,
Patrick

On Feb 10, 4:41 pm, Jeff Walden <jwalden+...@mit.edu> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeff Walden  
View profile  
 More options Mar 24 2010, 2:16 pm
Newsgroups: mozilla.dev.tech.js-engine
From: Jeff Walden <jwalden+...@mit.edu>
Date: Wed, 24 Mar 2010 11:16:18 -0700
Local: Wed, Mar 24 2010 2:16 pm
Subject: Re: JS_HAS_FILE_OBJECT support removed in TraceMonkey repository
On 02/24/2010 06:41 PM, psthomas wrote:

> So if narcissus can't really talk to the real world (w/out File()),
> what's the best advice right now for mucking with JS parse trees?

Sorry for not getting back to this sooner, I'm bad at reading newsgroups regularly...

Dave Herman is working on some AST creation/manipulation APIs, I believe prototyping ES6 strawmen -- that's probably the best advice long-term.  *right now*, I'm not so sure.

Jeff


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Wes Garland  
View profile  
 More options Mar 24 2010, 4:19 pm
Newsgroups: mozilla.dev.tech.js-engine
From: Wes Garland <w...@page.ca>
Date: Wed, 24 Mar 2010 16:19:12 -0400
Local: Wed, Mar 24 2010 4:19 pm
Subject: Re: JS_HAS_FILE_OBJECT support removed in TraceMonkey repository

> So if narcissus can't really talk to the real world (w/out File()),
> what's the best advice right now for mucking with JS parse trees?

In *theory* you should be able to get Narcissus to run under gpsee's JS
shell, which would let you use the CommonJS fs-base API to do your file I/O.

Hit me up in #gpsee on freenode if you want help.

Wes

--
Wesley W. Garland
Director, Product Development
PageMail, Inc.
+1 613 542 2787 x 102


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »