Functions have unique names now unless they are foreign, probably will

need a keyword to not mangle the names.
This commit is contained in:
Krzosa Karol
2022-09-28 14:55:56 +02:00
parent 83ffc82f79
commit aa1da4e926
12 changed files with 69 additions and 31 deletions

View File

@@ -1,10 +1,9 @@
/*
- [ ] Basic
- [ ] Pass size and alignment calculations to C ?
- [ ] Detecting if return was called
- [ ] Fix . operator lookups
- [ ] Combining casts with . operator
- [ ] Disable .len for Strings, are there other things that use this convention?
- [ ] Builtin data structures
- [ ] Fix Length etc. they should be function calls not operators
@@ -19,6 +18,7 @@
- [ ] Function renaming to prevent colissions, we can't really touch other stuff cause I want it to be easily debuggable
- [ ] Programming constructs
- [ ] Defer statement
- [ ] Using language construct
- [ ] Function polimorphism
- [ ] Operator Overloading
@@ -38,6 +38,9 @@
- [ ] Var args using any
- [ ] Slice of Any should work well
Maybe later
- [ ] Optionally pass size and alignment calculations to C ?
-------------------------------------------------------------------------------
2022.05.28 - On lambda expressions
@@ -129,6 +132,7 @@ For modules it's a bit different cause they should be distributed as valid.
## Done
- [x] Disable .len for Strings, are there other things that use this convention?
- [x] Calculate size and alignment of struct data types
- [x] Consider changing syntax of scopes to use braces { } NO
- [x] Disable ability to parse inner structs, functions, constants etc. ?