swing1 example

0 views
Skip to first unread message

Chris Double

unread,
Sep 13, 2007, 6:25:07 PM9/13/07
to The Vodka Language Discussion Group
The 'swing1' example fails due to not knowing about 'Console'. Adding
'import library.console;' to it makes it work.

It runs fine with this change. If I enter it line by line at the
interactive prompt it gets very slow responses between lines though.
By the time I've run the native import statements, even do something
simple like 'print(1);' at the prompt takes 10-15 seconds. Running
from the file, the example runs very fast though.

Any thoughts why this might be?

Chris.
--
http://www.bluishcoder.co.nz

Chris Ferrell

unread,
Sep 14, 2007, 10:20:05 AM9/14/07
to vodka-...@googlegroups.com
I can confirm the slow responses at the interactive prompt.

tiark...@googlemail.com

unread,
Sep 15, 2007, 5:22:09 PM9/15/07
to The Vodka Language Discussion Group
Hi,

I have adjusted the environment-passing mechanism of the
interactive mode a bit, removing references to imported
Java methods that are never used by the program,
and I believe it should work ok now.

Thanks for pointing this out!

- Tiark

Chris Double

unread,
Sep 16, 2007, 9:03:57 AM9/16/07
to The Vodka Language Discussion Group
On Sep 16, 9:22 am, tiark.ro...@googlemail.com wrote:
> I have adjusted the environment-passing mechanism of the
> interactive mode a bit, removing references to imported
> Java methods that are never used by the program,
> and I believe it should work ok now.

Works fine now, thanks!

Chris.
--
http://www.bluishcoder.co.nz

Reply all
Reply to author
Forward
0 new messages