mods / utility

R // UTILITY

redscript-vm

by jac3km4

0
★ 4 stars

redscript-vm Lightweight and fast virtual machine for redscript. This project is a work-in-progress. It can already be used to run simple programs, but many features remain unimplemented. If you want to play with it, you can try out the WebAssembly version here. features

  • ✔️ arithmetic
  • 🚧 arrays (implemented, but requires testing)
  • ✔️ classes and polymorphism
  • ✔️ incremental garbage collection
  • ✔️ custom native functions
  • ✔️ pinned values (out parameters)
  • 🚧 structs (implemented, but all structs are boxed for now)
  • 🚧 variants (implemented partially)
  • ❌ debugger
  • ❌ scripted value references
  • ❌ statically sized arrays

shell This project includes a simple shell that you can use to build/test/debug your code. The shell looks for a redscript.toml file in the directory it's being run from. The file should look something like this: After the shell starts, you can try defining a src/main.reds file: You can then invoke it from the shell: You can also invoke scripts from the compiled bytecode: The shell comes with a basic test framework too.

Summary adapted from the project README (MIT licensed). Full docs at the source link above.

Are you the author?

This is a metadata page. We never host files without your consent. Claim it to get full-speed direct hosting for your users, download stats, and complete control: edit, update, delete, it stays yours.

Requires signing in with Discord. Questions first? Message the team from your dashboard.

Comments (0)

Sign in to comment, vote, or submit screenshots.

No comments yet.

More utility mods