Public repository: timo / feel

Reader

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

1
[
2
  {
3
    "id": "1107-feel-substring-before-function:001_2e948ccdc7:feel-substring-before-function_001_2e948ccdc7",
4
    "expression": "substring before(\"foobar\",\"bar\")",
5
    "expected": "foo",
6
    "expected_type": "string",
7
    "comparison": "exact",
8
    "deviation": null
9
  },
10
  {
11
    "id": "1107-feel-substring-before-function:002_f4de663db7:feel-substring-before-function_002_f4de663db7",
12
    "expression": "substring before(\"foobar\",\"o\")",
13
    "expected": "f",
14
    "expected_type": "string",
15
    "comparison": "exact",
16
    "deviation": null
17
  },
18
  {
19
    "id": "1107-feel-substring-before-function:003_60bc15bade:feel-substring-before-function_003_60bc15bade",
20
    "expression": "substring before(\"foobar\",\"x\")",
21
    "expected": "",
22
    "expected_type": "string",
23
    "comparison": "exact",
24
    "deviation": null
25
  },
26
  {
27
    "id": "1107-feel-substring-before-function:004_6f93aa7654:feel-substring-before-function_004_6f93aa7654",
28
    "expression": "substring before(\"\",\"\")",
29
    "expected": "",
30
    "expected_type": "string",
31
    "comparison": "exact",
32
    "deviation": null
33
  },
34
  {
35
    "id": "1107-feel-substring-before-function:005_c8e030633c:feel-substring-before-function_005_c8e030633c",
36
    "expression": "substring before(\"abc\",\"\")",
37
    "expected": "",
38
    "expected_type": "string",
39
    "comparison": "exact",
40
    "deviation": null
41
  },
42
  {
43
    "id": "1107-feel-substring-before-function:006_1c3d39811d:feel-substring-before-function_006_1c3d39811d",
44
    "expression": "substring before(\"abc\",\"a\")",
45
    "expected": "",
46
    "expected_type": "string",
47
    "comparison": "exact",
48
    "deviation": null
49
  },
50
  {
51
    "id": "1107-feel-substring-before-function:007_ea4e4a38b0:feel-substring-before-function_007_ea4e4a38b0",
52
    "expression": "substring before(\"abc\",\"c\")",
53
    "expected": "ab",
54
    "expected_type": "string",
55
    "comparison": "exact",
56
    "deviation": null
57
  },
58
  {
59
    "id": "1107-feel-substring-before-function:008_501b0a5990:feel-substring-before-function_008_501b0a5990",
60
    "expression": "substring before(string:\"foobar\",match:\"bar\")",
61
    "expected": "foo",
62
    "expected_type": "string",
63
    "comparison": "exact",
64
    "deviation": null
65
  },
66
  {
67
    "id": "1107-feel-substring-before-function:009_a79c5a4111:feel-substring-before-function_009_a79c5a4111",
68
    "expression": "substring before(string:\"foobar\",match:\"b\")",
69
    "expected": "foo",
70
    "expected_type": "string",
71
    "comparison": "exact",
72
    "deviation": null
73
  }
74
]