diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-04-24 13:09:10 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-04-24 13:09:10 +0300 |
| commit | 0be2e0813a29ee4cb93f07fdd868ca4f0c069f02 (patch) | |
| tree | 50476f39f06257b11225a07a9679f43649ec6fb6 /TODO | |
| parent | 5a5e3e2de5839bcaf36a5eb73354f33f86e46f45 (diff) | |
| download | ek-0be2e0813a29ee4cb93f07fdd868ca4f0c069f02.tar.gz ek-0be2e0813a29ee4cb93f07fdd868ca4f0c069f02.zip | |
remove outdated info in README and TODO
Diffstat (limited to 'TODO')
| -rw-r--r-- | TODO | 23 |
1 files changed, 0 insertions, 23 deletions
@@ -1,30 +1,7 @@ -+ Refactor ast.c and give each operation its own proc, i.e. instead of huge -node_type switches call a corresponding procedure. Should help with debugging, -stack traces etc. - -+ Add const and volatile attributes to types - -+ Add const to procedures - -+ Add external to procedures, essentially disables templates and name mangling, -to be used to interface with C - -+ Come up with some better file extension, .cu seems to be used by cuda - - In fact Copper is already taken :( - -+ Build new type system (current one build on top of AST fucking sucks) + Build the consteval stuff -+ Use built in location tracking with @$ in bison? - -+ For now it might be a good idea to just implement generic types to get -started, and add stuff like lambdas and so on later? OPTIMIZATIONS: + Use hashmaps or something similar for lookups for types and calls -+ Output one procedure at a time through the backend, would allow us to free -actualized procs immediately instead of keeping them around in memory -+ Simplify IDs to just char arrays, would save on memory -+ Types can just be types, they maybe don't need to be full on AST nodes LOWERING: |
