Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for Bonsai.Scripting.Expressions #4

Open
glopesdev opened this issue Oct 29, 2024 · 3 comments
Open

Documentation for Bonsai.Scripting.Expressions #4

glopesdev opened this issue Oct 29, 2024 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@glopesdev
Copy link
Member

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 glopesdev added the documentation Improvements or additions to documentation label Oct 29, 2024
@glopesdev
Copy link
Member Author

Similar to what was made for Parse and Format.

@glopesdev
Copy link
Member Author

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

@bruno-f-cruz
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants