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

https://github.com/huluvu424242/java-compiler-template

Template für antlr basierte Compiler in Java
https://github.com/huluvu424242/java-compiler-template

antlr compiler plantuml sql sql2plantuml

Last synced: 14 days ago
JSON representation

Template für antlr basierte Compiler in Java

Awesome Lists containing this project

README

          

[#status]
image:https://img.shields.io/badge/License-LGPL%20v3-blue.svg?style=plastic[link="https://www.gnu.org/licenses/lgpl-3.0"]
image:https://img.shields.io/github/v/tag/Huluvu424242/java-compiler-template?include_prereleases&style=plastic[GitHub tag (latest SemVer pre-release), link="https://github.com/Huluvu424242/java-compiler-template/releases"]
image:https://img.shields.io/github/downloads/Huluvu424242/java-compiler-template/latest/total?style=plastic[GitHub release (latest by date), link="https://github.com/Huluvu424242/java-compiler-template/packages/181948/versions"]
image:https://maven-badges.herokuapp.com/maven-central/com.github.huluvu424242/java-compiler-template/badge.svg?style=plastic["Maven Central", link="https://maven-badges.herokuapp.com/maven-central/com.github.huluvu424242/java-compiler-template"]
image:https://travis-ci.org/Huluvu424242/java-compiler-template.svg?branch=master["Build Status", link="https://travis-ci.org/Huluvu424242/java-compiler-template"]
image:https://codecov.io/gh/Huluvu424242/java-compiler-template/branch/master/graph/badge.svg[link="https://codecov.io/gh/Huluvu424242/java-compiler-template"]
image:https://sonarcloud.io/api/project_badges/measure?project=Huluvu424242_java-compiler-template&metric=alert_status[Quality Gate Status, link="https://sonarcloud.io/summary/new_code?id=Huluvu424242_java-compiler-template"]
image:http://images.webestools.com/buttons.php?frm=2&btn_type=11&txt=Scrum Board["Scrum Board,scaledwidth="15%"", link="https://github.com/Huluvu424242/java-compiler-template/projects/1"]

image:https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=plastic["standard-readme compilant",link="https://github.com/RichardLitt/standard-readme"]

# java-compiler-template
Template für antlr basierte Compiler in Java

## Projekt Erzeugung

1. gitignore erstellen
* https://www.toptal.com/developers/gitignore/api/windows,linux,intellij+all,eclipse,maven,java,git
2. pom erstellen
```

4.0.0
com.github.huluvu424242
java-compiler-template
1

```
3. maven wrapper erstellen:
```
mvn wrapper:wrapper -Dtype=source
oder
mvn wrapper:wrapper -Dtype=script
```

## Grammatik erstellen

* https://tomassetti.me/antlr-mega-tutorial/

## Test Live

* Use SQL Fiddle to create valid ddl scripts http://sqlfiddle.com/
* Compile these scripts with this app to plantuml diagrams
* Check the result diagrams against https://plantuml.com/de/ie-diagram with plantuml online validator https://www.plantuml.com/plantuml/uml/