Skip to content

[trgen] StringTemplate does not have string comparison. #526

@kaby76

Description

@kaby76

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">.....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions