Sha256: 4b4845d51f0f9defb01dc3a4b7826ea1a7892b834e70c231bf2d1de40e77499a

Contents?: true

Size: 815 Bytes

Versions: 10

Compression:

Stored size: 815 Bytes

Contents

rules:
  predicate:
    - tautology
    - contradiction
    - identifier
    - not
    - and
    - or
    - eq
    - neq
    - lt
    - lte
    - gt
    - gte
    - in
    - native
  tautology:
    - [ true ]
  contradiction:
    - [ false ]
  identifier:
    - [ name ]
  qualified_identifier:
    - [ name, name ]
  not:
    - [ predicate ]
  and:
    - [ predicate+ ]
  or:
    - [ predicate+ ]
  eq:
    - [ term, term ]
  neq:
    - [ term, term ]
  lt:
    - [ term, term ]
  lte:
    - [ term, term ]
  gt:
    - [ term, term ]
  gte:
    - [ term, term ]
  in:
    - [ varref, values ]
  term:
    - varref
    - literal
  varref:
    - qualified_identifier
    - identifier
  native:
    - [ "::Proc" ]
  literal:
    - "::Object"
  values:
    - "::Object"
  name:
    !ruby/regexp /^[a-zA-Z0-9_]+[?!]?$/

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
predicate-1.1.3 lib/predicate/grammar.sexp.yml
predicate-1.1.2 lib/predicate/grammar.sexp.yml
predicate-1.1.1 lib/predicate/grammar.sexp.yml
predicate-1.1.0 lib/predicate/grammar.sexp.yml
predicate-1.0.0 lib/predicate/grammar.sexp.yml
alf-core-0.16.3 lib/alf/predicate/grammar.sexp.yml
alf-core-0.16.2 lib/alf/predicate/grammar.sexp.yml
alf-core-0.16.1 lib/alf/predicate/grammar.sexp.yml
alf-core-0.16.0 lib/alf/predicate/grammar.sexp.yml
alf-core-0.15.0 lib/alf/predicate/grammar.sexp.yml