ivanakcheurov / desh.net

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

Self-contained desh (with manifest and tests) #9

Open ivanakcheurov opened 5 years ago

ivanakcheurov commented 5 years ago

A file containing desh should be self-contained thus containing more information than just business rules:

  1. Manifest
    • execution engine version,
    • execution engine parameters (e.g. find all decisions or stop on the first found),
    • known variables, perhaps with allowed values (enumerations) or types (e.g. text, integer or decimal point numbers),
    • known operators.
  2. Desh: the business rules section.
  3. Tests: a bunch of pairs (input object, expected result).