Implement variables & functions
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
AC
- Should be able to create functions and variables to reduce complexity of expressions
- Should detect if functions or vars clash with builtin / custom vars & functions
Proposal
Separates statements by newline, last line is the returned expression
Function example
add(a, b) => a + b
12 / add(1, 2)
number := 100 + 200
30 / number
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by locating where expressions are parsed and evaluated, then review the proposal's newline-separated statement rules and examples; done means variables and functions work and clashes with builtin or custom names are detected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100