gluon
langs-in-rust
gluon | langs-in-rust | |
---|---|---|
14 | 12 | |
3,119 | 802 | |
0.9% | - | |
7.6 | 6.3 | |
2 months ago | 8 days ago | |
Rust | Python | |
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.
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
langs-in-rust
-
Gleam
Gleam is written in Rust and is a nice example (besides Rust itself) of what it looks like to write a language in Rust. By my own tracking (https://github.com/alilleybrinker/langs-in-rust) Gleam is one of the most popular languages written in Rust and is one of the few top languages in that list which isn't a reimplementation of an existing language!
-
Rust is ugly, doesn’t even let you write simple data structures, unsafe rust is not even defined, makes the simplest things so hard to write and did I mention it’s ugly?
Ah yes, std, that famous crate that is unusable for systems programming. God forbid anyone do any "systems" programming that uses std.
- Langs in Rust: a list of more than 100 programming languages implemented in Rust!
- The impossible case of pitching rust in a web dev shop
-
Scripting language that compiles to Rust?
A scripting language with an interpreter written in rust? Lua doesn't compile to C. The Lua interpreter is written in C and can inter-operate with it. Maybe look here: https://github.com/alilleybrinker/langs-in-rust
-
Hey Rustaceans! Got a question? Ask here! (29/2022)!
There are in fact! If I remember correctly, Gluon and Gleam are both done via Combinators. You can probably find many more here
- Rock v0.2.1, a little native toy language I've made with Rust and LLVM.
-
Higher level languages over Rust?
Or maybe see languages implemented in Rust being writen in rust doesn't mean they're good at interacting wirh rust)
-
Announcing Parcel CSS: A new CSS parser, compiler, and minifier written in Rust!
Parcel has been added to my list of languages implemented in Rust! It's currently the only CSS implementation listed there.
-
Scripting Languages of the Future
For anyone interested in languages written in Rust, here’s a list: https://github.com/alilleybrinker/langs-in-rust
What are some alternatives?
toolkit-rust
inkwell - It's a New Kind of Wrapper for Exposing LLVM (Safely)
Rhai - Rhai - An embedded scripting language for Rust.
rust-langdev - Language development libraries for Rust
protect-endpoints - Authorization extension for popular web-frameworks to protect your endpoints
plzoo - Programming Languages Zoo
duckscript - Simple, extendable and embeddable scripting language.
passerine - A small extensible programming language designed for concise expression with little code.
mun - Source code for the Mun language and runtime.
xonsh - :shell: Python-powered, cross-platform, Unix-gazing shell.
rune - An embeddable dynamic programming language for Rust.
cs-video-courses - List of Computer Science courses with video lectures.