Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eievui5/evscript
An extensible bytecode-based scripting engine for the Game Boy
https://github.com/eievui5/evscript
Last synced: 2 months ago
JSON representation
An extensible bytecode-based scripting engine for the Game Boy
- Host: GitHub
- URL: https://github.com/eievui5/evscript
- Owner: eievui5
- License: mit
- Created: 2022-10-03T01:45:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-11T15:22:13.000Z (3 months ago)
- Last Synced: 2024-04-11T18:20:23.369Z (2 months ago)
- Language: Rust
- Homepage:
- Size: 115 KB
- Stars: 8
- Watchers: 1
- Forks: 2
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-gbdev - evscript - A scripting language for the Game Boy, useful for enemy AI, dialogue, animations, and coroutines. (Software Development / Tools)
README
# evscript
## An extensible bytecode-based scripting engineSome examples can be found in the `scripts/` folder.
To install the latest release, just run `cargo install evscript`.
## Todo
- Script definitions could be given "arguments", syntactic sugar for defining variables at the very beginning of the pool.
- Similarly, if `return` is given a value, this could be copied to the very beginning of the script pool, as convienience
- Despite evscript's lack of functions, these features would still be very useful for interating with assembly or other scripts if a custom runtime provides function call support.
- `repeat` could name its index variable if given a second argument (such as `repeat i, n`), similar to the common `for (int i = 0; i < n; i++)` pattern that `repeat` aims to replace.## Credits
- [poryscript](https://github.com/huderlem/poryscript) for inspiring this project.
- And everyone at gbdev who helped me along the way :)