Matching tokens with given length of characters in ANTLR4

66 views
Skip to first unread message

Inba Raj

unread,
Jul 28, 2015, 7:03:38 AM7/28/15
to antlr-discussion
Hi all,
I am new to ANTLR. I am trying to write a grammar in ANTLR4 to parse an RTF file. For one of the token rule in the grammar, i need to match the token based on the number of characters. is there a way i can achieve this in ANTLR4?

Also, Is it possible to use multiple threads to parse multiple large files? is there any pros and cons related to this?

Thank you in advance :)
Reply all
Reply to author
Forward
0 new messages