Skip to content

Java 1.8 syntax validation cmd-line tool Utilizes ANTLR 4 and java 8 dictionary.

License

Notifications You must be signed in to change notification settings

helvete/java_syntax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

java_syntax

Java 1.8 syntax validation cmd-line tool

Utilizes ANTLR 4 and java 8 dictionary.

How to use this?

  1. Make sure you there is git, wget, java and make installed

  2. Clone the repository

git clone https://github.com/helvete/java_syntax.git
  1. Run make
make
  1. This should build the tool and package it into a jarfile. There is also a simple wrapper script to be symlinked to a place under $PATH. For example:
sudo ln -s /wherever/the/repository/is/cloned/run /usr/bin/java-syntax
  1. Use it like this
java-syntax /path/to/a/file/to/Validate.java

For more details, feel free to inspect the file itself. It's somewhat crude, but effective.

About

Java 1.8 syntax validation cmd-line tool Utilizes ANTLR 4 and java 8 dictionary.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published