Public repository: timo / feel

Reader

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

1
[
2
  {
3
    "id": "0009-append-flatten:001:append2",
4
    "expression": "append(nestedList,simpleList)",
5
    "expected": [
6
      [
7
        "w",
8
        "x"
9
      ],
10
      [
11
        "y"
12
      ],
13
      [
14
        "z"
15
      ],
16
      [
17
        "a",
18
        "b",
19
        "c"
20
      ]
21
    ],
22
    "expected_type": "list",
23
    "comparison": "exact",
24
    "deviation": null,
25
    "context": {
26
      "simpleList": [
27
        "a",
28
        "b",
29
        "c"
30
      ],
31
      "nestedList": [
32
        [
33
          "w",
34
          "x"
35
        ],
36
        [
37
          "y"
38
        ],
39
        [
40
          "z"
41
        ]
42
      ]
43
    }
44
  },
45
  {
46
    "id": "0009-append-flatten:001:literalNestedList",
47
    "expression": "[[\"w\",\"x\"],[\"y\"],[\"z\"]]",
48
    "expected": [
49
      [
50
        "w",
51
        "x"
52
      ],
53
      [
54
        "y"
55
      ],
56
      [
57
        "z"
58
      ]
59
    ],
60
    "expected_type": "list",
61
    "comparison": "exact",
62
    "deviation": null,
63
    "context": {
64
      "simpleList": [
65
        "a",
66
        "b",
67
        "c"
68
      ],
69
      "nestedList": [
70
        [
71
          "w",
72
          "x"
73
        ],
74
        [
75
          "y"
76
        ],
77
        [
78
          "z"
79
        ]
80
      ]
81
    }
82
  },
83
  {
84
    "id": "0009-append-flatten:001:literalSimpleList",
85
    "expression": "[\"a\",\"b\",\"c\"]",
86
    "expected": [
87
      "a",
88
      "b",
89
      "c"
90
    ],
91
    "expected_type": "list",
92
    "comparison": "exact",
93
    "deviation": null,
94
    "context": {
95
      "simpleList": [
96
        "a",
97
        "b",
98
        "c"
99
      ],
100
      "nestedList": [
101
        [
102
          "w",
103
          "x"
104
        ],
105
        [
106
          "y"
107
        ],
108
        [
109
          "z"
110
        ]
111
      ]
112
    }
113
  }
114
]