Version française
Home     About     Download     Resources     Contact us    
Browse thread
JavaScript parser
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Stephen Weeks <sweeks@s...>
Subject: Re: [Caml-list] JavaScript parser
> Does anyone know of a JavaScript parser for OCaml ? This would save me some
> work towards the development of a JS static checker.

I know of one in SML, which might be easier to port than to start from scratch.

  http://mlton.org/cgi-bin/viewsvn.cgi/mltonlib/trunk/com/entain/javascript/unstable/

Also, the Mozilla guys are implementing the Ecmascript 4 spec in SML.  They are
pretty far along as I understand it.  They must have some kind of JS parser
implemented in SML too.  You might ask on the ES4 list.

  https://mail.mozilla.org/listinfo/es4-discuss