using SML for the ES4 spec
sweeks at sweeks.com
Mon Oct 30 11:56:08 PST 2006
back which y'all might find useful. The code follows the ES3 spec and
* A hand-crafted top-down-parser generator.
The ML yacc parser works except that it doesn't handle semicolon
insertion -- I couldn't figure out any way to do that, so I wrote my
own top-down-parser generator that has an interface for token
insertion. That one works fine. I've tested it on a fair bit of
The code is available under the MLton license
which is a BSD-style license, so I hope would be OK for you.
Let me know if the code sounds useful and I will package it up.
More information about the Es4-discuss