BMSL - Bevy Macro Scripting Language #17157
Replies: 1 comment
-
I disagree. Because one of the main reason of using 'scripting language' in an engine, is that you don't have to compile anything. You just interpret the code, even part of it. You can even modify the runtime and reinterpret symbols while the code is running like any LISP, from which are inspired most of scripting language. Using Rust, means that you need to compile it and link it after each change, and even with a beast of a PC, is still slow. And final questions, if this 'script' is compiled from Rust macro, why not use Rust directly ? I think https://github.com/jarkonik/bevy_scriptum is already on a good path. What a "BMSL" would add on top of an industry-standard LUA ? |
Beta Was this translation helpful? Give feedback.
-
Since Rust has such a great macro system, I thought the best approach for a scripting language might be macros. That way everything compiles into rust code.
-- Just some simple interactions to start with
-- doesn't necessarily have to look like a programming language.
-- very high level - no access to libraries written in rust
-- a cargo project template for new projects that will be of this type
Functionality:
Loading assets from disk into world
Basic Math
Load/Reference assets by FileName
Interact with world objects, including UI
play sounds
Beta Was this translation helpful? Give feedback.
All reactions