Public repository: timo / feel

Reader

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

1
[
2
  {
3
    "id": "0008-listGen:001:listGen1",
4
    "expression": "[\"a\",\"b\",\"c\"]",
5
    "expected": [
6
      "a",
7
      "b",
8
      "c"
9
    ],
10
    "expected_type": "list",
11
    "comparison": "exact",
12
    "deviation": null
13
  },
14
  {
15
    "id": "0008-listGen:002:listGen2",
16
    "expression": "[a,b,c]",
17
    "expected": [
18
      "a",
19
      "b",
20
      "c"
21
    ],
22
    "expected_type": "list",
23
    "comparison": "exact",
24
    "deviation": null,
25
    "context": {
26
      "a": "a",
27
      "b": "b",
28
      "c": "c"
29
    }
30
  },
31
  {
32
    "id": "0008-listGen:003:listGen3",
33
    "expression": "[\"a\",b,c]",
34
    "expected": [
35
      "a",
36
      "b",
37
      "c"
38
    ],
39
    "expected_type": "list",
40
    "comparison": "exact",
41
    "deviation": null,
42
    "context": {
43
      "b": "b",
44
      "c": "c"
45
    }
46
  },
47
  {
48
    "id": "0008-listGen:006:listGen6",
49
    "expression": "flatten([[\"w\",\"x\"],\"y\",\"z\"])",
50
    "expected": [
51
      "w",
52
      "x",
53
      "y",
54
      "z"
55
    ],
56
    "expected_type": "list",
57
    "comparison": "exact",
58
    "deviation": null
59
  },
60
  {
61
    "id": "0008-listGen:007:listGen7",
62
    "expression": "flatten([wx,\"y\",\"z\"])",
63
    "expected": [
64
      "w",
65
      "x",
66
      "y",
67
      "z"
68
    ],
69
    "expected_type": "list",
70
    "comparison": "exact",
71
    "deviation": null,
72
    "context": {
73
      "wx": [
74
        "w",
75
        "x"
76
      ]
77
    }
78
  }
79
]