Skip to content

Ideology

WireWhiz edited this page Jan 17, 2023 · 2 revisions

The idea behind Brane Script is simple. Create a small, aot optimized, jit compiled, embedded language for use in projects where scripts are not meant to store data. BraneScript was meant for use in Brane Engine, where we use ECS to store data. The scripting language is intended to interact with that through api calls. So all it needs is the ability to store a few global variables tied to the lifetime of the script object they are defined in. Thus eliminating the need to worry about managing pointer lifetimes, as everything is either on the stack, global, or passed into the script from an external api.

Clone this wiki locally