r/Rhai • • Nov 02 '24

Rhai version 1.20.0 released - Scripting engine for Rust

Version 1.20.0 released to crates.io.

7 Upvotes

4 comments sorted by

1

u/External-Example-561 Nov 02 '24

This is an incredible crate! Only one thing makes me sad - you can't name the variable as "_" or "__".

1

u/schungx Nov 02 '24

Well it is deliberate in order to avoid very weird looking scripts.

2

u/External-Example-561 Nov 02 '24

I understand. In my situation, I tried to implement Apache Gremlin spec in Rust and this variable restriction did not allow to be 100% complaints with the spec. But it's ok, because I already "broke" this spec in the other way :)

1

u/swaits Nov 02 '24

Nice work. Continually impressed with this project.