I'm making an extension for NetLogo, and for part of it I want it to be 
able to parse a String and interpret it as a NetLogo object. For example, 
the string "true" gets parsed as the boolean true, "15" gets parsed as the 
double 15, "[1 2 3]" gets parsed as the LogoList [1 2 3], "[-> print 5 + 
5]" gets parsed as an anonymous command, etc.
I thought I could simply do App.app().report(myInputString) in order to 
parse it, but every time I use App.app().report, NetLogo freezes, and the 
same happens with App.app().command. Is there something I'm doing wrong, is 
it a bug in NetLogo, or do I need to write my own parser? Thanks in advance.

TL;DR What is the Java equivalent of "runresult"?

-- 
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to netlogo-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netlogo-devel/0469b708-7fd3-4bfc-a308-66dbf0537d87%40googlegroups.com.

Reply via email to