Skip to content

arunc4u91/Java-Parser

Repository files navigation

Stories in Ready

Java-Parser

Stories in Ready

Initially We have to parse the Java Program and find Classes, constructors, Attributes.

Use that to generate UML diagrams.

Libraries Used : JavaParser - parser used to generate java grammar. PlantUML - Used to generate UML diagrams with Java grammar as input. GraphViz -to generate UML diagrams (its dependency for PlantUML)

Java Compiler Compiler™ (JavaCC™) is the most popular parser generator for use with Java™ applications. A parser generator is a tool that reads a grammar specification and converts it to a Java program that can recognize matches to the grammar. In addition to the parser generator itself, JavaCC provides other standard capabilities related to parser generation such as tree building (via a tool called JJTree included with JavaCC), actions, debugging, etc.

Latest version of Java parser - 0.6.-10

Instruction to run the project

Go to terminal and run the parser.jar file with the following command. input will be a zip file and it will be extracted and the output file will be generated as out.png in the extracted folder.

java -jar parser.jar Test4.zip

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages