Sha256: 761a921157849e24a90e678f9d0e675820e8f524f2e7a7f09de2071b1fc43ba4

Contents?: true

Size: 345 Bytes

Versions: 5

Compression:

Stored size: 345 Bytes

Contents

parser:
  bool_expr.citrus
rules:
  bool_expr:
    - bool_and
    - bool_or
    - bool_not
    - var_ref
    - bool_lit
  bool_and:
    - [ bool_expr+ ]
  bool_or:
    - [ bool_expr+ ]
  bool_not:
    - [ bool_expr ]
  bool_lit:
    - [ literal ]
  var_ref:
    - [ var_name ]
  var_name:
    !ruby/regexp /^[a-z]+$/
  literal:
    [true, false]

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sexpr-0.6.0 examples/bool_expr/bool_expr.sexp.yml
sexpr-0.5.1 examples/bool_expr/bool_expr.sexp.yml
sexpr-0.5.0 examples/bool_expr/bool_expr.sexp.yml
sexpr-0.4.0 examples/bool_expr/bool_expr.sexp.yml
sexpr-0.3.0 examples/bool_expr/bool_expr.sexp.yml