BlockstreamResearch / simfony

Rust-like high-level language that compiles down to Simplicity bytecode. Work in progress.
26 stars 9 forks source link

Doc: Scoping has no effect #7

Closed uncomputable closed 4 months ago

uncomputable commented 8 months ago

We need to update the documentation of a Simphony context to handle {scoping}. The implementation uses a stack of scopes which is probably what we need.

uncomputable commented 8 months ago

Discussed in #6

uncomputable commented 4 months ago

In the current documentation, we explain block statements instead of bare scopes. Block statements are the only way how {brackets} can be used in Simfony. As always, the documentation could be improved, but the confusing section on scopes that don't seem to have an effect has been removed, so I will close this issue.