bash / abnf-validator

A fork of Chris Newman's ABNF Validator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ABNF Validator

This is a fork of Chris Newman's ABNF Validator, which is public domain, with some opinionated modifications.

The modified code is public domain.

Modifications

  • All cgi-related code has been removed (88aecb1)
  • The first rule is always marked as referenced (9c68e5d)
  • Errors and Warnings always produce a non-zero exit status (939e7aa)

Usage

The program accepts abnf input through STDIN.

Example:

cat syntax.abnf | ./abnf

Building

Building requires gcc and make.

make

About

A fork of Chris Newman's ABNF Validator


Languages

Language:C 99.5%Language:Makefile 0.5%