૮༼⚆︿⚆༽つ / Wildan

I've been using #Knitfile for a while and it's pretty good.
zyedidia.github.io/blog/posts/

But now I get annoyed with Lua `require()` which doesn't allow arbitrary path. I think replacing Lua with #Rhai script should solve the problem. Unlike gopher-lua, rhai provide a way to customize the syntax. However, the whole project (:knit) need to be rewritten in Rust 😅

Knit: making a better Make | Zachary Yedidia's blog

zyedidia.github.io
skunksarebetter

#Rhai is a scripting language for #Rust.

Rhai is a configurable, embeddable scripting language for use in Rust programs. Rhai scripts can easily be loaded and executed from a Rust program, even for no-std or #WebAssembly targets. Rhai supports closures, OOP, dynamic typing, and a simplified Rust-like syntax. Functions and operators can easily be added to Rhai, as well as entirely new syntax.

Website 🔗️: rhai.rs/

#free #opensource #foss #fossmendations #programming #WASM

Rhai – Embedded Scripting for Rust

Embedded scripting language and engine for Rust. A…

rhai.rs
Lup Yuen Lee 李立源

What's an Abstract Syntax Tree? Why is it perfect for converting #Rhai Script to #uLisp?

lupyuen.github.io/articles/rha

Lup Yuen Lee 李立源

Run #Rhai Scripts on #BL602 (and BL604) ... By auto-converting to uLisp! All shall be explained in this article

lupyuen.github.io/articles/rha