Hi all,

I'm trying to play with NetLogo:
http://ccl.northwestern.edu/netlogo/
from Picolisp/Ersatz.

I managed to create a working .java with an empty NetLogo model,
but am stuck at translating this file to Picolisp. The .java is here:
http://stackoverflow.com/questions/24390853/expected-command-error-trying-to-embed-netlogo#24425658

In fact the main problem may be the classpath. Whatever I try in
the pil script, adjusting the -cp option to the `java` call, I get this error:

java.lang.ClassCastException: PicoLisp$NilSym cannot be cast to PicoLisp$Symbol

At this line:

(java Import org.nlogo.lite.InterfaceComponent)

Is it the right way to do this?
Is there something I must know in order to import from a .jar
in Ersatz?


chri

-- 

http://profgra.org/lycee/ (site pro)
http://delicious.com/profgraorg (liens, favoris)
https://twitter.com/profgraorg
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to