Helping out sublime indexing

This commit is contained in:
Krzosa Karol
2022-09-27 15:15:23 +02:00
parent d39686c480
commit 094b10576e
4 changed files with 24 additions and 9 deletions

View File

@@ -57,8 +57,10 @@ For modules it's a bit different cause they should be distributed as valid.
-------------------------------------------------------------------------------
- [ ] Basic
- [ ] Calculate size and alignment of struct data types
- [ ] 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
@@ -69,6 +71,11 @@ For modules it's a bit different cause they should be distributed as valid.
- [ ] Dynamic arrays
- [ ] Hash tables
- [ ] C Codegen
- [ ] Function renaming to prevent colissions
- [ ] Using language construct
- [ ] Bytecode interpreter
- [ ] Ir
- [ ] Interpreter
@@ -76,8 +83,12 @@ For modules it's a bit different cause they should be distributed as valid.
- [ ] Parametric Polymorphism
- [ ] Conditional compilation #if
- [ ] Improvements
- [ ] 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
@@ -99,7 +110,6 @@ For modules it's a bit different cause they should be distributed as valid.
- [ ] Write up on order independent declarations
- [ ] constructor => thing :: (i: S32) -> {i = i, thing = 10}
- [ ] Casting to basic types by call S64(x)
- [ ] Default values in structs??? Should compound stmts bring values from default values?? Maybe not? Whats the alternative
@ideas
@@ -108,8 +118,7 @@ For modules it's a bit different cause they should be distributed as valid.
- [ ] Rust like enum where you associate values(other structs) with keys
- [ ] Compound that zeros values - .{} , Compound that assumes defaults from struct definition - {}
- [ ] Inject stack traces into the program
- [ ] Conditional compilation #if
- [ ] Polymorphism - create declaration of a polymorphic thing, when it's called just copy it, replace types and typecheck normally, when someone calls again you just search for the instantiation again
## Done