Var args sort of working, but I feel like all this stuff will need to get yanked out

or tested and refactored
This commit is contained in:
Krzosa Karol
2022-09-30 22:33:47 +02:00
parent 4c6497c5d6
commit 0646ae9279
6 changed files with 75 additions and 25 deletions

View File

@@ -1,27 +1,31 @@
/*
First doable version:
- [ ] Any stuff working well
- [ ] Var args working
In the future
- [ ] Cleanup
- [ ] Remove tuple stuff or cleanup, in the future might replace it with a better implementation
- [ ] '.' Operator doesn't handle expressions inside the dot chain, no good, so casts don't work
- [ ] Conditional compilation
- [ ] Expand macros
- [ ] Defer
- [ ] Basic
- [ ] Detecting if return was called
- [ ] Builtin data structures
- [ ] Strings probably should have len() instead of string.len
- [ ] Slices
- [ ] Some way to take slice of data
- [ ] Tuples
- [ ] Dynamic arrays
- [ ] Hash tables
- [ ] C Codegen
- [ ] Programming constructs
- [ ] Defer statement
- [ ] Using language construct
- [ ] Function polimorphism
- [ ] Operator Overloading
- [ ] Named loops and breaking out of them
- [ ] Bytecode interpreter
@@ -35,7 +39,6 @@
- [ ] Any
- [ ] Assigning to any values like ints etc. should work perhaps? But what type they should have?
- [ ] Var args using any
- [ ] Slice of Any should work well
Maybe later
@@ -145,6 +148,8 @@ For modules it's a bit different cause they should be distributed as valid.
## Done
- [x] Operator Overloading
- [x] '.' Operator doesn't handle expressions inside the dot chain, no good, so casts don't work
- [x] Introduce List to reduce heap allocations and make it more arena friendly, can we get rid of heap completly?
- [x] Function renaming to prevent colissions, we can't really touch other stuff cause I want it to be easily debuggable
- [x] Fix Length etc. they should be function calls not operators