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 # Features
[x] Constants (numbers) - [x] Constants (numbers)
[x] Addition - [x] Addition
[x] Subtraction - [x] Subtraction
[x] Multiplication - [x] Multiplication
[x] Division - [x] Division
[x] Arbitrary float precision - [x] Arbitrary float precision
[ ] Sets (or lists, arrays, etc) - [ ] Sets (or lists, arrays, etc)
[x] Definition - [x] Definition
[x] Multiplication with constants - [x] Multiplication with constants
[x] Concattenation - [x] Concattenation
[ ] Index operator - [ ] Index operator
[x] Functions - [x] Functions
[x] Native functions - [x] Native functions
[x] User defined functions - [x] User defined functions
[x] Currying - [x] Currying
[x] Closures - [x] Closures
[x] Calling - [x] Calling
[x] Scopes - [x] Scopes
[x] Shadowing variables - [x] Shadowing variables
[ ] Ranges - [ ] Ranges
[x] Defining ranges (`1..5` is a range of `[1..5)`) - [x] Defining ranges (`1..5` is a range of `[1..5)`)
[ ] Iterating ranges - [ ] 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]`) - [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 - [ ] Loops
[x] Infinite loops (`loop ... end` block) - [x] Infinite loops (`loop ... end` block)
[ ] For loops (`for x in y ... end` block) - [ ] For loops (`for x in y ... end` block)
[x] Break keyword - [x] Break keyword
[ ] Match expression - [ ] Match expression
[x] If expression - [x] If expression
[x] If expression - [x] If expression
[x] If-else expression - [x] If-else expression
## Wanted ## Wanted
[ ] More concise syntax, i dont like how it is right now - [ ] More concise syntax, i dont like how it is right now
[ ] Fix stack overflow with recursive functions (internally convert to loops) - [ ] Fix stack overflow with recursive functions (internally convert to loops)
[ ] Generally implement more - [ ] Generally implement more
[ ] Implicit multiplication (may not be possible to implement non-ambiguously) - [ ] Implicit multiplication (may not be possible to implement non-ambiguously)
[ ] Differentiation - [ ] Differentiation
[ ] Integration - [ ] Integration
[ ] Better error handling (i was lazy and skimped on errors, bad move) - [ ] Better error handling (i was lazy and skimped on errors, bad move)
# Syntax # Syntax