gama-platform / gama

Main repository for developing the 2024+ versions of GAMA
https://gama-platform.org
GNU General Public License v3.0
11 stars 4 forks source link

Add a permanent context in the interactive console #202

Open lesquoyb opened 1 month ago

lesquoyb commented 1 month ago

Is your request related to a problem? Please describe. It would be pretty useful to have an interactive console that holds some kind of permanent context, in which we could declare variables and change their values in real time. Like it's the case in python for example. That would make it possible to test really quickly some functions, return types etc. without having to create a whole test model just for that.

Describe the improvement you'd like The interactive console holds a context when there's no simulation running, and we can write a sequence of commands like this:

int i <- 0
i <-1
i

Maybe it could also be used separately from the whole ide later (also like it's the case for python)