top | item 46349785

(no title)

lifis | 2 months ago

All the Rue code in the manual seems to also be valid Rust code, except for the @-prefixed intrinsics

discuss

order

steveklabnik|2 months ago

Yes, I started off with the idea that Rue's syntax would be a strict subset of Rust's.

I may eventually diverge from this, but I like Rust's syntax overall, and I don't want to bikeshed syntax right now, I want to work on semantics + compiler internals. The core syntax of Rust is good enough right now.

scuff3d|2 months ago

Out of interest, what's the motivation? What are you hoping to do with Rue that Rust doesn't currently provide?

emerent|2 months ago

How is it a subset then if it has the @-prefix? Wait, does Rust's grammar still have the @ and ~ sigils from the pre 1.0 times for pointers?