Can a grammar reference another grammar?

0 votes
asked Sep 3, 2020 in Grammars by rcheal52 (120 points)
For instance I would like to create a grammar for ID3 tags which could be used in both flac and mp3 grammars

1 Answer

0 votes
answered Sep 26, 2022 by guruadmin (680 points)
Yes, this is possible. Use the "Grammar Reference" element in order to continue parsing with another grammar.

Simply right-click (or ctrl click) on the element after which you want to reference the grammar, then select Append/Grammar Reference.
...