I need a / lib tool to generate UML diagrams from a grammar source of a custom programming language. Is there a tool with an API or another method to make it relatively easy to tell the generator how it should interpret the grammar. I have complete control over the programming language lexer.
Ask to clarify if you have any doubts.
It seems like an ordinary AST guest should do, right? Assuming you have classes, interfaces, and attributes in your language that should be easy to handle.
The correct layout of the chart is another problem and can be done later.
Reverse engineering a language in a UML diagram is actually a very long and difficult task. If you do not have a 12-month research project and in-depth knowledge of programming and UML, it is best to use an existing tool.