Bill Baxter: > Changing the keywords used in a switch would be a very mechanical > transformation, like changing typedef to alias everywhere it appears > in C code you're translating.
Once you have changed the keyword used in the case/switch, then you (and me) probably want to fix other problems of switch (fall through). Recently here I have suggested the creation of a small tool (written in Python, not in D) like 2to3 (used to convert Python2 to Python3) to convert C to D :-) I don't know how much long such program may become (2to3 uses a parser of the std lib). Bye, bearophile
