WIP.
An attempt to provide a set of tools to allow moving code between different dialects.
- Conceptually, the framework just applies a set of transliteration rules to generate code in different dialects.
- The framework provides generic rules for porting between pairs of dialects.
- Additionally, a project can manually add more rules specially crafted for particular porting mismatches.
- A project would have one git repo per dialect.
- A project should define its main dialect. A CI job should be triggered when committing so that other dialect repos get updated.
- Potentially, a developer in other than main dialect might commit to its repo, and rules should be (automatically) reversed to allow porting back to the main repo.
For now, we only suppor transliterating from Pharo (until we transliterate the transliterator :), so the code only loads on Pharo.
Transliterator uses Powerlang compiler to parse code and apply the rules. For now, you need to first load Powerlang to get the compiler (maybe some day we split it into another package).
Then you have to load this repo (todo: add script to load it here).
TBD.