tlang/todo1.md

29 lines
1.1 KiB
Markdown
Raw Normal View History

TODO: Holidays (1-10th May)
===========================
- [ ] `parseStruct`
- [x] Actually parse body
- [x] Only allow variables declarations
- [ ] Allow assignments I guess
- [x] Maybe function definitions too (D-kinda thing)
- [ ] Add constructor support (initializes values)
2021-05-31 08:07:22 +01:00
- [ ] I guess this is nicer when you have functions
in the struct too to make initialization code more modular
- ~~[ ] Allow nested structs~~
* Removed, why? That would be weird?
- [ ] Note to self, `parseClass` and `parseStruct` should be way more specific and not just call `parseBody`
2021-06-06 14:49:07 +01:00
- As currently one can then use `static` outside of these contexts
- [x] `parseStruct`
- [x] Adding missing support for `static` in it
2021-06-06 14:49:07 +01:00
- [ ] `parseClass`
2021-06-06 15:10:33 +01:00
- [ ] Add this
## Future
- [ ] Make the compiler a library
- [ ] Remove `exit` from `expect` and rather throw an error
- [ ] Split it up into two projects with...
- [ ] Library
- [ ] Frontend interface
- [ ] Publish to dub