Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Do this in a depth-first manner - start by transforming a simple input to a valid output, then make it more complex and adapt the transformation steps
  • Do not add too many tree transformers as with every change in a transformer's output AST all subsequent transformers need adjustment
  • Tests are crucial. Compare expected transformation output with actual.
  • Consider doing this in a test first manner, as the such a transformation task is really complex.

...