aichallenge/aichallenge — pull request #372 by jackpal (2011-11-17 07:19:19+00:00)
Title: Update dart starter package and frogsh compiler to avoid writing to stdout

This time I think it's going to work. (I've installed it on a VM version of the aichallenge server and it seems
to be working there. At least the sanity tests are passing.)

The previous code had two problems:
1) The dart starter kit had some type warnings.
2) The dart-frogsh compiler wrote those type warnings to stdout, which ment that
a) the program would fail the sanity tests.
b) the user didn't see the warnings or error messages (because they were written to stdout.)

Fixed by:

1) Modifying the frogsh compiler to write warnings and messages to stderr.

2) Fixing the type warnings in the dart starter kit.

3) Adding a convenience function to log to stderr.

Note: Someone will have to manually update the dart frogsh compiler by manually installing:

http://ants-dart-starter-package.googlecode.com/files/dart-frogsh-r1499.tgz

in the aichallenge server download_dir