Skip to content

Commit ad346ae

Browse files
committed
Update readme
1 parent b6459b4 commit ad346ae

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,24 @@
11
# Nginx configuration Java parser
22

33
#### Features
4-
- Convert config file to AST tree using JavaCC parsing capabilities
5-
- Build config files from scratch and serialize them
4+
- Convert config file to AST tree using Antlr parsing capabilities
5+
- The same is available for JavaCC too (deprecated)
6+
- Rebuild config files and dump them back to *.conf
7+
- Nested blocks support
8+
- If statements support
9+
- Unquoted regexp within location/rewrite/if statements support
610
- Comments support
711

12+
#### Installation
13+
Add the following dependency to your POM:
14+
```xml
15+
<dependency>
16+
<groupId>com.github.odiszapc</groupId>
17+
<artifactId>nginxparser</artifactId>
18+
<version>0.9.0</version>
19+
</dependency>
20+
```
21+
822
#### Examples
923
##### Parser
1024

@@ -57,3 +71,8 @@ NgxDumper dumper = new NgxDumper(conf);
5771
return dumper.dump(System.out);
5872
```
5973

74+
#### Authors
75+
Alexey Plotnik ([email protected], http://twitter.com/odiszapc) I do it just because I like it.
76+
77+
#### License
78+
Apache 2.0

0 commit comments

Comments
 (0)