Ann: jsparser

341 views
Skip to first unread message

Florian Loitsch

unread,
May 20, 2012, 4:02:42 PM5/20/12
to General Dart Discussion
I just wanted to let you know that I have uploaded the JavaScript parser that I wrote during last week's Hackathon in London:


I spend a little bit of time during this weekend to make it more complete and usable, but don't expect a polished product. For example there are no tests, yet.

That said: I do think that the library is in a usable state. I also tried to keep the code simple (even if that sometimes meant sacrificing some speed), and I hope that this alone makes the library valuable.

My motivation for the parser was to help in (semi) automatic translations from JavaScript to Dart. Currently I don't have the time to continue on this path, but maybe somebody else wants to give it a try?

// florian
--
Give a man a fire and he's warm for the whole day,
but set fire to him and he's warm for the rest of his life. - Terry Pratchett

financeCoding

unread,
May 20, 2012, 4:34:25 PM5/20/12
to mi...@dartlang.org
Hi Florian,

What was "Var.dart" used for? It's currently not in the repo.

Kind Regards,
Adam

Florian Loitsch

unread,
May 20, 2012, 4:59:33 PM5/20/12
to financeCoding, mi...@dartlang.org
On Sun, May 20, 2012 at 10:34 PM, financeCoding <financ...@gmail.com> wrote:
Hi Florian,

What was "Var.dart" used for? It's currently not in the repo.
argh. Sorry about that. Forgot to add the file to the repository. Just uploaded it.
It is used by the resolver.

mvh,
// florian
Reply all
Reply to author
Forward
0 new messages