Old-style tuple slot accessors are still defined for all tuples. I will be porting code over the next few months to use the new accessors. All new code should use the new accessors. The old accessors will be removed at the end of May.
Next up in the language change department:
- Implementation inheritance for tuple classes.
- Removing delegation from the core and replacing it by Daniel Ehrenberg's
- New tuple syntax with named slots.
- Moving Doug Coleman's singletons to the core.
extra/multi-methodsinto the core and removing the current generic word system; I have blogged about the multi-methods library in the past.
- Declarative sequence construction using Eduardo's
extra/bakelibrary should be merged into the core. It can replace a whole slew of utility words and make Factor easier to learn.
Each one of these changes will be accompanied by refactorings of Factor's codebase to use the new features where appropriate.
I will spend the next few days dealing with the fallout from the new-slots merge; I also have a few minor features I want to get out of the way. Once that is done I will return to working on the web framework while continuing to ponder the implementation details of inheritance in my head. Once those are worked out I will dive back into the core.
These language changes are coming rather late in the evolution of Factor, however their utility, along with the recently merged
new-slots, only became apparent after we wrote a lot of code, and so the justification for incorporating these features and removing the ones they replace is based on real experience and not just theoretical concerns.
Once these features are done I will be happy with the state of Factor's language and my focus will shift to performance, documentation, and peripheral libraries. Then, Factor 1.0 will be released and heads will roll.