ivanakcheurov / desh.net

Parser, engine and tools for desh language in .net
MIT License
2 stars 0 forks source link

Implement decision-centric desh #2

Open ivanakcheurov opened 5 years ago

ivanakcheurov commented 5 years ago

Implement desh that allows to start with decision first and then specify their conditions

decide:
  - bus:
      passengers_count:
        - greater_than: 8
  - van:
      anyOf:
        - passengers_count:
            - greater_than: 4
        - suitcases_count:
            - greater_than: 3
  - car