ECMAScript support broken?

2011-01-02 Thread Kan-Ru Chen
Hi, I recently want to start a small project that uses guile as the JavaScript interpreter, but the current git HEAD has errors regard object definition. --8---cut here---start-8--- scheme@(guile-user) ,L ecmascript Happy hacking with ECMAScript! To switch

Re: ECMAScript support broken?

2011-01-02 Thread Noah Lavine
Hi all, I looked at this. For the first error, I think the bug is in (language ecmascript compile-tree-il), where the file around line 369 says: ((object . ,args) (@impl new-object (map (lambda (x) (pmatch x

Re: ECMAScript support broken?

2011-01-02 Thread Noah Lavine
Hello again, Second problem solved as well. The attached patch fixes both issues. Anything else you notice being wrong with ecmascript? (I mean our implementation of it, of course ...) Noah On Sun, Jan 2, 2011 at 10:19 PM, Noah Lavine noah.b.lav...@gmail.com wrote: Hi all, I looked at this.