A parsing framework for JavaScript