Re: [Scriptonite-dev] ECMAScript test files
Status: Planning
Brought to you by:
egagnon
|
From: Raif S. N. <ra...@fl...> - 2000-03-21 17:13:14
|
At 03:36 PM 3/21/00 +0000, Pedro Vale Lima wrote: >"Raif S. Naffah" wrote: > > > anybody knows if there are suggested/recommended ECMAScript (source) files > > to use for validating the generated lexer and parser? > > > >There is a big test suite in the mozilla project. Look for js-test**** in > >http://ftp.mozilla.org/pub/js/ excellent. i'll go digging... i'll probably create 2 packages under the org.scriptonite hierarchy: org.scriptonite.test and org.scriptonite.test.data the first will contain Test classes, while the second will contain the validation .js test files. >You can also find there rhino, the mozilla project javascript interpreter. >I've just peeked >at it but it seems that the parser was handcoded (?). Anyhow it might be >useful. i'll keep that in mind. thanks for the pointers :-) cheers; rsn |