Use Jison to parse each tag line; And use Jasmine + Karma to unit-test.