Skip to content

mariusmagureanu/vclr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro

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.

Build

$ make build

Run tests

$ make test

Usage

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.