Public repository: timo / feel

Reader

An interpreter of FEEL, written in Rust, with integrations for PostgreSQL, WASM, Lua, and Python.

1
[
2
  {
3
    "id": "0021-singleton-list:001:decision1",
4
    "expression": "sublist(Employees, 2, 1)",
5
    "expected": [
6
      "John"
7
    ],
8
    "expected_type": "list",
9
    "comparison": "exact",
10
    "deviation": null,
11
    "context": {
12
      "Employees": [
13
        "Jack",
14
        "John",
15
        "Bob",
16
        "Zack"
17
      ]
18
    }
19
  },
20
  {
21
    "id": "0021-singleton-list:001:decision3",
22
    "expression": "Employees[item = \"Bob\"]",
23
    "expected": [
24
      "Bob"
25
    ],
26
    "expected_type": "list",
27
    "comparison": "exact",
28
    "deviation": null,
29
    "context": {
30
      "Employees": [
31
        "Jack",
32
        "John",
33
        "Bob",
34
        "Zack"
35
      ]
36
    }
37
  }
38
]