-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
I've recently had a discussion about this with @Araq, so this is more of a reminder for myself and him, but comments are still welcome.
Araq's ultimate goal for Nim is to have a simple language with a powerful macro system. As such, interfaces in Nim should be implemented using macros.
Goals:
- Compatibility with the "fake" interface used in the
streamsmodule
Potential further research:
- Look into some of the many OOP/Interface packages to see how they have been implemented. Perhaps with the idea to adopt them into the stdlib in mind.
Metadata
Metadata
Assignees
Labels
No labels