evhub / evhub/coconut

`where` with final result at end

Open
#863 1 comment 0 reactions 0 assignees View on GitHub
feature
Dominant language
Python
Stars
4.4k
Forks
142
PR merge metrics
No merged PRs in 30d

Description

Possible syntaxes:
```python
out = where:
x1 = a + b + c
x2 = x + y + z
x1 + x2

out = do:
x1 = a + b + c
x2 = x + y + z
x1 + x2
```

Which should compile to the equivalent of:
```python
out = x1 + x2 where:
x1 = a + b + c
x2 = x + y + z
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.