fixed readme

This commit is contained in:
Snorre 2025-03-20 12:28:31 +01:00
parent f6909e5e23
commit 699e2de724

View file

@ -6,47 +6,47 @@ Very messy and bad, im gonna start the umpteenth rewrite soon.
# Features
[x] Constants (numbers)
[x] Addition
[x] Subtraction
[x] Multiplication
[x] Division
[x] Arbitrary float precision
[ ] Sets (or lists, arrays, etc)
[x] Definition
[x] Multiplication with constants
[x] Concattenation
[ ] Index operator
[x] Functions
[x] Native functions
[x] User defined functions
[x] Currying
[x] Closures
[x] Calling
[x] Scopes
[x] Shadowing variables
[ ] Ranges
[x] Defining ranges (`1..5` is a range of `[1..5)`)
[ ] Iterating ranges
[x] Evaluating ranges (very hacky, but defining a Set of length 1 with a range expands said range into the set, eg `[1..3]` becomes `[1,2]`)
[ ] Loops
[x] Infinite loops (`loop ... end` block)
[ ] For loops (`for x in y ... end` block)
[x] Break keyword
[ ] Match expression
[x] If expression
[x] If expression
[x] If-else expression
- [x] Constants (numbers)
- [x] Addition
- [x] Subtraction
- [x] Multiplication
- [x] Division
- [x] Arbitrary float precision
- [ ] Sets (or lists, arrays, etc)
- [x] Definition
- [x] Multiplication with constants
- [x] Concattenation
- [ ] Index operator
- [x] Functions
- [x] Native functions
- [x] User defined functions
- [x] Currying
- [x] Closures
- [x] Calling
- [x] Scopes
- [x] Shadowing variables
- [ ] Ranges
- [x] Defining ranges (`1..5` is a range of `[1..5)`)
- [ ] Iterating ranges
- [x] Evaluating ranges (very hacky, but defining a Set of length 1 with a range expands said range into the set, eg `[1..3]` becomes `[1,2]`)
- [ ] Loops
- [x] Infinite loops (`loop ... end` block)
- [ ] For loops (`for x in y ... end` block)
- [x] Break keyword
- [ ] Match expression
- [x] If expression
- [x] If expression
- [x] If-else expression
## Wanted
[ ] More concise syntax, i dont like how it is right now
[ ] Fix stack overflow with recursive functions (internally convert to loops)
[ ] Generally implement more
[ ] Implicit multiplication (may not be possible to implement non-ambiguously)
[ ] Differentiation
[ ] Integration
[ ] Better error handling (i was lazy and skimped on errors, bad move)
- [ ] More concise syntax, i dont like how it is right now
- [ ] Fix stack overflow with recursive functions (internally convert to loops)
- [ ] Generally implement more
- [ ] Implicit multiplication (may not be possible to implement non-ambiguously)
- [ ] Differentiation
- [ ] Integration
- [ ] Better error handling (i was lazy and skimped on errors, bad move)
# Syntax