asc-community / asc-community/AngouriMath

`Let` statement

Open
#352 4 comments 0 reactions 0 assignees View on GitHub
Opinions wanted Proposal
Dominant language
C#
Stars
831
Forks
79
Avg merge
3h 23m
Merged PRs (30d)
309

Description

That is some kind of assignment operator. It will always return true, so consider using it in Provided:
Simple example:
```cs
"x provided let x = 4".EvalNumerical()
```
Output:
```cs
4
```

Or more advanced example:
```cs
"x ^ 2 provided let x = 2x - 3".EvalNumerical()
```
Output:
```
9
```

So, do we need it?

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by reviewing the existing `Provided` syntax and the examples in the issue, then trace how these expressions are parsed and evaluated. Done requires a maintainer-approved decision on whether `let` belongs in the language, with its behavior and test coverage defined if accepted.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.