Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vimaltiwari2612/javacodeparserandumlcreator

Simple Parser which uses Compiler design concepts. Lexical analysis, symbol table formation, parse the code using symbol table. This code works for any OOP based Code. It can be made for other languages too using the same concepts. Create UML diagrams with class code. Convert your code into UML direclty using this tool. It can convert any OOP based code into UML.
https://github.com/vimaltiwari2612/javacodeparserandumlcreator

compiler-design java java-8 languages parsing screenshot symbol-table tokens uml uml-class-diagram uml-diagrams uml-parser

Last synced: about 2 months ago
JSON representation

Simple Parser which uses Compiler design concepts. Lexical analysis, symbol table formation, parse the code using symbol table. This code works for any OOP based Code. It can be made for other languages too using the same concepts. Create UML diagrams with class code. Convert your code into UML direclty using this tool. It can convert any OOP based code into UML.

Awesome Lists containing this project

README

        

# JavaCodeParserAndUMLCreator

Simple Parser which uses Compiler design concepts.
1. Lexical analysis
2. symbol table formation
3. parse the code using symbol table
4. Create UML diagrams with class code. Convert your code into UML direclty using this tool. It can convert any OOP based code into UML.

This code works for Any OOP Code. It can be made for other languages too using the same concepts.

How to run :

FOR GUI users -

1. download the Zip (https://github.com/vimaltiwari2612/JavaCodeParserAndUMLCreator)
2. click on Parser.bat

![screenshot](https://github.com/vimaltiwari2612/JavaCodeParser/blob/master/screenshots/4.PNG)



OR


For File users -

1. give an unindented code file as parameter to main class.

![screenshot](https://github.com/vimaltiwari2612/JavaCodeParser/blob/master/screenshots/1.PNG)

2. run the code

![screenshot](https://github.com/vimaltiwari2612/JavaCodeParser/blob/master/screenshots/2.PNG)

3. See the file again

![screenshot](https://github.com/vimaltiwari2612/JavaCodeParser/blob/master/screenshots/3.PNG)

---------------------------------------------------------------------------------------------------------------------------------------
=================================================== UML CREATION ADDED==================================================================
---------------------------------------------------------------------------------------------------------------------------------------

Create UML diagrams with class code. Convert your code into UML direclty using this tool. It can convert any OOP based code into UML.

1. Click on the "Get UML"

![screenshot](https://github.com/vimaltiwari2612/JavaCodeParser/blob/master/screenshots/5.PNG)

2. You will get the UML created screen. Click on save to save it in "uml" folder in package

![screenshot](https://github.com/vimaltiwari2612/JavaCodeParser/blob/master/screenshots/6.PNG)

3. Move to "uml" folder and use image however you want!!!


THANKS!!