Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ToDo list #15

Open
eerimoq opened this issue Dec 17, 2020 · 3 comments
Open

ToDo list #15

eerimoq opened this issue Dec 17, 2020 · 3 comments

Comments

@eerimoq
Copy link
Collaborator

eerimoq commented Dec 17, 2020

Just to remember what is left to do. The list is by no means complete.

General

  • More on function overloading.
  • More on operator overloading.
  • Slices/sublist/substring, [begin:end:step]. Should make a copy, right? It's an error to use [] instead of slice() on lists in a loop.
  • Implement a language server. See https://microsoft.github.io/language-server-protocol/.
  • Bugs, bugs, bugs...
  • Refactor generics? Find all calls and type annotations early and replace.

Memory

Postponed

  • Iterators?
  • Context managers?
  • Macro or comptime? Needed for logging and varargs like tricks.
@pfalcon
Copy link

pfalcon commented Jan 5, 2021

Exception backtrace, but how?

Zig is known to brag about its backtraces: https://ziglang.org/#Stack-traces-on-all-targets . Given that it's another dead-in-the-water language, makes sense to steal as much as possible from it.

@eerimoq
Copy link
Collaborator Author

eerimoq commented Jan 7, 2021

Will have a look eventually, thanks.

@pfalcon
Copy link

pfalcon commented Jan 7, 2021

Don't forget about the usual glibc backtracing support - https://www.gnu.org/software/libc/manual/html_node/Backtraces.html . I for example used it in early days of micropython hacking, when I wasn't familiar with the codebase. The whole point of Zig bragging is that they implemented something like that even for baremetal targets (supposedly, in lightweight manner, though definition of "lightweight" varies for different people).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants