mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-24 10:41:57 +03:00
499 lines
12 KiB
Plaintext
499 lines
12 KiB
Plaintext
---
|
|
namespace: ParseExpression
|
|
expectation: Pass
|
|
outputs:
|
|
- Binary:
|
|
left:
|
|
Literal:
|
|
Integer:
|
|
- U8
|
|
- "1"
|
|
- span:
|
|
lo: 0
|
|
hi: 3
|
|
- 0
|
|
right:
|
|
Literal:
|
|
Integer:
|
|
- U8
|
|
- "1"
|
|
- span:
|
|
lo: 7
|
|
hi: 10
|
|
- 1
|
|
op: Eq
|
|
span:
|
|
lo: 0
|
|
hi: 10
|
|
id: 2
|
|
- Binary:
|
|
left:
|
|
Literal:
|
|
Integer:
|
|
- U8
|
|
- "2"
|
|
- span:
|
|
lo: 0
|
|
hi: 3
|
|
- 0
|
|
right:
|
|
Literal:
|
|
Integer:
|
|
- U8
|
|
- "3"
|
|
- span:
|
|
lo: 5
|
|
hi: 8
|
|
- 1
|
|
op: Eq
|
|
span:
|
|
lo: 0
|
|
hi: 8
|
|
id: 2
|
|
- Binary:
|
|
left:
|
|
Binary:
|
|
left:
|
|
Literal:
|
|
Integer:
|
|
- U8
|
|
- "1"
|
|
- span:
|
|
lo: 0
|
|
hi: 3
|
|
- 0
|
|
right:
|
|
Literal:
|
|
Integer:
|
|
- U8
|
|
- "2"
|
|
- span:
|
|
lo: 6
|
|
hi: 9
|
|
- 1
|
|
op: Lt
|
|
span:
|
|
lo: 0
|
|
hi: 9
|
|
id: 2
|
|
right:
|
|
Binary:
|
|
left:
|
|
Literal:
|
|
Integer:
|
|
- U8
|
|
- "3"
|
|
- span:
|
|
lo: 13
|
|
hi: 16
|
|
- 3
|
|
right:
|
|
Literal:
|
|
Integer:
|
|
- U8
|
|
- "4"
|
|
- span:
|
|
lo: 19
|
|
hi: 22
|
|
- 4
|
|
op: Lt
|
|
span:
|
|
lo: 13
|
|
hi: 22
|
|
id: 5
|
|
op: Eq
|
|
span:
|
|
lo: 0
|
|
hi: 22
|
|
id: 6
|
|
- Binary:
|
|
left:
|
|
Binary:
|
|
left:
|
|
Binary:
|
|
left:
|
|
Literal:
|
|
Integer:
|
|
- U8
|
|
- "1"
|
|
- span:
|
|
lo: 0
|
|
hi: 3
|
|
- 0
|
|
right:
|
|
Literal:
|
|
Integer:
|
|
- U8
|
|
- "2"
|
|
- span:
|
|
lo: 6
|
|
hi: 9
|
|
- 1
|
|
op: Lt
|
|
span:
|
|
lo: 0
|
|
hi: 9
|
|
id: 2
|
|
right:
|
|
Binary:
|
|
left:
|
|
Literal:
|
|
Integer:
|
|
- U8
|
|
- "3"
|
|
- span:
|
|
lo: 13
|
|
hi: 16
|
|
- 3
|
|
right:
|
|
Literal:
|
|
Integer:
|
|
- U8
|
|
- "4"
|
|
- span:
|
|
lo: 19
|
|
hi: 22
|
|
- 4
|
|
op: Lt
|
|
span:
|
|
lo: 13
|
|
hi: 22
|
|
id: 5
|
|
op: Eq
|
|
span:
|
|
lo: 0
|
|
hi: 22
|
|
id: 6
|
|
right:
|
|
Binary:
|
|
left:
|
|
Binary:
|
|
left:
|
|
Literal:
|
|
Integer:
|
|
- U8
|
|
- "3"
|
|
- span:
|
|
lo: 26
|
|
hi: 29
|
|
- 7
|
|
right:
|
|
Literal:
|
|
Integer:
|
|
- U8
|
|
- "4"
|
|
- span:
|
|
lo: 32
|
|
hi: 35
|
|
- 8
|
|
op: Lt
|
|
span:
|
|
lo: 26
|
|
hi: 35
|
|
id: 9
|
|
right:
|
|
Binary:
|
|
left:
|
|
Literal:
|
|
Integer:
|
|
- U8
|
|
- "5"
|
|
- span:
|
|
lo: 39
|
|
hi: 42
|
|
- 10
|
|
right:
|
|
Literal:
|
|
Integer:
|
|
- U8
|
|
- "6"
|
|
- span:
|
|
lo: 45
|
|
hi: 48
|
|
- 11
|
|
op: Lt
|
|
span:
|
|
lo: 39
|
|
hi: 48
|
|
id: 12
|
|
op: Eq
|
|
span:
|
|
lo: 26
|
|
hi: 48
|
|
id: 13
|
|
op: And
|
|
span:
|
|
lo: 0
|
|
hi: 48
|
|
id: 14
|
|
- Unary:
|
|
receiver:
|
|
Unary:
|
|
receiver:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
|
|
right:
|
|
Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
|
|
op: Eq
|
|
span:
|
|
lo: 2
|
|
hi: 9
|
|
id: 3
|
|
op: Negate
|
|
span:
|
|
lo: 1
|
|
hi: 9
|
|
id: 4
|
|
op: Not
|
|
span:
|
|
lo: 0
|
|
hi: 9
|
|
id: 5
|
|
- Binary:
|
|
left:
|
|
Binary:
|
|
left:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
|
|
right:
|
|
Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}"
|
|
op: Eq
|
|
span:
|
|
lo: 0
|
|
hi: 7
|
|
id: 3
|
|
right:
|
|
Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}"
|
|
op: Eq
|
|
span:
|
|
lo: 0
|
|
hi: 13
|
|
id: 6
|
|
right:
|
|
Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
|
|
op: Eq
|
|
span:
|
|
lo: 0
|
|
hi: 19
|
|
id: 9
|
|
- Unary:
|
|
receiver:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
|
|
right:
|
|
Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
|
|
op: Eq
|
|
span:
|
|
lo: 1
|
|
hi: 8
|
|
id: 3
|
|
op: Negate
|
|
span:
|
|
lo: 0
|
|
hi: 8
|
|
id: 4
|
|
- Binary:
|
|
left:
|
|
Unary:
|
|
receiver:
|
|
Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
|
|
op: Negate
|
|
span:
|
|
lo: 1
|
|
hi: 3
|
|
id: 1
|
|
right:
|
|
Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
|
|
op: Eq
|
|
span:
|
|
lo: 1
|
|
hi: 10
|
|
id: 4
|
|
- Unary:
|
|
receiver:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
|
|
right:
|
|
Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
|
|
op: Eq
|
|
span:
|
|
lo: 2
|
|
hi: 9
|
|
id: 3
|
|
op: Negate
|
|
span:
|
|
lo: 0
|
|
hi: 9
|
|
id: 4
|
|
- Binary:
|
|
left:
|
|
Unary:
|
|
receiver:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
|
|
right:
|
|
Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
|
|
op: Eq
|
|
span:
|
|
lo: 2
|
|
hi: 9
|
|
id: 3
|
|
op: Negate
|
|
span:
|
|
lo: 1
|
|
hi: 9
|
|
id: 4
|
|
right:
|
|
Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}"
|
|
op: Eq
|
|
span:
|
|
lo: 1
|
|
hi: 16
|
|
id: 7
|
|
- Unary:
|
|
receiver:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
|
|
right:
|
|
Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
|
|
op: Eq
|
|
span:
|
|
lo: 1
|
|
hi: 8
|
|
id: 3
|
|
op: Not
|
|
span:
|
|
lo: 0
|
|
hi: 8
|
|
id: 4
|
|
- Binary:
|
|
left:
|
|
Unary:
|
|
receiver:
|
|
Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
|
|
op: Not
|
|
span:
|
|
lo: 1
|
|
hi: 3
|
|
id: 1
|
|
right:
|
|
Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
|
|
op: Eq
|
|
span:
|
|
lo: 1
|
|
hi: 10
|
|
id: 4
|
|
- Unary:
|
|
receiver:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
|
|
right:
|
|
Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
|
|
op: Eq
|
|
span:
|
|
lo: 2
|
|
hi: 9
|
|
id: 3
|
|
op: Not
|
|
span:
|
|
lo: 0
|
|
hi: 9
|
|
id: 4
|
|
- Binary:
|
|
left:
|
|
Unary:
|
|
receiver:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
|
|
right:
|
|
Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
|
|
op: Eq
|
|
span:
|
|
lo: 2
|
|
hi: 9
|
|
id: 3
|
|
op: Not
|
|
span:
|
|
lo: 1
|
|
hi: 9
|
|
id: 4
|
|
right:
|
|
Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}"
|
|
op: Eq
|
|
span:
|
|
lo: 1
|
|
hi: 16
|
|
id: 7
|
|
- Binary:
|
|
left:
|
|
Binary:
|
|
left:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
|
|
right:
|
|
Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
|
|
op: Eq
|
|
span:
|
|
lo: 1
|
|
hi: 8
|
|
id: 3
|
|
right:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}"
|
|
right:
|
|
Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
|
|
op: Eq
|
|
span:
|
|
lo: 12
|
|
hi: 19
|
|
id: 7
|
|
op: Eq
|
|
span:
|
|
lo: 1
|
|
hi: 19
|
|
id: 8
|
|
right:
|
|
Binary:
|
|
left:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":24,\\\"hi\\\":25}\"}"
|
|
right:
|
|
Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":29,\\\"hi\\\":30}\"}"
|
|
op: Eq
|
|
span:
|
|
lo: 24
|
|
hi: 31
|
|
id: 13
|
|
right:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":35,\\\"hi\\\":36}\"}"
|
|
right:
|
|
Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":40,\\\"hi\\\":41}\"}"
|
|
op: Eq
|
|
span:
|
|
lo: 35
|
|
hi: 42
|
|
id: 17
|
|
op: Eq
|
|
span:
|
|
lo: 24
|
|
hi: 42
|
|
id: 18
|
|
op: Eq
|
|
span:
|
|
lo: 1
|
|
hi: 43
|
|
id: 19
|