Kim Stacks
Kim Stacks

Reputation: 10832

Is it possible to add comments to .tx files for textx? If so, how?

Was working through the hello-world example in the docs.

I then realized I wanted to add comments to help me learn the textX syntax better.

There's no indication that this is possible in the first place. Googling didn't help.

Please advise.

Upvotes: 0

Views: 142

Answers (1)

cody
cody

Reputation: 11157

From the documentation:

Grammar comments

Syntax for comments inside a grammar is // for line comments and /* ... */ for block comments.

Upvotes: 1

Related Questions