Re: [pypy-dev] Javascript interpreter and r_uint

2012-12-06 Thread Armin Rigo
Hi, On Thu, Dec 6, 2012 at 1:01 PM, Maciej Fijalkowski wrote: > The problem, *right now* is that it's a proof of concept that requires > some work to be finished and/or to use JIT and be fast. I won't do it, > also because I have other Open Source commitments at hand. Same here. Anyone is welco

Re: [pypy-dev] Javascript interpreter and r_uint

2012-12-06 Thread Benjamin Peterson
2012/12/6 Leonardo Santagada : > On Thu, Dec 6, 2012 at 8:14 AM, Maciej Fijalkowski wrote: >> * xml literals are unsupported > > > They are only supported in firefox and flash so I don't think too many > people use it, but then if needed you can try > https://github.com/laverdet/js-xml-literal Al

Re: [pypy-dev] Javascript interpreter and r_uint

2012-12-06 Thread Leonardo Santagada
On Thu, Dec 6, 2012 at 8:14 AM, Maciej Fijalkowski wrote: > * the correct semicolon insertion requires a different parser > (standard says LL(1)) > The apple javascript parser (and maybe V8) don't use a LL(1) parser and still cope with ASI so maybe there are alternatives to this... but yep, for

Re: [pypy-dev] Javascript interpreter and r_uint

2012-12-06 Thread Maciej Fijalkowski
On Thu, Dec 6, 2012 at 3:52 AM, holger krekel wrote: > On Thu, Dec 06, 2012 at 02:14 -0800, Maciej Fijalkowski wrote: >> On Thu, Dec 6, 2012 at 1:58 AM, Jonathan Slenders >> wrote: >> > Hi all, >> > >> > Yesterday, I did some experiments with the existing javascript interpreter >> > that was wri

Re: [pypy-dev] Javascript interpreter and r_uint

2012-12-06 Thread holger krekel
On Thu, Dec 06, 2012 at 02:14 -0800, Maciej Fijalkowski wrote: > On Thu, Dec 6, 2012 at 1:58 AM, Jonathan Slenders > wrote: > > Hi all, > > > > Yesterday, I did some experiments with the existing javascript interpreter > > that was written in RPython. [1] > > It worked very well when interpreted

Re: [pypy-dev] Javascript interpreter and r_uint

2012-12-06 Thread Maciej Fijalkowski
On Thu, Dec 6, 2012 at 1:58 AM, Jonathan Slenders wrote: > Hi all, > > Yesterday, I did some experiments with the existing javascript interpreter > that was written in RPython. [1] > It worked very well when interpreted by CPython, but failed to translate to > C because of unsigned int issues. > >

[pypy-dev] Javascript interpreter and r_uint

2012-12-06 Thread Jonathan Slenders
Hi all, Yesterday, I did some experiments with the existing javascript interpreter that was written in RPython. [1] It worked very well when interpreted by CPython, but failed to translate to C because of unsigned int issues. Quite a few times, unsigned and signed objects were compared or added,