Report for my GSoC project (JavaScript backend for nqp)

2013-09-24 Thread Paweł Murias
r and runtime. And test 55 has some problems with cloning multi methods. As the standalone compiler had trouble with roles and multi methods I didn't get to create a bootstraped nqp-js (nqp-js compiled with standalone nqp-js). Running in the browser is mostly a matter of figuring out how to lo

On implementing VMs in Javascript

2012-08-18 Thread Jonathan "Duke" Leto
Howdy, This is interesting: http://blog.amasad.me/2012/07/17/on-vms-in-javascript These are lessons learned from implementing http://repl.it , which is a very interesting site that allows you code in many different languages directly in the browser. It reminds me of http://codepen.io, but

Type Inference in Javascript

2011-10-27 Thread Jonathan "Duke" Leto
Howdy, This is a draft paper about Type Inference in Javascript (related to the new IonMonkey Javascript VM that will land in Firefox sometime soon): http://sixgill.org/ti-draft.pdf They are doing truly novel stuff. Not for the faint of heart. Duke -- Jonathan "Duke" Leto Let

Re: Future of Javascript

2011-09-18 Thread Tom Christiansen
> Interesting read for those of us interested in JS-on-Parrot: > http://markmail.org/message/uro3jtoitlmq6x7t Actually, it's interesting for other reasons, too. Here is a portion of their literal text, where I’ve taken the liberty to replace each instance of "Javasc

Future of Javascript

2011-09-18 Thread Jonathan "Duke" Leto
Howdy, Interesting read for those of us interested in JS-on-Parrot: http://markmail.org/message/uro3jtoitlmq6x7t Duke -- Jonathan "Duke" Leto Leto Labs LLC 209.691.DUKE // http://labs.leto.net NOTE: Personal email is only checked twice a day at 10am/2pm PST, please call/text for time-sensitiv

Re: Prototypal inheritance in JavaScript

2011-06-16 Thread Peter Lobsinger
your implementation for reasons of compatibility, but I would suggest you not make use of it in your own code. For example, its use has been deprecated by Mozilla (https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object/Proto). > all returns the same output > > { hello: &

Re: Prototypal inheritance in JavaScript

2011-06-15 Thread rohit jangid
thanks peter, you were absolutely correct, when we use constructor's to create objects the constructor's prototype's properties are maintained by an inbuilt [[prototype]] link and not accessible through object.prototype while referring to the problem code _

Re: Prototypal inheritance in JavaScript

2011-06-14 Thread Peter Lobsinger
On Tue, Jun 14, 2011 at 8:57 AM, rohit jangid wrote: > thanks lucian. > > My view on inheritance was that. > 1) first an empty object is created and it prototype points to > constructor's prototype . > 2) this object is passed into the constructor function where it can be > refrenced by "this" > 3

Re: Prototypal inheritance in JavaScript

2011-06-14 Thread Vasily Chekalkin
Hello. This is quite interesting video about Google's V8 http://www.youtube.com/watch?v=FrufJFBSoQY&feature=related -- Bacek On Tue, Jun 14, 2011 at 10:57 PM, rohit jangid wrote: > thanks lucian. > > My view on inheritance was that. > 1) first an empty object is created and it prototype points

Re: Prototypal inheritance in JavaScript

2011-06-14 Thread rohit jangid
thanks lucian. My view on inheritance was that. 1) first an empty object is created and it prototype points to constructor's prototype . 2) this object is passed into the constructor function where it can be refrenced by "this" 3) this is returned when we use new operator with constructor funtion

Re: Prototypal inheritance in JavaScript

2011-06-14 Thread Lucian Branescu
On 14 June 2011 12:51, rohit jangid wrote: > Hi, > I ran into a confusion in prototypal inheritance in javascript, > > in this code > > var Constructor = function(){}; > Constructor.prototype.hello = "hello" > Constructor.prototype.value = 1; >

Prototypal inheritance in JavaScript

2011-06-14 Thread rohit jangid
Hi, I ran into a confusion in prototypal inheritance in javascript, in this code var Constructor = function(){}; Constructor.prototype.hello = "hello" Constructor.prototype.value = 1; Constructor.prototype.test = function() { console.log(this.hello); }; // creating object from this c

my final proposal for JavaScript on Parrot Compiler

2011-04-02 Thread rohit jangid
Hello, This is my final proposal for "JavaScript on Parrot" project. https://gist.github.com/899803 Please have a look and feel free to make any comment and suggestion to improve it. -- Rohit Jangid Under graduate student, Computer Engineering, Netaji Subhas Institute Of Technology,

Re: proposal for javascript on parrot compiler

2011-03-29 Thread Andrew Whitworth
This newest draft is looking very good now. It looks like you're planning 9 weeks of coding, with the last three weeks devoted to extra features, testing, and documentation. This is a good idea, to keep flexibility. Just make sure you don't save all testing and documenting until the end. Tests and

proposal for javascript on parrot compiler

2011-03-29 Thread rohit jangid
hello, thanks to everyone for reading my proposal and making valuable comments, this is the 3d version of my proposal. pls see it and suggest more improvements . https://gist.github.com/891156 thanks. -- Rohit Jangid Under graduate student, Computer Engineering, Netaji Subhas Institute Of Technol

Re: project proposal for "JavaScript on Parrot"

2011-03-27 Thread Jonathan "Duke" Leto
y name is Rohit Jangid ,  and here is my proposal for project > "JavaScript on Parrot" > > https://gist.github.com/888952 > > -- > Rohit Jangid > Under graduate student, > Computer Engineering, > Netaji Subhas Institute Of Technology, > Dwarka,Delhi > _

project proposal for "JavaScript on Parrot"

2011-03-27 Thread rohit jangid
hello, My name is Rohit Jangid , and here is my proposal for project "JavaScript on Parrot" https://gist.github.com/888952 -- Rohit Jangid Under graduate student, Computer Engineering, Netaji Subhas Institute Of Technology, Dwarka,Delhi __

Re: regarding the project : javascript on parrot

2011-03-24 Thread Jonathan "Duke" Leto
Howdy Rohit, Firstly, welcome to the Parrot community. I've cc'ed the parrot-dev mailing list, which has many Parrot developers and GSoC mentors. Glad to hear that you are interested in Javascript on Parrot! Just to clarify, this project is to implement a Javascript compiler, a

Re: javascript

2010-10-17 Thread Jonathan Leto
Howdy, On github: http://github.com/parrot/ecmascript Duke On Sun, Oct 17, 2010 at 5:23 PM, Andrew Whitworth wrote: > None that I am aware of. There was the ECMAScript project in the > /languages repo, but I think that hasn't seen any attention in a > while. > > I would be willing to hack on s

Re: javascript

2010-10-17 Thread Jonathan Leto
Howdy, I would also be interested in hacking on this. Is there anything serviceable from the last implementation? I will give it a once over. Duke On Sun, Oct 17, 2010 at 5:23 PM, Andrew Whitworth wrote: > None that I am aware of. There was the ECMAScript project in the > /languages repo, but

Re: javascript

2010-10-17 Thread Andrew Whitworth
None that I am aware of. There was the ECMAScript project in the /languages repo, but I think that hasn't seen any attention in a while. I would be willing to hack on some of the internals of a JS compiler if there was an active project somewhere. I think that the proto-object metamodel that JS us

javascript

2010-10-17 Thread Will Coleda
Is anyone actively working on a JS implementation at the moment, or is http://code.google.com/p/parrotjs the most recent attempt? -- Will "Coke" Coleda ___ http://lists.parrot.org/mailman/listinfo/parrot-dev