Generating proper C postfixes for types
This commit is contained in:
@@ -1,4 +1,43 @@
|
||||
/*
|
||||
|
||||
- [ ] Basic
|
||||
- [ ] Pass size and alignment calculations to C ?
|
||||
- [ ] 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
|
||||
- [ ] Strings probably should have len() instead of string.len
|
||||
- [ ] Slices
|
||||
- [ ] Some way to take slice of data
|
||||
- [ ] Tuples
|
||||
- [ ] Dynamic arrays
|
||||
- [ ] Hash tables
|
||||
|
||||
- [ ] C Codegen
|
||||
- [ ] Function renaming to prevent colissions, we can't really touch other stuff cause I want it to be easily debuggable
|
||||
|
||||
- [ ] Programming constructs
|
||||
- [ ] Using language construct
|
||||
- [ ] Function polimorphism
|
||||
- [ ] Operator Overloading
|
||||
- [ ] Named loops and breaking out of them
|
||||
|
||||
- [ ] Bytecode interpreter
|
||||
- [ ] Ir
|
||||
- [ ] Interpreter
|
||||
- [ ] Code generation
|
||||
|
||||
- [ ] Parametric Polymorphism
|
||||
|
||||
- [ ] Conditional compilation #if (maybe just do something like a conditional load or import?) #import "windows.kl" when os == "windows"
|
||||
|
||||
- [ ] 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
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
2022.05.28 - On lambda expressions
|
||||
@@ -56,43 +95,6 @@ For modules it's a bit different cause they should be distributed as valid.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
- [ ] Basic
|
||||
- [ ] Pass size and alignment calculations to C ?
|
||||
- [ ] Fix . operator lookups
|
||||
- [ ] Combining casts with . operator
|
||||
|
||||
- [ ] Builtin data structures
|
||||
- [ ] Fix Length etc. they should be function calls not operators
|
||||
- [ ] Strings probably should have len() instead of string.len
|
||||
- [ ] Slices
|
||||
- [ ] Some way to take slice of data
|
||||
- [ ] Tuples
|
||||
- [ ] Dynamic arrays
|
||||
- [ ] Hash tables
|
||||
|
||||
- [ ] C Codegen
|
||||
- [ ] Function renaming to prevent colissions, we can't really touch other stuff cause I want it to be easily debuggable
|
||||
|
||||
- [ ] Programming constructs
|
||||
- [ ] Using language construct
|
||||
- [ ] Function polimorphism
|
||||
- [ ] Operator Overloading
|
||||
- [ ] Named loops and breaking out of them
|
||||
|
||||
- [ ] Bytecode interpreter
|
||||
- [ ] Ir
|
||||
- [ ] Interpreter
|
||||
- [ ] Code generation
|
||||
|
||||
- [ ] Parametric Polymorphism
|
||||
|
||||
- [ ] Conditional compilation #if (maybe just do something like a conditional load or import?) #import "windows.kl" when os == "windows"
|
||||
|
||||
|
||||
- [ ] 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
|
||||
|
||||
- [ ] Probably need to give Ast_Expr a Value field, then I can express Type nicely
|
||||
- [ ] I would love for String, slice, Any etc. to have their struct declarations in source files, I also would want for stuff like string.str to work without weird special cases
|
||||
|
||||
Reference in New Issue
Block a user