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

Add string concatenation operator to scripting #802

Merged
merged 3 commits into from
Apr 24, 2024

Conversation

seanng-1
Copy link
Contributor

@seanng-1 seanng-1 commented Apr 7, 2024

Helps address #766 but just supports string concatenation resulting in a string.

Adds support for string concatenation via a new operator, similar to how it is done in Lua:

e.g.

value := 10
message := "The value is " .. value

would result in The value is 10

Haven't gone much further than testing for my own use case. I can make some other changes if required so please let me know :)

@facontidavide
Copy link
Collaborator

looks good to me.

But can you please use pre-commit to fix the formatting?

@facontidavide
Copy link
Collaborator

Also, I can see Pixi windows failing. Can you check that out, please?

@seanng-1
Copy link
Contributor Author

CI should be passing now :)

@facontidavide facontidavide merged commit 0deb546 into BehaviorTree:master Apr 24, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants