diff options
author | Bad Diode <bd@badd10de.dev> | 2022-04-22 14:56:37 -0300 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2022-04-22 14:56:37 -0300 |
commit | c0dbfec91dd9781afa867675dd7a1d9cdc034c74 (patch) | |
tree | 4b2720b75062610cf123b02aabf9edc52090cbb4 /TODO.md | |
parent | 0bdf2ff42892b6363f703fe8f00f865a96dde223 (diff) | |
download | bdl-c0dbfec91dd9781afa867675dd7a1d9cdc034c74.tar.gz bdl-c0dbfec91dd9781afa867675dd7a1d9cdc034c74.zip |
Add some TODOs
Diffstat (limited to 'TODO.md')
-rw-r--r-- | TODO.md | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1,12 +1,16 @@ | |||
1 | # Currently open issues | 1 | # Currently open issues |
2 | 2 | ||
3 | - [~] Fill up symbol tables/environments/types. | 3 | - [ ] Start transformation of parse tree into a simple linear IR. |
4 | - [~] Add type checking. | ||
5 | - [ ] Write a proper spec. | 4 | - [ ] Write a proper spec. |
6 | - [ ] Write proper typing rules. | 5 | - [ ] Write proper typing rules. |
7 | - [ ] Write numeric type coercion rules. | 6 | - [ ] Write numeric type coercion rules. |
8 | - [ ] Add user defined function calls (Only builtin calls currently supported). | 7 | - [ ] Ensure numeric constants fit within the given types. |
8 | - [ ] Change type annotations to allow annotating any expression. | ||
9 | - [ ] Improve error messages to be more descriptive and practical. | ||
10 | - [ ] Add references. | ||
9 | - [ ] Use bump allocators to avoid a large number of `malloc` calls. | 11 | - [ ] Use bump allocators to avoid a large number of `malloc` calls. |
10 | - [ ] Free memory. Not important for now, since it will be cleaned up at exit. | 12 | - [ ] Free memory. Not important for now, since it will be cleaned up at exit. |
11 | - [ ] Add structs. | 13 | - [ ] Add structs. |
12 | - [ ] Add arrays and darrays. | 14 | - [ ] Add arrays and darrays. |
15 | - [ ] Add type inference and generic types. | ||
16 | - [ ] Create a pretty-printer for consistent code styling. | ||