News for hackers. Stuff that matters.
Re:Roto: A Compiled Scripting Language for Rust by lynndotpy on Wednesday May 21, 2025 @09:41AM (#44051349)
Woah, this looks awesome.

One of my favorite things about writing Rust is that it's expression-oriented (i.e. almost everything is an expression), something you almost never see in non-functional languages.

I was wondering if Roto is also expression-oriented?

Re:Roto: A Compiled Scripting Language for Rust by terts on Wednesday May 21, 2025 @10:25AM (#44051772)
Hi! Author here. It is indeed expression-oriented, mostly following the same rules as Rust. If-else is an expression, for example.