Add string concatenation operator to scripting by seanng-1 · Pull Request #802 · BehaviorTree/BehaviorTree.CPP · GitHub
Skip to content

Add string concatenation operator to scripting#802

Merged
facontidavide merged 3 commits into
BehaviorTree:masterfrom
seanng-1:master
Apr 24, 2024
Merged

Add string concatenation operator to scripting#802
facontidavide merged 3 commits into
BehaviorTree:masterfrom
seanng-1:master

Conversation

@seanng-1

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

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Collaborator

@facontidavide

Copy link
Copy Markdown
Collaborator

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

@seanng-1

Copy link
Copy Markdown
Contributor Author

@facontidavide facontidavide merged commit 0deb546 into BehaviorTree:master Apr 24, 2024
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