beans 8.0.0

A parser generator library based on the Earley parser
Documentation
Option[content] ::=
  content@value <Some>
  <None>;

NonEmptyList[content, separation] ::=
  content@head <Nil>
  content@head separation NonEmptyList[content, separation]@tail <Cons>;

List[content, separation] ::=
  Option[NonEmptyList[content, separation]]@value <>;


Empty ::=
  <>;
  
@File ::=
  List[Terminal, Empty]@terminals <>;

Terminal ::=
  Option[Comment]@comment Option[IGNORE]@ignore Option[KEYWORD]@keyword
  Option[UNWANTED]@unwanted ID.0@name DEF REGEX.0@value <>;

Comment ::=
  COMMENT.0@value <>;