epfl-lara / rust-stainless

An experimental Rust frontend for Stainless
Apache License 2.0
6 stars 2 forks source link

Support for local imperative features #92

Open romac opened 3 years ago

romac commented 3 years ago

Add support for local mutation (ie. no mutable references, just mutable variables/parameters within a function).

Start thinking about:

yannbolliger commented 3 years ago

The big question here, is what we want to do with references. For now, we allowed references because we knew that mutability was prohibited. As soon as mutability comes back, we need to revise, how we deal with references.

EDIT: question answered here in #98.