koto
gluon
koto | gluon | |
---|---|---|
4 | 14 | |
478 | 3,117 | |
17.6% | 0.8% | |
9.6 | 7.6 | |
4 days ago | 2 months ago | |
Rust | Rust | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
koto
- Rock v0.2.1, a little native toy language I've made with Rust and LLVM.
-
What's everyone working on this week (29/2021)?
Putting the finishing touches on a procedural macro to bind Rust code to koto we want to use in synth. Also a blog post about it is on the way.
-
What's everyone working on this week (23/2021)?
I'm currently trying to improve the vtable dispatch in koto (because I want to use it in synth).
-
Dyon – A rusty dynamically typed scripting language
I've been working on Koto which is intended for this kind of use case. I've been thinking about extending Rust applications with scripting, and I have games in mind but more generally I'm interested in rapid iteration in creative applications. It's still very early so I haven't shared it more widely but I'd be curious to hear what you think.
https://github.com/koto-lang/koto
gluon
- Gluon is a static, type inferred and embeddabble language written in Rust
-
Embeddable Scripting Language for Embedded Rust
A colleague of mine used https://github.com/gluon-lang/gluon with great success in our rust projects. Although it probably can't run in a no_std environment.
-
loxcraft: a compiler, language server, and online playground for the Lox programming language
Aside from these, if you want some inspiration for a production-grade language built in Rust, you might want to go through the source code of Starlark and Gluon.
-
Modules and Imports
Some languages, like Zig and Gluon have an import expression, where the imported symbols are under a local constant's name. Gluon then also supports destructuring, and Zig has had multiple proposals for years about it, none of which are canon. That is, code like this:
- Gluon: A New Node.js Framework to Create Desktop Apps
- Rock v0.2.1, a little native toy language I've made with Rust and LLVM.
- Gluon: A static, type inferred and embeddable language written in Rust
-
Fornjot – The world needs another CAD program
This should be a good use-case for rust-based scripting languages, I think.
I loosely followed a project of that kind a while ago, I don't quite remember if it was Gluon [0] or Dyon [1]. Not sure if these are still active, or if another competitor showed up in meantime.
___
[0] https://github.com/gluon-lang/gluon
[1] https://github.com/PistonDevelopers/dyon
-
Dynamic language extensions for Rust?
Or if you wanted something more Rust-native, you could try Gluon.
-
Which scripting languages work well embedded with Rust?
Gluon
What are some alternatives?
tiny-tokio-actor - A simple tiny actor library on top of Tokio
toolkit-rust
tealr - A wrapper around mlua and rlua to generate documentation and other helpers
Rhai - Rhai - An embedded scripting language for Rust.
tealsql - a sqlx wrapper for teal and lua
protect-endpoints - Authorization extension for popular web-frameworks to protect your endpoints
bytecount - Counting occurrences of a given byte or UTF-8 characters in a slice of memory – fast
duckscript - Simple, extendable and embeddable scripting language.
dyon - A rusty dynamically typed scripting language
mun - Source code for the Mun language and runtime.
synth - The Declarative Data Generator
rune - An embeddable dynamic programming language for Rust.