Attributes for templates in trgen cannot do string comparison. This forces new attributes to be introduced into the C# code to do the comparison. This is ridiculous because strings are valid attributes. Either extend string templates or add a file to dynamically define boolean attributes with string comparison. (Happens to be an issue because we now have a new attribute "generator_name", which is an option to trgen--we now have antlr-ng. We cannot say things like <if(generator_name == "official">.....
Attributes for templates in trgen cannot do string comparison. This forces new attributes to be introduced into the C# code to do the comparison. This is ridiculous because strings are valid attributes. Either extend string templates or add a file to dynamically define boolean attributes with string comparison. (Happens to be an issue because we now have a new attribute "generator_name", which is an option to trgen--we now have antlr-ng. We cannot say things like
<if(generator_name == "official">.....