Hello,
you can now find some notes on the token transform framework and a few (very rough) ideas for the next steps at
https://www.mediawiki.org/wiki/Future/Parser_development/Token_stream_transf...
Please review / sanity check / comment! Are there things not listed in that page that we should keep in mind?
Gabriel