emer / emergent

Biologically based neural network simulations of the brain written in Go with a 3D GUI powered by Cogent Core.
https://emersim.org
BSD 3-Clause "New" or "Revised" License
187 stars 25 forks source link

V2 Updates #130

Open rcoreilly opened 1 day ago

rcoreilly commented 1 day ago

I'm using this ticket to take notes on further updates for v2 emergent.

rcoreilly commented 1 day ago

@kkoreilly reminded me that params are basically the same as styles in cogent core, and the same conclusion applies: the only way to cleanly get a direct tab-completable path into a nested structured object and set a value directly as a value is using closures (Stylers in core). So this is what we have to do in params. Getting away from the whole struct literal syntax will be nice too.

Furthermore, there is a notional plan of CoCo configuration system that also integrates yaegi interpretable code and goal transpiling to produce the best ever config file syntax. This would be for Config etc. So probably we want to go down that path first. Remains to be seen how this applies to the plot config stuff but probably.