danilopedraza / symstatic

The Symstatic programming language code repository
https://symstatic.org/book
GNU General Public License v3.0
2 stars 0 forks source link

Code blocks #16

Closed danilopedraza closed 3 months ago

danilopedraza commented 5 months ago

I thought of a syntax for code blocks with tuples, like this:

let f(a) := (
  let x = a + 1,
  x * 2
)
danilopedraza commented 3 months ago

I already implemented this in the syntax level. It is not complete in the semantics level.

danilopedraza commented 3 months ago

Just added this feature in all instances where it applies.