bonsai-rx / roadmap

Tracking the progress and status of the development roadmap
0 stars 0 forks source link

Documentation for Bonsai.Scripting.Expressions #4

Open glopesdev opened 1 week ago

glopesdev commented 1 week ago

C# expression operators are a powerful tool within Bonsai, but there is almost no documentation available on their use. Including a searchable list of example expressions would be extremely helpful.

glopesdev commented 1 day ago

Similar to what was made for Parse and Format.

glopesdev commented 1 day ago

The underlying library used in Bonsai.Scripting.Expressions is an older version of dynamic-linq.

bruno-f-cruz commented 1 day ago

It would be nice to document the ExpressionSink ability to set values of properties. For instance, this expression evaluates but it doesn't do anything it.Property = 1

But if one uses the notation: it.set_property(1) it actually sets the value

It would be nice to document this behavior and potential consequences of modifying objects in bonsai (i.e. if shared across different places in the workflow)