bezirg / hlogo Goto Github PK
View Code? Open in Web Editor NEWA Parallel NetLogo variant in Haskell
License: Other
A Parallel NetLogo variant in Haskell
License: Other
Works only with agentset as input.
It should be typed instead by turtles_on :: (TurtlePatch (One a), TurtlePatch s) => a -> C s _s' IO Turtles
.
It could be Double as default
globals [["var1"],["var2"]]
or with types
globals [["var1","String"], ["var2"]]
or it could be mandatory:
globals [("var1", ''String), ("var2", ''Double)]
Turning turtles turtles should be a (growable) Vector and upon
the 1st die, they should be turned to an IntMap.
Full Optimization requires either:
a) static analysis
b) dynamically-changing datastructure
Naive optimization just parses the whole program to check for call to die
operator.
check how it is done with Netlogo's BehaviorSpace
(asynchronous die problem)
either based on
e.g.
wiggle = right r >> left l
of
works ok. We should revisit exception handling and exception propagation
i.e. Vector.filterM, IntMap.filterM, Map.filterM
Currently, it uses intermediate lists which is generic: (fromList . filterM . toList)
When I want to run RedBlue on a MacBook Pro 10.12.2 I get this error message:
MacBook-Pro-de-Sergio:hlogo sergiobacelar$ ./bench/hlogo/RedBlue --max-pxcor=10 --min-pxcor=-10 --max-pycor=10 --min-pycor=-10 +RTS -N2
RedBlue: Stop called and has not be catched. This should not normally happen
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.