Skip to content

Commit

Permalink
Submodule grammar (#28)
Browse files Browse the repository at this point in the history
* rm directory for submodules

* use shared grammars

* readme
  • Loading branch information
ottobackwards authored Aug 18, 2022
1 parent 1f346a9 commit aea2990
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 786 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "src/main/antlr4/com/github/palindromicity/syslog/dsl/generated"]
path = src/main/antlr4/com/github/palindromicity/syslog/dsl/generated
url = https://github.com/palindromicity/simple-syslog-grammars.git
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,10 @@ minimally be the Antlr classes alone.
For examples, see the implementations of `Rfc3164SyslogParser` and `Rfc5424SyslogParser` for examples of
parser implementations as well as the `Syslog3164Listener` and `Syslog5424Listener` implementations.

### Building
This project uses [simple-syslog-grammars]( https://github.com/palindromicity/simple-syslog-grammars)
You will want to use `git clone --recursive` and ensure the src/main/antlr4/com/github/palindromicity/syslog/dsl/generated directory is created.

### Questions

- __*Why not just use [java-grok](https://github.com/thekrakken/java-grok)?*__
Expand Down
Submodule generated added at 4e6608

This file was deleted.

Loading

0 comments on commit aea2990

Please sign in to comment.