Versions Compared

Key

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

...

Besides minor differences to the grammar presented before, you can see that the way you express start and end tags is rather ugly. You take the name of the tag in upper case and add the "_START" if it is a start tag or "_END" if it is an end tag. This is a limitation which I have no solution for right now (sad) . Maybe changes to ANTLR3 would be necessary to make the grammar more natural.

...