[starlogo-users] StarLogo and Java
Daniel Wendel
djwendel at mit.edu
Fri Jun 27 15:34:43 EDT 2008
Hello Stefano,
StarLogo TNG is programmed primarily in Java, and we therefore distribute it
with a copy of Java, but the programs are actually run in a virtual machine
that is programmed in C. Unfortunately the blocks do not have any kind of
Java equivalent; they are compiled into bytecodes and executed by the
StarLogo VM, which is its own language just as the Java VM is its own
language. Unfortunately it is not possible to program the agents themselves
using Java.
However, the StarLogo TNG blocks interface is programmed entirely in Java
and can be extended to work with other languages besides StarLogo. For
example one could imagine using the blocks to program BASIC or even more
complicated languages like Java. We hope to be releasing the blocks
interface (we call it CodeBlocks) as its own library sometime in the future.
If you would like to talk about this more please feel free to write with
more questions!
Thanks,
--Daniel (StarLogo TNG Team)
On Fri, Jun 27, 2008 at 7:01 AM, stefano federici <s_federici at yahoo.com>
wrote:
> Digging into StarLogo folders I noticed several Java related stuff (i.e.
> jar files and the /jre folder). So I suppose that StarLogo TNG
> is implemented in Java, as StarLogo was. My first question is then: is this
> completely true?
>
> And my second question is: does StarLogo TNG exposes any Java to its users?
> I would like to know if logo block programs created with StarLogo TNG are
> visible to the user in some Java format and if StarLogo TNG users can extend
> the capabilities of the environment by using Java.
>
> Thank you in advance for your attention
>
>
> Stefano Federici
> -------------------------------------------------
> Università degli Studi di Cagliari
> Facoltà di Scienze della Formazione
> Dipartimento di Scienze Pedagogiche e Filosofiche
> Via Is Mirrionis 1, 09123 Cagliari, Italia
> -------------------------------------------------
> Tel: +39 349 818 1955 Fax: +39 070 937 1870
>
> _______________________________________________
> starlogo-users mailing list
> starlogo-users at media.mit.edu
> http://education.mit.edu/mailman/listinfo/starlogo-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://education.mit.edu/pipermail/starlogo-users/attachments/20080627/b04383d1/attachment.html
More information about the starlogo-users
mailing list