项目作者: mariusmagureanu

项目描述 :
A VCL parser
高级语言: Go
项目地址: git://github.com/mariusmagureanu/vclr.git
创建时间: 2019-03-11T09:22:57Z
项目社区:https://github.com/mariusmagureanu/vclr

开源协议:

下载


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

  1. $ make build

Run tests

  1. $ 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.