On Oct 26, 2011, at 5:02 PM, Michael Dyck wrote: > Brendan Eich wrote: > ... > >>> (I ask because, in my spare time, I'm developing a process that massages >>> the ES spec into an executable/testable form. So I wonder if I'm >>> duplicating existing work.) >> Interesting -- you are writing an interpreter? > > Yes, but not an interpreter for ES, rather an interpreter (more or less) > for ES-spec-ese, the ad hoc notation that the ES spec's algorithms are > written in. So then if you feed the ES spec to *that* interpreter, you > do get an interpreter for ES. That's the idea, anyhow. It works, but so > far only for really simple programs.
I'm again considering creating a line-by-line translation of the ES6 spec algorithms into an executable evaluator of parse trees. this would be a non-normative translation of the spec. that could be used to test the algorithms. I'd be interesting in hearing about the details of what you have been working on. Allen
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

