mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-27 20:24:52 +03:00
419 lines
9.3 KiB
Plaintext
419 lines
9.3 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: 6
|
|
hi: 9
|
|
- 0
|
|
op: Div
|
|
span:
|
|
lo: 0
|
|
hi: 9
|
|
id: 0
|
|
- Binary:
|
|
left:
|
|
Literal:
|
|
Integer:
|
|
- U8
|
|
- "2"
|
|
- span:
|
|
lo: 0
|
|
hi: 3
|
|
- 0
|
|
right:
|
|
Literal:
|
|
Integer:
|
|
- U8
|
|
- "3"
|
|
- span:
|
|
lo: 4
|
|
hi: 7
|
|
- 0
|
|
op: Div
|
|
span:
|
|
lo: 0
|
|
hi: 7
|
|
id: 0
|
|
- Binary:
|
|
left:
|
|
Binary:
|
|
left:
|
|
Literal:
|
|
Integer:
|
|
- U8
|
|
- "1"
|
|
- span:
|
|
lo: 0
|
|
hi: 3
|
|
- 0
|
|
right:
|
|
Literal:
|
|
Integer:
|
|
- U8
|
|
- "2"
|
|
- span:
|
|
lo: 6
|
|
hi: 9
|
|
- 0
|
|
op: Div
|
|
span:
|
|
lo: 0
|
|
hi: 9
|
|
id: 0
|
|
right:
|
|
Literal:
|
|
Integer:
|
|
- U8
|
|
- "3"
|
|
- span:
|
|
lo: 12
|
|
hi: 15
|
|
- 0
|
|
op: Div
|
|
span:
|
|
lo: 0
|
|
hi: 15
|
|
id: 0
|
|
- Binary:
|
|
left:
|
|
Binary:
|
|
left:
|
|
Literal:
|
|
Integer:
|
|
- U8
|
|
- "1"
|
|
- span:
|
|
lo: 0
|
|
hi: 3
|
|
- 0
|
|
right:
|
|
Literal:
|
|
Integer:
|
|
- U8
|
|
- "2"
|
|
- span:
|
|
lo: 7
|
|
hi: 10
|
|
- 0
|
|
op: Pow
|
|
span:
|
|
lo: 0
|
|
hi: 10
|
|
id: 0
|
|
right:
|
|
Binary:
|
|
left:
|
|
Literal:
|
|
Integer:
|
|
- U8
|
|
- "3"
|
|
- span:
|
|
lo: 13
|
|
hi: 16
|
|
- 0
|
|
right:
|
|
Literal:
|
|
Integer:
|
|
- U8
|
|
- "4"
|
|
- span:
|
|
lo: 20
|
|
hi: 23
|
|
- 0
|
|
op: Pow
|
|
span:
|
|
lo: 13
|
|
hi: 23
|
|
id: 0
|
|
op: Div
|
|
span:
|
|
lo: 0
|
|
hi: 23
|
|
id: 0
|
|
- Unary:
|
|
receiver:
|
|
Unary:
|
|
receiver:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
|
|
right:
|
|
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
|
|
op: Div
|
|
span:
|
|
lo: 2
|
|
hi: 10
|
|
id: 0
|
|
op: Negate
|
|
span:
|
|
lo: 1
|
|
hi: 10
|
|
id: 0
|
|
op: Not
|
|
span:
|
|
lo: 0
|
|
hi: 10
|
|
id: 0
|
|
- Binary:
|
|
left:
|
|
Binary:
|
|
left:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
|
|
right:
|
|
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
|
|
op: Div
|
|
span:
|
|
lo: 0
|
|
hi: 8
|
|
id: 0
|
|
right:
|
|
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
|
|
op: Div
|
|
span:
|
|
lo: 0
|
|
hi: 15
|
|
id: 0
|
|
right:
|
|
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}"
|
|
op: Div
|
|
span:
|
|
lo: 0
|
|
hi: 22
|
|
id: 0
|
|
- Unary:
|
|
receiver:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
|
|
right:
|
|
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
|
|
op: Div
|
|
span:
|
|
lo: 1
|
|
hi: 9
|
|
id: 0
|
|
op: Negate
|
|
span:
|
|
lo: 0
|
|
hi: 9
|
|
id: 0
|
|
- Binary:
|
|
left:
|
|
Unary:
|
|
receiver:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
|
|
op: Negate
|
|
span:
|
|
lo: 1
|
|
hi: 3
|
|
id: 0
|
|
right:
|
|
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
|
|
op: Div
|
|
span:
|
|
lo: 1
|
|
hi: 11
|
|
id: 0
|
|
- Unary:
|
|
receiver:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
|
|
right:
|
|
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
|
|
op: Div
|
|
span:
|
|
lo: 2
|
|
hi: 10
|
|
id: 0
|
|
op: Negate
|
|
span:
|
|
lo: 0
|
|
hi: 10
|
|
id: 0
|
|
- Binary:
|
|
left:
|
|
Unary:
|
|
receiver:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
|
|
right:
|
|
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
|
|
op: Div
|
|
span:
|
|
lo: 2
|
|
hi: 10
|
|
id: 0
|
|
op: Negate
|
|
span:
|
|
lo: 1
|
|
hi: 10
|
|
id: 0
|
|
right:
|
|
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
|
|
op: Div
|
|
span:
|
|
lo: 1
|
|
hi: 18
|
|
id: 0
|
|
- Unary:
|
|
receiver:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
|
|
right:
|
|
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
|
|
op: Div
|
|
span:
|
|
lo: 1
|
|
hi: 9
|
|
id: 0
|
|
op: Not
|
|
span:
|
|
lo: 0
|
|
hi: 9
|
|
id: 0
|
|
- Binary:
|
|
left:
|
|
Unary:
|
|
receiver:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
|
|
op: Not
|
|
span:
|
|
lo: 1
|
|
hi: 3
|
|
id: 0
|
|
right:
|
|
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
|
|
op: Div
|
|
span:
|
|
lo: 1
|
|
hi: 11
|
|
id: 0
|
|
- Unary:
|
|
receiver:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
|
|
right:
|
|
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
|
|
op: Div
|
|
span:
|
|
lo: 2
|
|
hi: 10
|
|
id: 0
|
|
op: Not
|
|
span:
|
|
lo: 0
|
|
hi: 10
|
|
id: 0
|
|
- Binary:
|
|
left:
|
|
Unary:
|
|
receiver:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
|
|
right:
|
|
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
|
|
op: Div
|
|
span:
|
|
lo: 2
|
|
hi: 10
|
|
id: 0
|
|
op: Not
|
|
span:
|
|
lo: 1
|
|
hi: 10
|
|
id: 0
|
|
right:
|
|
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
|
|
op: Div
|
|
span:
|
|
lo: 1
|
|
hi: 18
|
|
id: 0
|
|
- Binary:
|
|
left:
|
|
Binary:
|
|
left:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
|
|
right:
|
|
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
|
|
op: Div
|
|
span:
|
|
lo: 1
|
|
hi: 9
|
|
id: 0
|
|
right:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}"
|
|
right:
|
|
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":19}\"}"
|
|
op: Div
|
|
span:
|
|
lo: 12
|
|
hi: 20
|
|
id: 0
|
|
op: Div
|
|
span:
|
|
lo: 1
|
|
hi: 20
|
|
id: 0
|
|
right:
|
|
Binary:
|
|
left:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":26,\\\"hi\\\":27}\"}"
|
|
right:
|
|
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
|
|
op: Div
|
|
span:
|
|
lo: 26
|
|
hi: 34
|
|
id: 0
|
|
right:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":37,\\\"hi\\\":38}\"}"
|
|
right:
|
|
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":43,\\\"hi\\\":44}\"}"
|
|
op: Div
|
|
span:
|
|
lo: 37
|
|
hi: 45
|
|
id: 0
|
|
op: Div
|
|
span:
|
|
lo: 26
|
|
hi: 45
|
|
id: 0
|
|
op: Div
|
|
span:
|
|
lo: 1
|
|
hi: 46
|
|
id: 0
|