VCLR(eader) is meant to be a vcl parser. It parses a vcl file in a single read-through and checks for various logic that should be available for each specific token.
Currently, as it is still WIP it will adhere to Varnish 6 specs only.
It follows the Pratt parser guidelines.
$ make build
$ make test
Start the parser with any of the following command line args:
Option | About | Default | Required |
---|---|---|---|
f | Parse the specified file | N/A | |
p | Parse recursivelly the specified folder and look for .vcl files | N/A | |
V | Display current version and exit. | ||
h | Display this help and exit. |