ToonTalk / behaviour-composer

A web-based tool for composing NetLogo micro-behaviours
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Parsing code created within BComposer #142

Open ToonTalk opened 9 years ago

ToonTalk commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
Currently the code generated in NL ( e.g. through downloading code and
importing into NL ) creates very long lines such as:

watts-on watts-onset watts-standby watts-standbyset watts-hibernate
watts-hibernateset watts-off 2set age 24 * 365 * lifecycleset
available-for-grid-experiment? falseset grid-experiment-running? falseset
surplus-equipment? falseset been-replaced? false set my-desk nobodyset
my-user nobodyset my-state "off"set time-unused 0set in-use? false

Please provide any additional information below e.g. the session URL for
the model that the issue occurred in.

http://modelling4all.nsms.ox.ac.uk/Model/?session=VkASmuxQcccJWP5zpMX84h

it would be great if this produced code that was closer to NL coding
guidelines e.g.:

http://www.turtlezero.com/wiki/doku.php?id=guide:best_practices

Original issue reported on code.google.com by howard.noble on 2008-08-11 10:13:02

ToonTalk commented 9 years ago
I think the fix for issue 140 addresses this. Please confirm after testing the new 
release (coming soon).

Original issue reported on code.google.com by ToonTalk on 2008-08-11 15:54:02