GuntherRademacher / rr

RR - Railroad Diagram Generator
Apache License 2.0
483 stars 49 forks source link

CONVERT fails on a valid JavaCC Grammar #20

Closed manticore-projects closed 1 year ago

manticore-projects commented 1 year ago

Greetings Gunther.

A certain valid JavaCC Grammar is failing with multiple constructs. (Although the Grammar is building fine with JavaCC).

Since Convert is not public, I can only escalate this to you. Thank you in advance for looking into it. Cheers!

parser_tmp.jjt.zip

GuntherRademacher commented 1 year ago

This is a JJTree grammar. Convert does not support it directly. What you can do is run it through JJTree, yielding a .jj file, which is then understood by Convert.