Versions Compared

Key

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

...

3.2 fixes a number of bugs (see the Bug list) and adds the trunc method.a few enhancements.

ANTLR v3.1 needs StringTemplate 3.2!

Enhancements

  • Added \r\n normalization in AutoIndentWriter. Converts \r\n or \n to whatever the writer's newline instance var is. wrap="\n" will give the proper newline by locale as will \n and \r\n in the templates or even incoming data attributes (toString()'d of course). Added unit tests. It even works with special literals <\r\n> and <\n>.
  • rest and strip returned iterators. Made them return show list copies so recursion works. iterators have side-effects. Added 2 unit tests.
  • implemented trunc. returns all but last element.
  • <aMap.(k)> no longer calls toString() on k. <aMap.keys:{k|<k>:<aMap.(k)>} was not working when aMap had Integer keys. Added unit test.
  • Made unit tests not depend on map order. commented out tests that fail.
  • debug tags now emit group name with tags. improves debugging ability.

...