Reorganize tests files

This commit is contained in:
d0cd 2023-02-04 20:39:51 -08:00
parent 59915ed315
commit 04ba80f59a
1369 changed files with 88397 additions and 21 deletions

View File

@ -0,0 +1,18 @@
---
namespace: Execute
expectation: Pass
outputs:
- initial_ast: 273da1e42e4be39218e46f2a743701790655709cb9f016b12d07ac41a2c7fa7b
unrolled_ast: 273da1e42e4be39218e46f2a743701790655709cb9f016b12d07ac41a2c7fa7b
ssa_ast: 97419870ef8df8978d51677579898be33f260b36003b427ea3117156c0956c63
flattened_ast: 65625dd7ef152d4960dce674777e86ac631b87e83fb793b17bd53b90e78759ca
results:
main:
- inputs: "[1u32]"
outputs: "[true]"
- inputs: "[2u32]"
outputs: "[true]"
- inputs: "[3u32]"
outputs: "[true]"
- inputs: "[4u32]"
outputs: "[false]"

View File

@ -0,0 +1,19 @@
---
namespace: Execute
expectation: Pass
outputs:
- initial_ast: 273da1e42e4be39218e46f2a743701790655709cb9f016b12d07ac41a2c7fa7b
unrolled_ast: 273da1e42e4be39218e46f2a743701790655709cb9f016b12d07ac41a2c7fa7b
ssa_ast: 97419870ef8df8978d51677579898be33f260b36003b427ea3117156c0956c63
flattened_ast: 65625dd7ef152d4960dce674777e86ac631b87e83fb793b17bd53b90e78759ca
bytecode: 509e7664972d0466ea9b1ad36d223e55b3974389502a8bd47335c9f9a8d6dad3
results:
main:
- inputs: "[1u32]"
outputs: "[true]"
- inputs: "[2u32]"
outputs: "[true]"
- inputs: "[3u32]"
outputs: "[true]"
- inputs: "[4u32]"
outputs: "[false]"

View File

@ -0,0 +1,50 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Call:
function:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
arguments: []
external: ~
span:
lo: 0
hi: 3
- Call:
function:
Identifier: "{\"name\":\"X\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
arguments: []
external: ~
span:
lo: 0
hi: 3
- Call:
function:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
arguments:
- Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
external: ~
span:
lo: 0
hi: 4
- Call:
function:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
arguments:
- Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
- Identifier: "{\"name\":\"z\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}"
external: ~
span:
lo: 0
hi: 7
- Call:
function:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
arguments:
- Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
- Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}"
- Identifier: "{\"name\":\"z\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
external: ~
span:
lo: 0
hi: 10

View File

@ -0,0 +1,8 @@
---
namespace: ParseExpression
expectation: Fail
outputs:
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '['\n --> test:1:1\n |\n 1 | [...0u8; 1]\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '['\n --> test:1:1\n |\n 1 | [...0; 1]\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '['\n --> test:1:1\n |\n 1 | [0; ()]\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '['\n --> test:1:1\n |\n 1 | [0; (1)]\n | ^"

View File

@ -0,0 +1,9 @@
---
namespace: ParseExpression
expectation: Fail
outputs:
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '['\n --> test:1:1\n |\n 1 | [,]\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '['\n --> test:1:1\n |\n 1 | [,,]\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '['\n --> test:1:1\n |\n 1 | [0,,]\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '['\n --> test:1:1\n |\n 1 | [,0]\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '['\n --> test:1:1\n |\n 1 | [,0,]\n | ^"

View File

@ -0,0 +1,481 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "1"
- span:
lo: 6
hi: 9
op: Add
span:
lo: 0
hi: 9
- Binary:
left:
Literal:
Integer:
- U8
- "2"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 4
hi: 7
op: Add
span:
lo: 0
hi: 7
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: Add
span:
lo: 0
hi: 9
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 12
hi: 15
op: Add
span:
lo: 0
hi: 15
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: Mul
span:
lo: 0
hi: 9
right:
Binary:
left:
Literal:
Integer:
- U8
- "3"
- span:
lo: 12
hi: 15
right:
Literal:
Integer:
- U8
- "4"
- span:
lo: 18
hi: 21
op: Mul
span:
lo: 12
hi: 21
op: Add
span:
lo: 0
hi: 21
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: Add
span:
lo: 0
hi: 9
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 12
hi: 15
op: Sub
span:
lo: 0
hi: 15
- Binary:
left:
Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: Mul
span:
lo: 0
hi: 9
right:
Binary:
left:
Literal:
Integer:
- U8
- "3"
- span:
lo: 12
hi: 15
right:
Literal:
Integer:
- U8
- "4"
- span:
lo: 18
hi: 21
op: Mul
span:
lo: 12
hi: 21
op: Add
span:
lo: 0
hi: 21
right:
Binary:
left:
Literal:
Integer:
- U8
- "5"
- span:
lo: 24
hi: 27
right:
Literal:
Integer:
- U8
- "6"
- span:
lo: 30
hi: 33
op: Mul
span:
lo: 24
hi: 33
op: Sub
span:
lo: 0
hi: 33
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Add
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: Add
span:
lo: 0
hi: 8
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
op: Add
span:
lo: 0
hi: 15
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}"
op: Add
span:
lo: 0
hi: 22
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Add
span:
lo: 1
hi: 9
op: Negate
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Add
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Add
span:
lo: 2
hi: 10
op: Negate
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Add
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Add
span:
lo: 1
hi: 18
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Add
span:
lo: 1
hi: 9
op: Not
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Add
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Add
span:
lo: 2
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Add
span:
lo: 2
hi: 10
op: Not
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Add
span:
lo: 1
hi: 18
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Add
span:
lo: 1
hi: 9
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":19}\"}"
op: Add
span:
lo: 12
hi: 20
op: Add
span:
lo: 1
hi: 20
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":26,\\\"hi\\\":27}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: Add
span:
lo: 26
hi: 34
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":37,\\\"hi\\\":38}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":43,\\\"hi\\\":44}\"}"
op: Add
span:
lo: 37
hi: 45
op: Add
span:
lo: 26
hi: 45
op: Add
span:
lo: 1
hi: 46

View File

@ -0,0 +1,243 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: AddWrapped
span:
lo: 2
hi: 18
op: Negate
span:
lo: 1
hi: 18
op: Not
span:
lo: 0
hi: 18
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}"
op: AddWrapped
span:
lo: 0
hi: 16
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":29,\\\"hi\\\":30}\"}"
op: AddWrapped
span:
lo: 0
hi: 31
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":44,\\\"hi\\\":45}\"}"
op: AddWrapped
span:
lo: 0
hi: 46
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
op: AddWrapped
span:
lo: 1
hi: 17
op: Negate
span:
lo: 0
hi: 17
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
op: AddWrapped
span:
lo: 1
hi: 19
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: AddWrapped
span:
lo: 2
hi: 18
op: Negate
span:
lo: 0
hi: 18
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: AddWrapped
span:
lo: 2
hi: 18
op: Negate
span:
lo: 1
hi: 18
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: AddWrapped
span:
lo: 1
hi: 34
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
op: AddWrapped
span:
lo: 1
hi: 17
op: Not
span:
lo: 0
hi: 17
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
op: AddWrapped
span:
lo: 1
hi: 19
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: AddWrapped
span:
lo: 2
hi: 18
op: Not
span:
lo: 0
hi: 18
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: AddWrapped
span:
lo: 2
hi: 18
op: Not
span:
lo: 1
hi: 18
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: AddWrapped
span:
lo: 1
hi: 34
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
op: AddWrapped
span:
lo: 1
hi: 17
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":34,\\\"hi\\\":35}\"}"
op: AddWrapped
span:
lo: 20
hi: 36
op: Add
span:
lo: 1
hi: 36
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":50,\\\"hi\\\":51}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":64,\\\"hi\\\":65}\"}"
op: AddWrapped
span:
lo: 50
hi: 66
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":69,\\\"hi\\\":70}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":83,\\\"hi\\\":84}\"}"
op: AddWrapped
span:
lo: 69
hi: 85
op: Add
span:
lo: 50
hi: 85
op: AddWrapped
span:
lo: 1
hi: 86

View File

@ -0,0 +1,313 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Binary:
left:
Literal:
Boolean:
- true
- span:
lo: 0
hi: 4
right:
Literal:
Boolean:
- false
- span:
lo: 8
hi: 13
op: And
span:
lo: 0
hi: 13
- Binary:
left:
Literal:
Boolean:
- false
- span:
lo: 0
hi: 5
right:
Literal:
Boolean:
- true
- span:
lo: 7
hi: 11
op: And
span:
lo: 0
hi: 11
- Binary:
left:
Binary:
left:
Literal:
Boolean:
- true
- span:
lo: 0
hi: 4
right:
Literal:
Boolean:
- false
- span:
lo: 6
hi: 11
op: And
span:
lo: 0
hi: 11
right:
Literal:
Boolean:
- true
- span:
lo: 13
hi: 17
op: And
span:
lo: 0
hi: 17
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: BitwiseAnd
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: BitwiseAnd
span:
lo: 0
hi: 8
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
op: BitwiseAnd
span:
lo: 0
hi: 15
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}"
op: BitwiseAnd
span:
lo: 0
hi: 22
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: BitwiseAnd
span:
lo: 1
hi: 9
op: Negate
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: BitwiseAnd
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: BitwiseAnd
span:
lo: 2
hi: 10
op: Negate
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: BitwiseAnd
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: BitwiseAnd
span:
lo: 1
hi: 18
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: BitwiseAnd
span:
lo: 1
hi: 9
op: Not
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: BitwiseAnd
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: BitwiseAnd
span:
lo: 2
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: BitwiseAnd
span:
lo: 2
hi: 10
op: Not
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: BitwiseAnd
span:
lo: 1
hi: 18
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: BitwiseAnd
span:
lo: 1
hi: 9
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":19}\"}"
op: BitwiseAnd
span:
lo: 12
hi: 20
op: Add
span:
lo: 1
hi: 20
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":26,\\\"hi\\\":27}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: BitwiseAnd
span:
lo: 26
hi: 34
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":37,\\\"hi\\\":38}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":43,\\\"hi\\\":44}\"}"
op: BitwiseAnd
span:
lo: 37
hi: 45
op: Add
span:
lo: 26
hi: 45
op: BitwiseAnd
span:
lo: 1
hi: 46

View File

@ -0,0 +1,481 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "1"
- span:
lo: 6
hi: 9
op: BitwiseAnd
span:
lo: 0
hi: 9
- Binary:
left:
Literal:
Integer:
- U8
- "2"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 4
hi: 7
op: BitwiseAnd
span:
lo: 0
hi: 7
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: BitwiseAnd
span:
lo: 0
hi: 9
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 12
hi: 15
op: BitwiseAnd
span:
lo: 0
hi: 15
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Binary:
left:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 12
hi: 15
op: BitwiseAnd
span:
lo: 6
hi: 15
op: BitwiseOr
span:
lo: 0
hi: 15
right:
Literal:
Integer:
- U8
- "4"
- span:
lo: 18
hi: 21
op: BitwiseOr
span:
lo: 0
hi: 21
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: BitwiseAnd
span:
lo: 0
hi: 9
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 12
hi: 15
op: BitwiseAnd
span:
lo: 0
hi: 15
- Binary:
left:
Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Binary:
left:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 12
hi: 15
op: BitwiseAnd
span:
lo: 6
hi: 15
op: BitwiseOr
span:
lo: 0
hi: 15
right:
Binary:
left:
Literal:
Integer:
- U8
- "4"
- span:
lo: 18
hi: 21
right:
Literal:
Integer:
- U8
- "5"
- span:
lo: 24
hi: 27
op: BitwiseAnd
span:
lo: 18
hi: 27
op: BitwiseOr
span:
lo: 0
hi: 27
right:
Literal:
Integer:
- U8
- "6"
- span:
lo: 30
hi: 33
op: BitwiseOr
span:
lo: 0
hi: 33
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: BitwiseAnd
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: BitwiseAnd
span:
lo: 0
hi: 8
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
op: BitwiseAnd
span:
lo: 0
hi: 15
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}"
op: BitwiseAnd
span:
lo: 0
hi: 22
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: BitwiseAnd
span:
lo: 1
hi: 9
op: Negate
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: BitwiseAnd
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: BitwiseAnd
span:
lo: 2
hi: 10
op: Negate
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: BitwiseAnd
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: BitwiseAnd
span:
lo: 1
hi: 18
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: BitwiseAnd
span:
lo: 1
hi: 9
op: Not
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: BitwiseAnd
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: BitwiseAnd
span:
lo: 2
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: BitwiseAnd
span:
lo: 2
hi: 10
op: Not
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: BitwiseAnd
span:
lo: 1
hi: 18
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: BitwiseAnd
span:
lo: 1
hi: 9
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":19}\"}"
op: BitwiseAnd
span:
lo: 12
hi: 20
op: BitwiseAnd
span:
lo: 1
hi: 20
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":26,\\\"hi\\\":27}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: BitwiseAnd
span:
lo: 26
hi: 34
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":37,\\\"hi\\\":38}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":43,\\\"hi\\\":44}\"}"
op: BitwiseAnd
span:
lo: 37
hi: 45
op: BitwiseAnd
span:
lo: 26
hi: 45
op: BitwiseAnd
span:
lo: 1
hi: 46

View File

@ -0,0 +1,481 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "1"
- span:
lo: 6
hi: 9
op: BitwiseOr
span:
lo: 0
hi: 9
- Binary:
left:
Literal:
Integer:
- U8
- "2"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 4
hi: 7
op: BitwiseOr
span:
lo: 0
hi: 7
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: BitwiseOr
span:
lo: 0
hi: 9
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 12
hi: 15
op: BitwiseOr
span:
lo: 0
hi: 15
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Binary:
left:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 12
hi: 15
op: BitwiseOr
span:
lo: 6
hi: 15
op: Xor
span:
lo: 0
hi: 15
right:
Literal:
Integer:
- U8
- "4"
- span:
lo: 18
hi: 21
op: Xor
span:
lo: 0
hi: 21
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: BitwiseOr
span:
lo: 0
hi: 9
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 12
hi: 15
op: BitwiseOr
span:
lo: 0
hi: 15
- Binary:
left:
Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Binary:
left:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 12
hi: 15
op: BitwiseOr
span:
lo: 6
hi: 15
op: Xor
span:
lo: 0
hi: 15
right:
Binary:
left:
Literal:
Integer:
- U8
- "4"
- span:
lo: 18
hi: 21
right:
Literal:
Integer:
- U8
- "5"
- span:
lo: 24
hi: 27
op: BitwiseOr
span:
lo: 18
hi: 27
op: Xor
span:
lo: 0
hi: 27
right:
Literal:
Integer:
- U8
- "6"
- span:
lo: 30
hi: 33
op: Xor
span:
lo: 0
hi: 33
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: BitwiseOr
span:
lo: 2
hi: 9
op: Negate
span:
lo: 1
hi: 9
op: Not
span:
lo: 0
hi: 9
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}"
op: BitwiseOr
span:
lo: 0
hi: 7
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}"
op: BitwiseOr
span:
lo: 0
hi: 13
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
op: BitwiseOr
span:
lo: 0
hi: 19
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: BitwiseOr
span:
lo: 1
hi: 8
op: Negate
span:
lo: 0
hi: 8
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: BitwiseOr
span:
lo: 1
hi: 10
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: BitwiseOr
span:
lo: 2
hi: 9
op: Negate
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: BitwiseOr
span:
lo: 2
hi: 9
op: Negate
span:
lo: 1
hi: 9
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}"
op: BitwiseOr
span:
lo: 1
hi: 16
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: BitwiseOr
span:
lo: 1
hi: 8
op: Not
span:
lo: 0
hi: 8
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: BitwiseOr
span:
lo: 1
hi: 10
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: BitwiseOr
span:
lo: 2
hi: 9
op: Not
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: BitwiseOr
span:
lo: 2
hi: 9
op: Not
span:
lo: 1
hi: 9
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}"
op: BitwiseOr
span:
lo: 1
hi: 16
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: BitwiseOr
span:
lo: 1
hi: 8
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: BitwiseOr
span:
lo: 11
hi: 18
op: BitwiseOr
span:
lo: 1
hi: 18
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":23,\\\"hi\\\":24}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":28,\\\"hi\\\":29}\"}"
op: BitwiseOr
span:
lo: 23
hi: 30
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":34}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":38,\\\"hi\\\":39}\"}"
op: BitwiseOr
span:
lo: 33
hi: 40
op: BitwiseOr
span:
lo: 23
hi: 40
op: BitwiseOr
span:
lo: 1
hi: 41

View File

@ -0,0 +1,481 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "1"
- span:
lo: 6
hi: 9
op: Xor
span:
lo: 0
hi: 9
- Binary:
left:
Literal:
Integer:
- U8
- "2"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 4
hi: 7
op: Xor
span:
lo: 0
hi: 7
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: Xor
span:
lo: 0
hi: 9
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 12
hi: 15
op: Xor
span:
lo: 0
hi: 15
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: BitwiseAnd
span:
lo: 0
hi: 9
right:
Binary:
left:
Literal:
Integer:
- U8
- "3"
- span:
lo: 12
hi: 15
right:
Literal:
Integer:
- U8
- "4"
- span:
lo: 18
hi: 21
op: BitwiseAnd
span:
lo: 12
hi: 21
op: Xor
span:
lo: 0
hi: 21
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: Xor
span:
lo: 0
hi: 9
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 12
hi: 15
op: Xor
span:
lo: 0
hi: 15
- Binary:
left:
Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: BitwiseAnd
span:
lo: 0
hi: 9
right:
Binary:
left:
Literal:
Integer:
- U8
- "3"
- span:
lo: 12
hi: 15
right:
Literal:
Integer:
- U8
- "4"
- span:
lo: 18
hi: 21
op: BitwiseAnd
span:
lo: 12
hi: 21
op: Xor
span:
lo: 0
hi: 21
right:
Binary:
left:
Literal:
Integer:
- U8
- "5"
- span:
lo: 24
hi: 27
right:
Literal:
Integer:
- U8
- "6"
- span:
lo: 30
hi: 33
op: BitwiseAnd
span:
lo: 24
hi: 33
op: Xor
span:
lo: 0
hi: 33
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Xor
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: Xor
span:
lo: 0
hi: 8
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
op: Xor
span:
lo: 0
hi: 15
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}"
op: Xor
span:
lo: 0
hi: 22
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Xor
span:
lo: 1
hi: 9
op: Negate
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Xor
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Xor
span:
lo: 2
hi: 10
op: Negate
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Xor
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Xor
span:
lo: 1
hi: 18
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Xor
span:
lo: 1
hi: 9
op: Not
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Xor
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Xor
span:
lo: 2
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Xor
span:
lo: 2
hi: 10
op: Not
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Xor
span:
lo: 1
hi: 18
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Xor
span:
lo: 1
hi: 9
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":19}\"}"
op: Xor
span:
lo: 12
hi: 20
op: Xor
span:
lo: 1
hi: 20
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":26,\\\"hi\\\":27}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: Xor
span:
lo: 26
hi: 34
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":37,\\\"hi\\\":38}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":43,\\\"hi\\\":44}\"}"
op: Xor
span:
lo: 37
hi: 45
op: Xor
span:
lo: 26
hi: 45
op: Xor
span:
lo: 1
hi: 46

View File

@ -0,0 +1,369 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "1"
- span:
lo: 6
hi: 9
op: Div
span:
lo: 0
hi: 9
- Binary:
left:
Literal:
Integer:
- U8
- "2"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 4
hi: 7
op: Div
span:
lo: 0
hi: 7
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: Div
span:
lo: 0
hi: 9
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 12
hi: 15
op: Div
span:
lo: 0
hi: 15
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 7
hi: 10
op: Pow
span:
lo: 0
hi: 10
right:
Binary:
left:
Literal:
Integer:
- U8
- "3"
- span:
lo: 13
hi: 16
right:
Literal:
Integer:
- U8
- "4"
- span:
lo: 20
hi: 23
op: Pow
span:
lo: 13
hi: 23
op: Div
span:
lo: 0
hi: 23
- 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
op: Negate
span:
lo: 1
hi: 10
op: Not
span:
lo: 0
hi: 10
- 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
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
op: Div
span:
lo: 0
hi: 15
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}"
op: Div
span:
lo: 0
hi: 22
- 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
op: Negate
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Div
span:
lo: 1
hi: 11
- 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
op: Negate
span:
lo: 0
hi: 10
- 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
op: Negate
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Div
span:
lo: 1
hi: 18
- 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
op: Not
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Div
span:
lo: 1
hi: 11
- 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
op: Not
span:
lo: 0
hi: 10
- 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
op: Not
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Div
span:
lo: 1
hi: 18
- 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
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
op: Div
span:
lo: 1
hi: 20
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
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
op: Div
span:
lo: 26
hi: 45
op: Div
span:
lo: 1
hi: 46

View File

@ -0,0 +1,243 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- 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
op: Negate
span:
lo: 1
hi: 10
op: Not
span:
lo: 0
hi: 10
- 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
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
op: Div
span:
lo: 0
hi: 15
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}"
op: Div
span:
lo: 0
hi: 22
- 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
op: Negate
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Div
span:
lo: 1
hi: 11
- 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
op: Negate
span:
lo: 0
hi: 10
- 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
op: Negate
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Div
span:
lo: 1
hi: 18
- 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
op: Not
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Div
span:
lo: 1
hi: 11
- 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
op: Not
span:
lo: 0
hi: 10
- 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
op: Not
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Div
span:
lo: 1
hi: 18
- 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
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
op: Div
span:
lo: 1
hi: 20
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
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
op: Div
span:
lo: 26
hi: 45
op: Div
span:
lo: 1
hi: 46

View File

@ -0,0 +1,439 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "1"
- span:
lo: 7
hi: 10
op: Eq
span:
lo: 0
hi: 10
- Binary:
left:
Literal:
Integer:
- U8
- "2"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 5
hi: 8
op: Eq
span:
lo: 0
hi: 8
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: Lt
span:
lo: 0
hi: 9
right:
Binary:
left:
Literal:
Integer:
- U8
- "3"
- span:
lo: 13
hi: 16
right:
Literal:
Integer:
- U8
- "4"
- span:
lo: 19
hi: 22
op: Lt
span:
lo: 13
hi: 22
op: Eq
span:
lo: 0
hi: 22
- Binary:
left:
Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: Lt
span:
lo: 0
hi: 9
right:
Binary:
left:
Literal:
Integer:
- U8
- "3"
- span:
lo: 13
hi: 16
right:
Literal:
Integer:
- U8
- "4"
- span:
lo: 19
hi: 22
op: Lt
span:
lo: 13
hi: 22
op: Eq
span:
lo: 0
hi: 22
right:
Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "3"
- span:
lo: 26
hi: 29
right:
Literal:
Integer:
- U8
- "4"
- span:
lo: 32
hi: 35
op: Lt
span:
lo: 26
hi: 35
right:
Binary:
left:
Literal:
Integer:
- U8
- "5"
- span:
lo: 39
hi: 42
right:
Literal:
Integer:
- U8
- "6"
- span:
lo: 45
hi: 48
op: Lt
span:
lo: 39
hi: 48
op: Eq
span:
lo: 26
hi: 48
op: And
span:
lo: 0
hi: 48
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Eq
span:
lo: 2
hi: 9
op: Negate
span:
lo: 1
hi: 9
op: Not
span:
lo: 0
hi: 9
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}"
op: Eq
span:
lo: 0
hi: 7
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}"
op: Eq
span:
lo: 0
hi: 13
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
op: Eq
span:
lo: 0
hi: 19
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: Eq
span:
lo: 1
hi: 8
op: Negate
span:
lo: 0
hi: 8
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Eq
span:
lo: 1
hi: 10
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Eq
span:
lo: 2
hi: 9
op: Negate
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Eq
span:
lo: 2
hi: 9
op: Negate
span:
lo: 1
hi: 9
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}"
op: Eq
span:
lo: 1
hi: 16
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: Eq
span:
lo: 1
hi: 8
op: Not
span:
lo: 0
hi: 8
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Eq
span:
lo: 1
hi: 10
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Eq
span:
lo: 2
hi: 9
op: Not
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Eq
span:
lo: 2
hi: 9
op: Not
span:
lo: 1
hi: 9
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}"
op: Eq
span:
lo: 1
hi: 16
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: Eq
span:
lo: 1
hi: 8
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
op: Eq
span:
lo: 12
hi: 19
op: Eq
span:
lo: 1
hi: 19
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":24,\\\"hi\\\":25}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":29,\\\"hi\\\":30}\"}"
op: Eq
span:
lo: 24
hi: 31
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":35,\\\"hi\\\":36}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":40,\\\"hi\\\":41}\"}"
op: Eq
span:
lo: 35
hi: 42
op: Eq
span:
lo: 24
hi: 42
op: Eq
span:
lo: 1
hi: 43

View File

@ -0,0 +1,5 @@
---
namespace: ParseExpression
expectation: Fail
outputs:
- "Error [EPAR0370017]: Could not parse the implicit value: 1.\n --> test:1:1\n |\n 1 | 1 == 2 == 3\n | ^"

View File

@ -0,0 +1,334 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "1"
- span:
lo: 7
hi: 10
op: Gte
span:
lo: 0
hi: 10
- Binary:
left:
Literal:
Integer:
- U8
- "2"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 7
hi: 10
op: Gte
span:
lo: 0
hi: 10
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: Add
span:
lo: 0
hi: 9
right:
Binary:
left:
Literal:
Integer:
- U8
- "3"
- span:
lo: 13
hi: 16
right:
Literal:
Integer:
- U8
- "4"
- span:
lo: 19
hi: 22
op: Add
span:
lo: 13
hi: 22
op: Gte
span:
lo: 0
hi: 22
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Gte
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: Gte
span:
lo: 0
hi: 8
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
op: Gte
span:
lo: 0
hi: 15
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}"
op: Gte
span:
lo: 0
hi: 22
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Gte
span:
lo: 1
hi: 9
op: Negate
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Gte
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Gte
span:
lo: 2
hi: 10
op: Negate
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Gte
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Gte
span:
lo: 1
hi: 18
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Gte
span:
lo: 1
hi: 9
op: Not
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Gte
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Gte
span:
lo: 2
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Gte
span:
lo: 2
hi: 10
op: Not
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Gte
span:
lo: 1
hi: 18
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Gte
span:
lo: 1
hi: 9
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":19,\\\"hi\\\":20}\"}"
op: Gte
span:
lo: 13
hi: 21
op: Gte
span:
lo: 1
hi: 21
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":27,\\\"hi\\\":28}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":34}\"}"
op: Gte
span:
lo: 27
hi: 35
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":45,\\\"hi\\\":46}\"}"
op: Gte
span:
lo: 39
hi: 47
op: Gte
span:
lo: 27
hi: 47
op: Gte
span:
lo: 1
hi: 48

View File

@ -0,0 +1,7 @@
---
namespace: ParseExpression
expectation: Fail
outputs:
- "did not consume all input: '>=' @ 1:12-14\n'3' @ 1:15-16\n'u8' @ 1:16-18\n"
- "did not consume all input: '>=' @ 1:12-14\n'3' @ 1:15-16\n'u8' @ 1:16-18\n"
- "did not consume all input: '>=' @ 1:24-26\n'5' @ 1:27-28\n'u8' @ 1:28-30\n'+' @ 1:31-32\n'6' @ 1:33-34\n'u8' @ 1:34-36\n"

View File

@ -0,0 +1,334 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "1"
- span:
lo: 6
hi: 9
op: Gt
span:
lo: 0
hi: 9
- Binary:
left:
Literal:
Integer:
- U8
- "2"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 4
hi: 7
op: Gt
span:
lo: 0
hi: 7
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: Add
span:
lo: 0
hi: 9
right:
Binary:
left:
Literal:
Integer:
- U8
- "3"
- span:
lo: 12
hi: 15
right:
Literal:
Integer:
- U8
- "4"
- span:
lo: 18
hi: 21
op: Add
span:
lo: 12
hi: 21
op: Gt
span:
lo: 0
hi: 21
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Gt
span:
lo: 2
hi: 9
op: Negate
span:
lo: 1
hi: 9
op: Not
span:
lo: 0
hi: 9
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}"
op: Gt
span:
lo: 0
hi: 7
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}"
op: Gt
span:
lo: 0
hi: 13
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
op: Gt
span:
lo: 0
hi: 19
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: Gt
span:
lo: 1
hi: 8
op: Negate
span:
lo: 0
hi: 8
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Gt
span:
lo: 1
hi: 10
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Gt
span:
lo: 2
hi: 9
op: Negate
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Gt
span:
lo: 2
hi: 9
op: Negate
span:
lo: 1
hi: 9
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}"
op: Gt
span:
lo: 1
hi: 16
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: Gt
span:
lo: 1
hi: 8
op: Not
span:
lo: 0
hi: 8
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Gt
span:
lo: 1
hi: 10
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Gt
span:
lo: 2
hi: 9
op: Not
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Gt
span:
lo: 2
hi: 9
op: Not
span:
lo: 1
hi: 9
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}"
op: Gt
span:
lo: 1
hi: 16
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: Gt
span:
lo: 1
hi: 8
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Gt
span:
lo: 11
hi: 18
op: Gt
span:
lo: 1
hi: 18
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":23,\\\"hi\\\":24}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":28,\\\"hi\\\":29}\"}"
op: Gt
span:
lo: 23
hi: 30
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":34}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":38,\\\"hi\\\":39}\"}"
op: Gt
span:
lo: 33
hi: 40
op: Gt
span:
lo: 23
hi: 40
op: Gt
span:
lo: 1
hi: 41

View File

@ -0,0 +1,7 @@
---
namespace: ParseExpression
expectation: Fail
outputs:
- "did not consume all input: '>' @ 1:11-12\n'3' @ 1:13-14\n'u8' @ 1:14-16\n"
- "did not consume all input: '>' @ 1:11-12\n'3' @ 1:13-14\n'u8' @ 1:14-16\n"
- "did not consume all input: '>' @ 1:23-24\n'5' @ 1:25-26\n'u8' @ 1:26-28\n'+' @ 1:29-30\n'6' @ 1:31-32\n'u8' @ 1:32-34\n"

View File

@ -0,0 +1,334 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "1"
- span:
lo: 7
hi: 10
op: Lte
span:
lo: 0
hi: 10
- Binary:
left:
Literal:
Integer:
- U8
- "2"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 7
hi: 10
op: Lte
span:
lo: 0
hi: 10
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: Add
span:
lo: 0
hi: 9
right:
Binary:
left:
Literal:
Integer:
- U8
- "3"
- span:
lo: 13
hi: 16
right:
Literal:
Integer:
- U8
- "4"
- span:
lo: 19
hi: 22
op: Add
span:
lo: 13
hi: 22
op: Lte
span:
lo: 0
hi: 22
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Lte
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: Lte
span:
lo: 0
hi: 8
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
op: Lte
span:
lo: 0
hi: 15
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}"
op: Lte
span:
lo: 0
hi: 22
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Lte
span:
lo: 1
hi: 9
op: Negate
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Lte
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Lte
span:
lo: 2
hi: 10
op: Negate
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Lte
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Lte
span:
lo: 1
hi: 18
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Lte
span:
lo: 1
hi: 9
op: Not
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Lte
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Lte
span:
lo: 2
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Lte
span:
lo: 2
hi: 10
op: Not
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Lte
span:
lo: 1
hi: 18
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Lte
span:
lo: 1
hi: 9
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":19,\\\"hi\\\":20}\"}"
op: Lte
span:
lo: 13
hi: 21
op: Lte
span:
lo: 1
hi: 21
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":27,\\\"hi\\\":28}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":34}\"}"
op: Lte
span:
lo: 27
hi: 35
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":45,\\\"hi\\\":46}\"}"
op: Lte
span:
lo: 39
hi: 47
op: Lte
span:
lo: 27
hi: 47
op: Lte
span:
lo: 1
hi: 48

View File

@ -0,0 +1,7 @@
---
namespace: ParseExpression
expectation: Fail
outputs:
- "did not consume all input: '<=' @ 1:12-14\n'3' @ 1:15-16\n'u8' @ 1:16-18\n"
- "did not consume all input: '<=' @ 1:12-14\n'3' @ 1:15-16\n'u8' @ 1:16-18\n"
- "did not consume all input: '<=' @ 1:24-26\n'5' @ 1:27-28\n'u8' @ 1:28-30\n'+' @ 1:31-32\n'6' @ 1:33-34\n'u8' @ 1:34-36\n"

View File

@ -0,0 +1,334 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "1"
- span:
lo: 6
hi: 9
op: Lt
span:
lo: 0
hi: 9
- Binary:
left:
Literal:
Integer:
- U8
- "2"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 4
hi: 7
op: Lt
span:
lo: 0
hi: 7
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: Add
span:
lo: 0
hi: 9
right:
Binary:
left:
Literal:
Integer:
- U8
- "3"
- span:
lo: 12
hi: 15
right:
Literal:
Integer:
- U8
- "4"
- span:
lo: 18
hi: 21
op: Add
span:
lo: 12
hi: 21
op: Lt
span:
lo: 0
hi: 21
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Lt
span:
lo: 2
hi: 9
op: Negate
span:
lo: 1
hi: 9
op: Not
span:
lo: 0
hi: 9
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}"
op: Lt
span:
lo: 0
hi: 7
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}"
op: Lt
span:
lo: 0
hi: 13
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
op: Lt
span:
lo: 0
hi: 19
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: Lt
span:
lo: 1
hi: 8
op: Negate
span:
lo: 0
hi: 8
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Lt
span:
lo: 1
hi: 10
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Lt
span:
lo: 2
hi: 9
op: Negate
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Lt
span:
lo: 2
hi: 9
op: Negate
span:
lo: 1
hi: 9
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}"
op: Lt
span:
lo: 1
hi: 16
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: Lt
span:
lo: 1
hi: 8
op: Not
span:
lo: 0
hi: 8
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Lt
span:
lo: 1
hi: 10
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Lt
span:
lo: 2
hi: 9
op: Not
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Lt
span:
lo: 2
hi: 9
op: Not
span:
lo: 1
hi: 9
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}"
op: Lt
span:
lo: 1
hi: 16
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: Lt
span:
lo: 1
hi: 8
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Lt
span:
lo: 11
hi: 18
op: Lt
span:
lo: 1
hi: 18
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":23,\\\"hi\\\":24}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":28,\\\"hi\\\":29}\"}"
op: Lt
span:
lo: 23
hi: 30
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":34}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":38,\\\"hi\\\":39}\"}"
op: Lt
span:
lo: 33
hi: 40
op: Lt
span:
lo: 23
hi: 40
op: Lt
span:
lo: 1
hi: 41

View File

@ -0,0 +1,7 @@
---
namespace: ParseExpression
expectation: Fail
outputs:
- "did not consume all input: '<' @ 1:11-12\n'3' @ 1:13-14\n'u8' @ 1:14-16\n"
- "did not consume all input: '<' @ 1:11-12\n'3' @ 1:13-14\n'u8' @ 1:14-16\n"
- "did not consume all input: '<' @ 1:23-24\n'5' @ 1:25-26\n'u8' @ 1:26-28\n'+' @ 1:29-30\n'6' @ 1:31-32\n'u8' @ 1:32-34\n"

View File

@ -0,0 +1,243 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Mod
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: Mod
span:
lo: 0
hi: 8
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
op: Mod
span:
lo: 0
hi: 15
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}"
op: Mod
span:
lo: 0
hi: 22
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Mod
span:
lo: 1
hi: 9
op: Negate
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Mod
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Mod
span:
lo: 2
hi: 10
op: Negate
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Mod
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Mod
span:
lo: 1
hi: 18
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Mod
span:
lo: 1
hi: 9
op: Not
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Mod
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Mod
span:
lo: 2
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Mod
span:
lo: 2
hi: 10
op: Not
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Mod
span:
lo: 1
hi: 18
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Mod
span:
lo: 1
hi: 9
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":19}\"}"
op: Mod
span:
lo: 12
hi: 20
op: Div
span:
lo: 1
hi: 20
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":26,\\\"hi\\\":27}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: Mod
span:
lo: 26
hi: 34
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":37,\\\"hi\\\":38}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":43,\\\"hi\\\":44}\"}"
op: Mod
span:
lo: 37
hi: 45
op: Div
span:
lo: 26
hi: 45
op: Mod
span:
lo: 1
hi: 46

View File

@ -0,0 +1,446 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "1"
- span:
lo: 6
hi: 9
op: Mul
span:
lo: 0
hi: 9
- Binary:
left:
Literal:
Integer:
- U8
- "2"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 4
hi: 7
op: Mul
span:
lo: 0
hi: 7
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: Mul
span:
lo: 0
hi: 9
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 12
hi: 15
op: Mul
span:
lo: 0
hi: 15
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 7
hi: 10
op: Pow
span:
lo: 0
hi: 10
right:
Binary:
left:
Literal:
Integer:
- U8
- "3"
- span:
lo: 13
hi: 16
right:
Literal:
Integer:
- U8
- "4"
- span:
lo: 20
hi: 23
op: Pow
span:
lo: 13
hi: 23
op: Mul
span:
lo: 0
hi: 23
- Binary:
left:
Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 7
hi: 10
op: Pow
span:
lo: 0
hi: 10
right:
Binary:
left:
Literal:
Integer:
- U8
- "3"
- span:
lo: 13
hi: 16
right:
Literal:
Integer:
- U8
- "4"
- span:
lo: 20
hi: 23
op: Pow
span:
lo: 13
hi: 23
op: Mul
span:
lo: 0
hi: 23
right:
Binary:
left:
Literal:
Integer:
- U8
- "5"
- span:
lo: 26
hi: 29
right:
Literal:
Integer:
- U8
- "6"
- span:
lo: 33
hi: 36
op: Pow
span:
lo: 26
hi: 36
op: Div
span:
lo: 0
hi: 36
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Mul
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: Mul
span:
lo: 0
hi: 8
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
op: Mul
span:
lo: 0
hi: 15
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}"
op: Mul
span:
lo: 0
hi: 22
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Mul
span:
lo: 1
hi: 9
op: Negate
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Mul
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Mul
span:
lo: 2
hi: 10
op: Negate
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Mul
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Mul
span:
lo: 1
hi: 18
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Mul
span:
lo: 1
hi: 9
op: Not
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Mul
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Mul
span:
lo: 2
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Mul
span:
lo: 2
hi: 10
op: Not
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Mul
span:
lo: 1
hi: 18
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Mul
span:
lo: 1
hi: 9
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":19}\"}"
op: Mul
span:
lo: 12
hi: 20
op: Mul
span:
lo: 1
hi: 20
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":26,\\\"hi\\\":27}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: Mul
span:
lo: 26
hi: 34
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":37,\\\"hi\\\":38}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":43,\\\"hi\\\":44}\"}"
op: Mul
span:
lo: 37
hi: 45
op: Mul
span:
lo: 26
hi: 45
op: Mul
span:
lo: 1
hi: 46

View File

@ -0,0 +1,243 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: MulWrapped
span:
lo: 2
hi: 18
op: Negate
span:
lo: 1
hi: 18
op: Not
span:
lo: 0
hi: 18
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}"
op: MulWrapped
span:
lo: 0
hi: 16
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":29,\\\"hi\\\":30}\"}"
op: MulWrapped
span:
lo: 0
hi: 31
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":44,\\\"hi\\\":45}\"}"
op: MulWrapped
span:
lo: 0
hi: 46
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
op: MulWrapped
span:
lo: 1
hi: 17
op: Negate
span:
lo: 0
hi: 17
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
op: MulWrapped
span:
lo: 1
hi: 19
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: MulWrapped
span:
lo: 2
hi: 18
op: Negate
span:
lo: 0
hi: 18
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: MulWrapped
span:
lo: 2
hi: 18
op: Negate
span:
lo: 1
hi: 18
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: MulWrapped
span:
lo: 1
hi: 34
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
op: MulWrapped
span:
lo: 1
hi: 17
op: Not
span:
lo: 0
hi: 17
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
op: MulWrapped
span:
lo: 1
hi: 19
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: MulWrapped
span:
lo: 2
hi: 18
op: Not
span:
lo: 0
hi: 18
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: MulWrapped
span:
lo: 2
hi: 18
op: Not
span:
lo: 1
hi: 18
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: MulWrapped
span:
lo: 1
hi: 34
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
op: MulWrapped
span:
lo: 1
hi: 17
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":34,\\\"hi\\\":35}\"}"
op: MulWrapped
span:
lo: 20
hi: 36
op: Mul
span:
lo: 1
hi: 36
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":50,\\\"hi\\\":51}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":64,\\\"hi\\\":65}\"}"
op: MulWrapped
span:
lo: 50
hi: 66
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":69,\\\"hi\\\":70}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":83,\\\"hi\\\":84}\"}"
op: MulWrapped
span:
lo: 69
hi: 85
op: Mul
span:
lo: 50
hi: 85
op: MulWrapped
span:
lo: 1
hi: 86

View File

@ -0,0 +1,243 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Nand
span:
lo: 2
hi: 11
op: Negate
span:
lo: 1
hi: 11
op: Not
span:
lo: 0
hi: 11
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Nand
span:
lo: 0
hi: 9
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
op: Nand
span:
lo: 0
hi: 17
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":23,\\\"hi\\\":24}\"}"
op: Nand
span:
lo: 0
hi: 25
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Nand
span:
lo: 1
hi: 10
op: Negate
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":11}\"}"
op: Nand
span:
lo: 1
hi: 12
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Nand
span:
lo: 2
hi: 11
op: Negate
span:
lo: 0
hi: 11
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Nand
span:
lo: 2
hi: 11
op: Negate
span:
lo: 1
hi: 11
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":19}\"}"
op: Nand
span:
lo: 1
hi: 20
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Nand
span:
lo: 1
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":11}\"}"
op: Nand
span:
lo: 1
hi: 12
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Nand
span:
lo: 2
hi: 11
op: Not
span:
lo: 0
hi: 11
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Nand
span:
lo: 2
hi: 11
op: Not
span:
lo: 1
hi: 11
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":19}\"}"
op: Nand
span:
lo: 1
hi: 20
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Nand
span:
lo: 1
hi: 10
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}"
op: Nand
span:
lo: 13
hi: 22
op: BitwiseAnd
span:
lo: 1
hi: 22
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":29,\\\"hi\\\":30}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":36,\\\"hi\\\":37}\"}"
op: Nand
span:
lo: 29
hi: 38
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":41,\\\"hi\\\":42}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":48,\\\"hi\\\":49}\"}"
op: Nand
span:
lo: 41
hi: 50
op: BitwiseAnd
span:
lo: 29
hi: 50
op: Nand
span:
lo: 1
hi: 51

View File

@ -0,0 +1,439 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "1"
- span:
lo: 7
hi: 10
op: Neq
span:
lo: 0
hi: 10
- Binary:
left:
Literal:
Integer:
- U8
- "2"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 5
hi: 8
op: Neq
span:
lo: 0
hi: 8
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: Lt
span:
lo: 0
hi: 9
right:
Binary:
left:
Literal:
Integer:
- U8
- "3"
- span:
lo: 13
hi: 16
right:
Literal:
Integer:
- U8
- "4"
- span:
lo: 19
hi: 22
op: Lt
span:
lo: 13
hi: 22
op: Neq
span:
lo: 0
hi: 22
- Binary:
left:
Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: Lt
span:
lo: 0
hi: 9
right:
Binary:
left:
Literal:
Integer:
- U8
- "3"
- span:
lo: 13
hi: 16
right:
Literal:
Integer:
- U8
- "4"
- span:
lo: 19
hi: 22
op: Lt
span:
lo: 13
hi: 22
op: Neq
span:
lo: 0
hi: 22
right:
Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "3"
- span:
lo: 26
hi: 29
right:
Literal:
Integer:
- U8
- "4"
- span:
lo: 32
hi: 35
op: Lt
span:
lo: 26
hi: 35
right:
Binary:
left:
Literal:
Integer:
- U8
- "5"
- span:
lo: 39
hi: 42
right:
Literal:
Integer:
- U8
- "6"
- span:
lo: 45
hi: 48
op: Lt
span:
lo: 39
hi: 48
op: Neq
span:
lo: 26
hi: 48
op: Or
span:
lo: 0
hi: 48
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Neq
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: Neq
span:
lo: 0
hi: 8
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
op: Neq
span:
lo: 0
hi: 15
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}"
op: Neq
span:
lo: 0
hi: 22
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Neq
span:
lo: 1
hi: 9
op: Negate
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Neq
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Neq
span:
lo: 2
hi: 10
op: Negate
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Neq
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Neq
span:
lo: 1
hi: 18
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Neq
span:
lo: 1
hi: 9
op: Not
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Neq
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Neq
span:
lo: 2
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Neq
span:
lo: 2
hi: 10
op: Not
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Neq
span:
lo: 1
hi: 18
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Neq
span:
lo: 1
hi: 9
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":19,\\\"hi\\\":20}\"}"
op: Neq
span:
lo: 13
hi: 21
op: Neq
span:
lo: 1
hi: 21
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":27,\\\"hi\\\":28}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":34}\"}"
op: Neq
span:
lo: 27
hi: 35
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":45,\\\"hi\\\":46}\"}"
op: Neq
span:
lo: 39
hi: 47
op: Neq
span:
lo: 27
hi: 47
op: Neq
span:
lo: 1
hi: 48

View File

@ -0,0 +1,5 @@
---
namespace: ParseExpression
expectation: Fail
outputs:
- "Error [EPAR0370017]: Could not parse the implicit value: 1.\n --> test:1:1\n |\n 1 | 1 != 2 != 3\n | ^"

View File

@ -0,0 +1,243 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Nor
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: Nor
span:
lo: 0
hi: 8
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
op: Nor
span:
lo: 0
hi: 15
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}"
op: Nor
span:
lo: 0
hi: 22
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Nor
span:
lo: 1
hi: 9
op: Negate
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Nor
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Nor
span:
lo: 2
hi: 10
op: Negate
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Nor
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Nor
span:
lo: 1
hi: 18
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Nor
span:
lo: 1
hi: 9
op: Not
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Nor
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Nor
span:
lo: 2
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Nor
span:
lo: 2
hi: 10
op: Not
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Nor
span:
lo: 1
hi: 18
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Nor
span:
lo: 1
hi: 9
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":19,\\\"hi\\\":20}\"}"
op: Nor
span:
lo: 13
hi: 21
op: Neq
span:
lo: 1
hi: 21
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":27,\\\"hi\\\":28}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":34}\"}"
op: Nor
span:
lo: 27
hi: 35
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":45,\\\"hi\\\":46}\"}"
op: Nor
span:
lo: 39
hi: 47
op: Neq
span:
lo: 27
hi: 47
op: Nor
span:
lo: 1
hi: 48

View File

@ -0,0 +1,164 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Binary:
left:
Literal:
Boolean:
- true
- span:
lo: 0
hi: 4
right:
Literal:
Boolean:
- true
- span:
lo: 8
hi: 12
op: Or
span:
lo: 0
hi: 12
- Binary:
left:
Literal:
Boolean:
- false
- span:
lo: 0
hi: 5
right:
Literal:
Boolean:
- true
- span:
lo: 7
hi: 11
op: Or
span:
lo: 0
hi: 11
- Binary:
left:
Binary:
left:
Literal:
Boolean:
- true
- span:
lo: 0
hi: 4
right:
Literal:
Boolean:
- false
- span:
lo: 6
hi: 11
op: Or
span:
lo: 0
hi: 11
right:
Literal:
Boolean:
- false
- span:
lo: 15
hi: 20
op: Or
span:
lo: 0
hi: 20
- Binary:
left:
Binary:
left:
Binary:
left:
Literal:
Boolean:
- true
- span:
lo: 0
hi: 4
right:
Literal:
Boolean:
- false
- span:
lo: 8
hi: 13
op: Or
span:
lo: 0
hi: 13
right:
Literal:
Boolean:
- true
- span:
lo: 17
hi: 21
op: Or
span:
lo: 0
hi: 21
right:
Literal:
Boolean:
- false
- span:
lo: 25
hi: 30
op: Or
span:
lo: 0
hi: 30
- Binary:
left:
Binary:
left:
Literal:
Boolean:
- true
- span:
lo: 0
hi: 4
right:
Binary:
left:
Literal:
Boolean:
- true
- span:
lo: 9
hi: 13
right:
Literal:
Boolean:
- false
- span:
lo: 17
hi: 22
op: Or
span:
lo: 9
hi: 22
op: Or
span:
lo: 0
hi: 22
right:
Literal:
Boolean:
- true
- span:
lo: 27
hi: 31
op: Or
span:
lo: 0
hi: 31

View File

@ -0,0 +1,320 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "1"
- span:
lo: 7
hi: 10
op: Pow
span:
lo: 0
hi: 10
- Binary:
left:
Literal:
Integer:
- U8
- "2"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 5
hi: 8
op: Pow
span:
lo: 0
hi: 8
- Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Binary:
left:
Literal:
Integer:
- U8
- "2"
- span:
lo: 7
hi: 10
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 14
hi: 17
op: Pow
span:
lo: 7
hi: 17
op: Pow
span:
lo: 0
hi: 17
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Pow
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: Pow
span:
lo: 0
hi: 8
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
op: Pow
span:
lo: 0
hi: 15
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}"
op: Pow
span:
lo: 0
hi: 22
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Pow
span:
lo: 1
hi: 9
op: Negate
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Pow
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Pow
span:
lo: 2
hi: 10
op: Negate
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Pow
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Pow
span:
lo: 1
hi: 18
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Pow
span:
lo: 1
hi: 9
op: Not
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Pow
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Pow
span:
lo: 2
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Pow
span:
lo: 2
hi: 10
op: Not
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Pow
span:
lo: 1
hi: 18
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Pow
span:
lo: 1
hi: 9
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":19,\\\"hi\\\":20}\"}"
op: Pow
span:
lo: 13
hi: 21
op: Pow
span:
lo: 1
hi: 21
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":27,\\\"hi\\\":28}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":34}\"}"
op: Pow
span:
lo: 27
hi: 35
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":45,\\\"hi\\\":46}\"}"
op: Pow
span:
lo: 39
hi: 47
op: Pow
span:
lo: 27
hi: 47
op: Pow
span:
lo: 1
hi: 48

View File

@ -0,0 +1,243 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: PowWrapped
span:
lo: 2
hi: 18
op: Negate
span:
lo: 1
hi: 18
op: Not
span:
lo: 0
hi: 18
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}"
op: PowWrapped
span:
lo: 0
hi: 16
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":29,\\\"hi\\\":30}\"}"
op: PowWrapped
span:
lo: 0
hi: 31
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":44,\\\"hi\\\":45}\"}"
op: PowWrapped
span:
lo: 0
hi: 46
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
op: PowWrapped
span:
lo: 1
hi: 17
op: Negate
span:
lo: 0
hi: 17
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
op: PowWrapped
span:
lo: 1
hi: 19
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: PowWrapped
span:
lo: 2
hi: 18
op: Negate
span:
lo: 0
hi: 18
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: PowWrapped
span:
lo: 2
hi: 18
op: Negate
span:
lo: 1
hi: 18
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: PowWrapped
span:
lo: 1
hi: 34
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
op: PowWrapped
span:
lo: 1
hi: 17
op: Not
span:
lo: 0
hi: 17
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
op: PowWrapped
span:
lo: 1
hi: 19
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: PowWrapped
span:
lo: 2
hi: 18
op: Not
span:
lo: 0
hi: 18
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: PowWrapped
span:
lo: 2
hi: 18
op: Not
span:
lo: 1
hi: 18
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: PowWrapped
span:
lo: 1
hi: 34
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
op: PowWrapped
span:
lo: 1
hi: 17
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":21,\\\"hi\\\":22}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":35,\\\"hi\\\":36}\"}"
op: PowWrapped
span:
lo: 21
hi: 37
op: Pow
span:
lo: 1
hi: 37
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":51,\\\"hi\\\":52}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":65,\\\"hi\\\":66}\"}"
op: PowWrapped
span:
lo: 51
hi: 67
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":71,\\\"hi\\\":72}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":85,\\\"hi\\\":86}\"}"
op: PowWrapped
span:
lo: 71
hi: 87
op: Pow
span:
lo: 51
hi: 87
op: PowWrapped
span:
lo: 1
hi: 88

View File

@ -0,0 +1,369 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "1"
- span:
lo: 6
hi: 9
op: Rem
span:
lo: 0
hi: 9
- Binary:
left:
Literal:
Integer:
- U8
- "2"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 4
hi: 7
op: Rem
span:
lo: 0
hi: 7
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: Rem
span:
lo: 0
hi: 9
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 12
hi: 15
op: Rem
span:
lo: 0
hi: 15
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 7
hi: 10
op: Pow
span:
lo: 0
hi: 10
right:
Binary:
left:
Literal:
Integer:
- U8
- "3"
- span:
lo: 13
hi: 16
right:
Literal:
Integer:
- U8
- "4"
- span:
lo: 20
hi: 23
op: Pow
span:
lo: 13
hi: 23
op: Rem
span:
lo: 0
hi: 23
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Rem
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: Rem
span:
lo: 0
hi: 8
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
op: Rem
span:
lo: 0
hi: 15
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}"
op: Rem
span:
lo: 0
hi: 22
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Rem
span:
lo: 1
hi: 9
op: Negate
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Rem
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Rem
span:
lo: 2
hi: 10
op: Negate
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Rem
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Rem
span:
lo: 1
hi: 18
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Rem
span:
lo: 1
hi: 9
op: Not
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Rem
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Rem
span:
lo: 2
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Rem
span:
lo: 2
hi: 10
op: Not
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Rem
span:
lo: 1
hi: 18
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Rem
span:
lo: 1
hi: 9
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":19}\"}"
op: Rem
span:
lo: 12
hi: 20
op: Rem
span:
lo: 1
hi: 20
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":26,\\\"hi\\\":27}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: Rem
span:
lo: 26
hi: 34
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":37,\\\"hi\\\":38}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":43,\\\"hi\\\":44}\"}"
op: Rem
span:
lo: 37
hi: 45
op: Rem
span:
lo: 26
hi: 45
op: Rem
span:
lo: 1
hi: 46

View File

@ -0,0 +1,243 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: RemWrapped
span:
lo: 2
hi: 18
op: Negate
span:
lo: 1
hi: 18
op: Not
span:
lo: 0
hi: 18
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}"
op: RemWrapped
span:
lo: 0
hi: 16
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":29,\\\"hi\\\":30}\"}"
op: RemWrapped
span:
lo: 0
hi: 31
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":44,\\\"hi\\\":45}\"}"
op: RemWrapped
span:
lo: 0
hi: 46
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
op: RemWrapped
span:
lo: 1
hi: 17
op: Negate
span:
lo: 0
hi: 17
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
op: RemWrapped
span:
lo: 1
hi: 19
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: RemWrapped
span:
lo: 2
hi: 18
op: Negate
span:
lo: 0
hi: 18
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: RemWrapped
span:
lo: 2
hi: 18
op: Negate
span:
lo: 1
hi: 18
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: RemWrapped
span:
lo: 1
hi: 34
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
op: RemWrapped
span:
lo: 1
hi: 17
op: Not
span:
lo: 0
hi: 17
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
op: RemWrapped
span:
lo: 1
hi: 19
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: RemWrapped
span:
lo: 2
hi: 18
op: Not
span:
lo: 0
hi: 18
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: RemWrapped
span:
lo: 2
hi: 18
op: Not
span:
lo: 1
hi: 18
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: RemWrapped
span:
lo: 1
hi: 34
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
op: RemWrapped
span:
lo: 1
hi: 17
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":34,\\\"hi\\\":35}\"}"
op: RemWrapped
span:
lo: 20
hi: 36
op: Div
span:
lo: 1
hi: 36
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":50,\\\"hi\\\":51}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":64,\\\"hi\\\":65}\"}"
op: RemWrapped
span:
lo: 50
hi: 66
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":69,\\\"hi\\\":70}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":83,\\\"hi\\\":84}\"}"
op: RemWrapped
span:
lo: 69
hi: 85
op: Div
span:
lo: 50
hi: 85
op: RemWrapped
span:
lo: 1
hi: 86

View File

@ -0,0 +1,481 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "1"
- span:
lo: 7
hi: 10
op: Shl
span:
lo: 0
hi: 10
- Binary:
left:
Literal:
Integer:
- U8
- "2"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 5
hi: 8
op: Shl
span:
lo: 0
hi: 8
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 7
hi: 10
op: Shl
span:
lo: 0
hi: 10
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 14
hi: 17
op: Shl
span:
lo: 0
hi: 17
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: Add
span:
lo: 0
hi: 9
right:
Binary:
left:
Literal:
Integer:
- U8
- "3"
- span:
lo: 13
hi: 16
right:
Literal:
Integer:
- U8
- "4"
- span:
lo: 19
hi: 22
op: Add
span:
lo: 13
hi: 22
op: Shl
span:
lo: 0
hi: 22
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 7
hi: 10
op: Shl
span:
lo: 0
hi: 10
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 14
hi: 17
op: Shl
span:
lo: 0
hi: 17
- Binary:
left:
Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: Add
span:
lo: 0
hi: 9
right:
Binary:
left:
Literal:
Integer:
- U8
- "3"
- span:
lo: 13
hi: 16
right:
Literal:
Integer:
- U8
- "4"
- span:
lo: 19
hi: 22
op: Add
span:
lo: 13
hi: 22
op: Shl
span:
lo: 0
hi: 22
right:
Binary:
left:
Literal:
Integer:
- U8
- "5"
- span:
lo: 26
hi: 29
right:
Literal:
Integer:
- U8
- "6"
- span:
lo: 32
hi: 35
op: Add
span:
lo: 26
hi: 35
op: Shl
span:
lo: 0
hi: 35
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Shl
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: Shl
span:
lo: 0
hi: 8
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
op: Shl
span:
lo: 0
hi: 15
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}"
op: Shl
span:
lo: 0
hi: 22
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Shl
span:
lo: 1
hi: 9
op: Negate
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Shl
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Shl
span:
lo: 2
hi: 10
op: Negate
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Shl
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Shl
span:
lo: 1
hi: 18
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Shl
span:
lo: 1
hi: 9
op: Not
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Shl
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Shl
span:
lo: 2
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Shl
span:
lo: 2
hi: 10
op: Not
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Shl
span:
lo: 1
hi: 18
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Shl
span:
lo: 1
hi: 9
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":19,\\\"hi\\\":20}\"}"
op: Shl
span:
lo: 13
hi: 21
op: Shl
span:
lo: 1
hi: 21
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":27,\\\"hi\\\":28}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":34}\"}"
op: Shl
span:
lo: 27
hi: 35
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":45,\\\"hi\\\":46}\"}"
op: Shl
span:
lo: 39
hi: 47
op: Shl
span:
lo: 27
hi: 47
op: Shl
span:
lo: 1
hi: 48

View File

@ -0,0 +1,243 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: ShlWrapped
span:
lo: 2
hi: 18
op: Negate
span:
lo: 1
hi: 18
op: Not
span:
lo: 0
hi: 18
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}"
op: ShlWrapped
span:
lo: 0
hi: 16
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":29,\\\"hi\\\":30}\"}"
op: ShlWrapped
span:
lo: 0
hi: 31
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":44,\\\"hi\\\":45}\"}"
op: ShlWrapped
span:
lo: 0
hi: 46
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
op: ShlWrapped
span:
lo: 1
hi: 17
op: Negate
span:
lo: 0
hi: 17
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
op: ShlWrapped
span:
lo: 1
hi: 19
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: ShlWrapped
span:
lo: 2
hi: 18
op: Negate
span:
lo: 0
hi: 18
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: ShlWrapped
span:
lo: 2
hi: 18
op: Negate
span:
lo: 1
hi: 18
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: ShlWrapped
span:
lo: 1
hi: 34
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
op: ShlWrapped
span:
lo: 1
hi: 17
op: Not
span:
lo: 0
hi: 17
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
op: ShlWrapped
span:
lo: 1
hi: 19
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: ShlWrapped
span:
lo: 2
hi: 18
op: Not
span:
lo: 0
hi: 18
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: ShlWrapped
span:
lo: 2
hi: 18
op: Not
span:
lo: 1
hi: 18
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: ShlWrapped
span:
lo: 1
hi: 34
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
op: ShlWrapped
span:
lo: 1
hi: 17
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":21,\\\"hi\\\":22}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":35,\\\"hi\\\":36}\"}"
op: ShlWrapped
span:
lo: 21
hi: 37
op: Shl
span:
lo: 1
hi: 37
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":51,\\\"hi\\\":52}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":65,\\\"hi\\\":66}\"}"
op: ShlWrapped
span:
lo: 51
hi: 67
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":71,\\\"hi\\\":72}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":85,\\\"hi\\\":86}\"}"
op: ShlWrapped
span:
lo: 71
hi: 87
op: Shl
span:
lo: 51
hi: 87
op: ShlWrapped
span:
lo: 1
hi: 88

View File

@ -0,0 +1,481 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "1"
- span:
lo: 7
hi: 10
op: Shr
span:
lo: 0
hi: 10
- Binary:
left:
Literal:
Integer:
- U8
- "2"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 5
hi: 8
op: Shr
span:
lo: 0
hi: 8
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 7
hi: 10
op: Shr
span:
lo: 0
hi: 10
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 14
hi: 17
op: Shr
span:
lo: 0
hi: 17
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: Add
span:
lo: 0
hi: 9
right:
Binary:
left:
Literal:
Integer:
- U8
- "3"
- span:
lo: 13
hi: 16
right:
Literal:
Integer:
- U8
- "4"
- span:
lo: 19
hi: 22
op: Add
span:
lo: 13
hi: 22
op: Shr
span:
lo: 0
hi: 22
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 7
hi: 10
op: Shr
span:
lo: 0
hi: 10
right:
Literal:
Integer:
- U8
- "3"
- span:
lo: 14
hi: 17
op: Shr
span:
lo: 0
hi: 17
- Binary:
left:
Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "2"
- span:
lo: 6
hi: 9
op: Add
span:
lo: 0
hi: 9
right:
Binary:
left:
Literal:
Integer:
- U8
- "3"
- span:
lo: 13
hi: 16
right:
Literal:
Integer:
- U8
- "4"
- span:
lo: 19
hi: 22
op: Add
span:
lo: 13
hi: 22
op: Shr
span:
lo: 0
hi: 22
right:
Binary:
left:
Literal:
Integer:
- U8
- "5"
- span:
lo: 26
hi: 29
right:
Literal:
Integer:
- U8
- "6"
- span:
lo: 32
hi: 35
op: Add
span:
lo: 26
hi: 35
op: Shr
span:
lo: 0
hi: 35
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Shr
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: Shr
span:
lo: 0
hi: 8
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
op: Shr
span:
lo: 0
hi: 15
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}"
op: Shr
span:
lo: 0
hi: 22
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Shr
span:
lo: 1
hi: 9
op: Negate
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Shr
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Shr
span:
lo: 2
hi: 10
op: Negate
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Shr
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Shr
span:
lo: 1
hi: 18
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Shr
span:
lo: 1
hi: 9
op: Not
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Shr
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Shr
span:
lo: 2
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Shr
span:
lo: 2
hi: 10
op: Not
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Shr
span:
lo: 1
hi: 18
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Shr
span:
lo: 1
hi: 9
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":19,\\\"hi\\\":20}\"}"
op: Shr
span:
lo: 13
hi: 21
op: Shr
span:
lo: 1
hi: 21
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":27,\\\"hi\\\":28}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":34}\"}"
op: Shr
span:
lo: 27
hi: 35
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":45,\\\"hi\\\":46}\"}"
op: Shr
span:
lo: 39
hi: 47
op: Shr
span:
lo: 27
hi: 47
op: Shr
span:
lo: 1
hi: 48

View File

@ -0,0 +1,243 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: ShrWrapped
span:
lo: 2
hi: 18
op: Negate
span:
lo: 1
hi: 18
op: Not
span:
lo: 0
hi: 18
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}"
op: ShrWrapped
span:
lo: 0
hi: 16
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":29,\\\"hi\\\":30}\"}"
op: ShrWrapped
span:
lo: 0
hi: 31
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":44,\\\"hi\\\":45}\"}"
op: ShrWrapped
span:
lo: 0
hi: 46
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
op: ShrWrapped
span:
lo: 1
hi: 17
op: Negate
span:
lo: 0
hi: 17
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
op: ShrWrapped
span:
lo: 1
hi: 19
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: ShrWrapped
span:
lo: 2
hi: 18
op: Negate
span:
lo: 0
hi: 18
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: ShrWrapped
span:
lo: 2
hi: 18
op: Negate
span:
lo: 1
hi: 18
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: ShrWrapped
span:
lo: 1
hi: 34
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
op: ShrWrapped
span:
lo: 1
hi: 17
op: Not
span:
lo: 0
hi: 17
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
op: ShrWrapped
span:
lo: 1
hi: 19
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: ShrWrapped
span:
lo: 2
hi: 18
op: Not
span:
lo: 0
hi: 18
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: ShrWrapped
span:
lo: 2
hi: 18
op: Not
span:
lo: 1
hi: 18
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: ShrWrapped
span:
lo: 1
hi: 34
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
op: ShrWrapped
span:
lo: 1
hi: 17
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":21,\\\"hi\\\":22}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":35,\\\"hi\\\":36}\"}"
op: ShrWrapped
span:
lo: 21
hi: 37
op: Shr
span:
lo: 1
hi: 37
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":51,\\\"hi\\\":52}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":65,\\\"hi\\\":66}\"}"
op: ShrWrapped
span:
lo: 51
hi: 67
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":71,\\\"hi\\\":72}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":85,\\\"hi\\\":86}\"}"
op: ShrWrapped
span:
lo: 71
hi: 87
op: Shr
span:
lo: 51
hi: 87
op: ShrWrapped
span:
lo: 1
hi: 88

View File

@ -0,0 +1,369 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U8
- "1"
- span:
lo: 6
hi: 9
op: Sub
span:
lo: 0
hi: 9
- Binary:
left:
Literal:
Integer:
- U16
- "2"
- span:
lo: 0
hi: 4
right:
Literal:
Integer:
- U64
- "3"
- span:
lo: 5
hi: 9
op: Sub
span:
lo: 0
hi: 9
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U32
- "1"
- span:
lo: 0
hi: 4
right:
Literal:
Integer:
- U32
- "2"
- span:
lo: 7
hi: 11
op: Sub
span:
lo: 0
hi: 11
right:
Literal:
Integer:
- U32
- "3"
- span:
lo: 14
hi: 18
op: Sub
span:
lo: 0
hi: 18
- Binary:
left:
Binary:
left:
Literal:
Integer:
- U8
- "1"
- span:
lo: 0
hi: 3
right:
Literal:
Integer:
- U16
- "2"
- span:
lo: 6
hi: 10
op: Mul
span:
lo: 0
hi: 10
right:
Binary:
left:
Literal:
Integer:
- U32
- "3"
- span:
lo: 13
hi: 17
right:
Literal:
Integer:
- I64
- "4"
- span:
lo: 20
hi: 24
op: Mul
span:
lo: 13
hi: 24
op: Sub
span:
lo: 0
hi: 24
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Sub
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: Sub
span:
lo: 0
hi: 8
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
op: Sub
span:
lo: 0
hi: 15
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}"
op: Sub
span:
lo: 0
hi: 22
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Sub
span:
lo: 1
hi: 9
op: Negate
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Sub
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Sub
span:
lo: 2
hi: 10
op: Negate
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Sub
span:
lo: 2
hi: 10
op: Negate
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Sub
span:
lo: 1
hi: 18
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Sub
span:
lo: 1
hi: 9
op: Not
span:
lo: 0
hi: 9
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}"
op: Sub
span:
lo: 1
hi: 11
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Sub
span:
lo: 2
hi: 10
op: Not
span:
lo: 0
hi: 10
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: Sub
span:
lo: 2
hi: 10
op: Not
span:
lo: 1
hi: 10
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Sub
span:
lo: 1
hi: 18
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Sub
span:
lo: 1
hi: 9
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":19,\\\"hi\\\":20}\"}"
op: Sub
span:
lo: 13
hi: 21
op: Shl
span:
lo: 1
hi: 21
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":27,\\\"hi\\\":28}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":34}\"}"
op: Sub
span:
lo: 27
hi: 35
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":45,\\\"hi\\\":46}\"}"
op: Sub
span:
lo: 39
hi: 47
op: Shl
span:
lo: 27
hi: 47
op: Sub
span:
lo: 1
hi: 48

View File

@ -0,0 +1,243 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: SubWrapped
span:
lo: 2
hi: 18
op: Negate
span:
lo: 1
hi: 18
op: Not
span:
lo: 0
hi: 18
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}"
op: SubWrapped
span:
lo: 0
hi: 16
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":29,\\\"hi\\\":30}\"}"
op: SubWrapped
span:
lo: 0
hi: 31
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":44,\\\"hi\\\":45}\"}"
op: SubWrapped
span:
lo: 0
hi: 46
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
op: SubWrapped
span:
lo: 1
hi: 17
op: Negate
span:
lo: 0
hi: 17
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
op: SubWrapped
span:
lo: 1
hi: 19
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: SubWrapped
span:
lo: 2
hi: 18
op: Negate
span:
lo: 0
hi: 18
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: SubWrapped
span:
lo: 2
hi: 18
op: Negate
span:
lo: 1
hi: 18
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: SubWrapped
span:
lo: 1
hi: 34
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
op: SubWrapped
span:
lo: 1
hi: 17
op: Not
span:
lo: 0
hi: 17
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
op: SubWrapped
span:
lo: 1
hi: 19
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: SubWrapped
span:
lo: 2
hi: 18
op: Not
span:
lo: 0
hi: 18
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: SubWrapped
span:
lo: 2
hi: 18
op: Not
span:
lo: 1
hi: 18
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: SubWrapped
span:
lo: 1
hi: 34
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
op: SubWrapped
span:
lo: 1
hi: 17
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":21,\\\"hi\\\":22}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":35,\\\"hi\\\":36}\"}"
op: SubWrapped
span:
lo: 21
hi: 37
op: Shl
span:
lo: 1
hi: 37
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":51,\\\"hi\\\":52}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":65,\\\"hi\\\":66}\"}"
op: SubWrapped
span:
lo: 51
hi: 67
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":71,\\\"hi\\\":72}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":85,\\\"hi\\\":86}\"}"
op: SubWrapped
span:
lo: 71
hi: 87
op: Shl
span:
lo: 51
hi: 87
op: SubWrapped
span:
lo: 1
hi: 88

View File

@ -0,0 +1,16 @@
---
namespace: ParseExpression
expectation: Fail
outputs:
- "Error [EPAR0370009]: unexpected string: expected 'identifier', found '<eof>'\n --> test:1:3\n |\n 1 | x {\n | ^"
- "did not consume all input: '}' @ 1:3-4\n"
- "Error [EPAR0370009]: unexpected string: expected 'identifier', found ','\n --> test:1:4\n |\n 1 | x {,}\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'identifier', found ','\n --> test:1:5\n |\n 1 | x { , }\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'identifier', found ','\n --> test:1:4\n |\n 1 | x {,,,}\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'identifier', found ','\n --> test:1:6\n |\n 1 | x {x,,}\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'identifier', found ','\n --> test:1:4\n |\n 1 | x {,,x}\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'identifier', found ','\n --> test:1:4\n |\n 1 | x {,x}\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'identifier', found ','\n --> test:1:8\n |\n 1 | x {x:y,,}\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'identifier', found ','\n --> test:1:4\n |\n 1 | x {,,x:y}\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'identifier', found ','\n --> test:1:4\n |\n 1 | x {,x:y}\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '}'\n --> test:1:6\n |\n 1 | x {x:}\n | ^"

View File

@ -0,0 +1,23 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
- Identifier: "{\"name\":\"X\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
- Identifier: "{\"name\":\"xxx\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":3}\"}"
- Identifier: "{\"name\":\"XXX\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":3}\"}"
- Identifier: "{\"name\":\"x1\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":2}\"}"
- Identifier: "{\"name\":\"xu32\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}"
- Identifier: "{\"name\":\"testx\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}"
- Identifier: "{\"name\":\"truex\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}"
- Identifier: "{\"name\":\"TRUE\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}"
- Identifier: "{\"name\":\"testX\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}"
- Identifier: "{\"name\":\"letX\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}"
- Identifier: "{\"name\":\"constX\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":6}\"}"
- Identifier: "{\"name\":\"test_test\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":9}\"}"
- Identifier: "{\"name\":\"self\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}"
- Identifier: "{\"name\":\"Self\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}"
- Identifier: "{\"name\":\"input\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}"
- Identifier: "{\"name\":\"selfX\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}"
- Identifier: "{\"name\":\"SelfX\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}"
- Identifier: "{\"name\":\"inputX\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":6}\"}"

View File

@ -0,0 +1,10 @@
---
namespace: Token
expectation: Pass
outputs:
- "'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8s7pyjh9' @ 1:1-64"
- "'ALEO1' @ 1:1-6"
- "'Aleo1' @ 1:1-6"
- "'aleO1' @ 1:1-6"
- "'aleo2qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d9' @ 1:1-64"
- "'bleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d9' @ 1:1-64"

View File

@ -0,0 +1,14 @@
---
namespace: ParseExpression
expectation: Fail
outputs:
- "Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1aleo1'\n --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1aleo1\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
- "Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6Z2eu975wnpz2925ntjccd5cfqxtyu8sta57J9'\n --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6Z2eu975wnpz2925ntjccd5cfqxtyu8sta57J9\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
- "Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j9'\n --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j9\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
- "Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d'\n --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
- "Error [EPAR0370001]: invalid address literal: 'aleo1'\n --> test:1:1\n |\n 1 | aleo1\n | ^^^^^"
- "Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8st'\n --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8st\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
- "Error [EPAR0370001]: invalid address literal: 'aleo1'\n --> test:1:1\n |\n 1 | aleo1\n | ^^^^^"
- "Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1aleo1'\n --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1aleo1\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
- "Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d11'\n --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d11\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
- "Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x'\n --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x + aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x'\n --> test:1:68\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x + aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"

View File

@ -0,0 +1,10 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Literal:
Address:
- aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8s7pyjh9
- span:
lo: 0
hi: 63

View File

@ -0,0 +1,12 @@
---
namespace: Token
expectation: Pass
outputs:
- "'true' @ 1:1-5"
- "'True' @ 1:1-5"
- "'TRUE' @ 1:1-5"
- "'truE' @ 1:1-5"
- "'false' @ 1:1-6"
- "'False' @ 1:1-6"
- "'FALSE' @ 1:1-6"
- "'falsE' @ 1:1-6"

View File

@ -0,0 +1,16 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Literal:
Boolean:
- true
- span:
lo: 0
hi: 4
- Literal:
Boolean:
- false
- span:
lo: 0
hi: 5

View File

@ -0,0 +1,57 @@
---
namespace: Token
expectation: Fail
outputs:
- "Error [EPAR0370016]: Could not lex the following content: `'a'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'Z'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\\"'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\''`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\t'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\r'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\0'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u{F}'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `''`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u{E5}'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'å'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u{4e0}'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'Ӡ'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u{d800}'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u{2764}'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'❤'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u{1F622}'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'😭'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u{10001F}'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x2A'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x7f'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x00'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x01'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x02'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x03'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x04'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x05'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x06'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x07'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x10'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x11'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x12'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x13'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x14'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x15'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x16'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x17'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x20'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x21'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x22'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x23'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x24'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x25'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x26'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x27'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x30'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x31'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x32'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x33'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x34'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x35'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x36'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x37'`.\n"

View File

@ -0,0 +1,51 @@
---
namespace: Token
expectation: Fail
outputs:
- "Error [EPAR0370016]: Could not lex the following content: `'\\'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `\\`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `\\n`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'a`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `''`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x7'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\xz'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x9A'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x7g'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x80'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\xc1'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\xc2'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\xDF'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\xC0'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\xe0'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x9f'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'abcdefg'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\a'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\z'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\A'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\Z'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\1'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\9'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\*'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\t\\t'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\uz'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u1'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u}`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'🦀\\n'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u123'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'🦀1🦀'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u6🦀}'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u{af🦀'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u{2764z'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u{276g}'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u9999999'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u00000000'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u01000000'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u{110000}'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u{1234567890}'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u{bbbbb}\\u{aaaa}'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'😭😂😘'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `''`.\n"

View File

@ -0,0 +1,55 @@
---
namespace: Token
expectation: Fail
outputs:
- "Error [EPAR0370016]: Could not lex the following content: `'a'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'Z'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\\"'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\t'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\r'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\0'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u{F}'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `''`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u{E5}'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'å'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u{4e0}'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'Ӡ'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u{2764}'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'❤'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u{1F622}'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'😭'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\u{10001F}'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x2A'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x7f'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x00'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x01'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x02'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x03'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x04'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x05'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x06'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x07'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x10'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x11'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x12'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x13'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x14'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x15'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x16'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x17'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x20'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x21'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x22'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x23'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x24'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x25'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x26'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x27'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x30'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x31'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x32'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x33'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x34'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x35'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x36'`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'\\x37'`.\n"

View File

@ -0,0 +1,14 @@
---
namespace: Parse
expectation: Pass
outputs:
- imports: {}
program_scopes:
"{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":126,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":130}\\\\\\\"}\\\"\"}":
program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":126,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":130}\\\\\\\"}\\\"\"}"
structs: {}
mappings: {}
functions: {}
span:
lo: 113
hi: 235

View File

@ -0,0 +1,15 @@
---
namespace: ParseExpression
expectation: Fail
outputs:
- "Error [EPAR0370014]: Empty block comment."
- "Error [EPAR0370015]: Block comment does not close with content: `/* test`."
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '/'\n --> test:1:1\n |\n 1 | / /\n | ^"
- "Error [EPAR0370015]: Block comment does not close with content: `/*/`."
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '*'\n --> test:1:1\n |\n 1 | */\n | ^"
- "Error [EPAR0370016]: Could not lex the following content: `🦀**/`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `🦀*/`.\n"
- "Error [EPAR0370015]: Block comment does not close with content: `/*🦀/`."
- "Error [EPAR0370015]: Block comment does not close with content: `/**🦀`."
- "Error [EPAR0370015]: Block comment does not close with content: `/*🦀`."
- "Error [EPAR0370015]: Block comment does not close with content: `/*/*`."

View File

@ -0,0 +1,24 @@
---
namespace: Token
expectation: Pass
outputs:
- "'\"{}\"' @ 1:1-5"
- "'\" {} \"' @ 1:1-7"
- "'\"{}d\"' @ 1:1-6"
- "'\"{}D\"' @ 1:1-6"
- "'\"d{}\"' @ 1:1-6"
- "'\"D{}\"' @ 1:1-6"
- "'\"D{}D\"' @ 1:1-7"
- "'\"{}{}\"' @ 1:1-7"
- "'\"D{}{}D\"' @ 1:1-9"
- "'\"D{}{}\"' @ 1:1-8"
- "'\"{}{}D\"' @ 1:1-8"
- "'\"D{}D{}D\"' @ 1:1-10"
- "'\"{{}}\"' @ 1:1-7"
- "'\"}}\"' @ 1:1-5"
- "'\"{{\"' @ 1:1-5"
- "'\"}}{{\"' @ 1:1-7"
- "'\"{{}\"' @ 1:1-6"
- "'\"{}}\"' @ 1:1-6"
- "'\"{\"' @ 1:1-4"
- "'\"}\"' @ 1:1-4"

View File

@ -0,0 +1,442 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Literal:
Group:
Tuple:
x: SignHigh
y: Inferred
span:
lo: 0
hi: 11
- Literal:
Group:
Tuple:
x: Inferred
y: SignLow
span:
lo: 0
hi: 11
- Literal:
Group:
Tuple:
x: SignHigh
y: SignLow
span:
lo: 0
hi: 11
- Literal:
Group:
Tuple:
x: SignLow
y: SignHigh
span:
lo: 0
hi: 11
- Literal:
Group:
Tuple:
x: SignHigh
y: SignHigh
span:
lo: 0
hi: 11
- Literal:
Group:
Tuple:
x: SignLow
y: SignLow
span:
lo: 0
hi: 11
- Literal:
Group:
Tuple:
x: Inferred
y: Inferred
span:
lo: 0
hi: 11
- Literal:
Group:
Tuple:
x:
Number:
- "123"
- span:
lo: 1
hi: 4
y:
Number:
- "-456"
- span:
lo: 6
hi: 9
span:
lo: 0
hi: 15
- Literal:
Group:
Tuple:
x:
Number:
- "-123"
- span:
lo: 2
hi: 5
y:
Number:
- "456"
- span:
lo: 6
hi: 9
span:
lo: 0
hi: 15
- Literal:
Group:
Tuple:
x:
Number:
- "-123"
- span:
lo: 2
hi: 5
y:
Number:
- "456"
- span:
lo: 6
hi: 9
span:
lo: 0
hi: 15
- Literal:
Group:
Tuple:
x:
Number:
- "123"
- span:
lo: 1
hi: 4
y: Inferred
span:
lo: 0
hi: 13
- Literal:
Group:
Tuple:
x:
Number:
- "123"
- span:
lo: 1
hi: 4
y: SignLow
span:
lo: 0
hi: 13
- Literal:
Group:
Tuple:
x:
Number:
- "123"
- span:
lo: 1
hi: 4
y: SignLow
span:
lo: 0
hi: 13
- Literal:
Group:
Tuple:
x:
Number:
- "123"
- span:
lo: 1
hi: 4
y: SignHigh
span:
lo: 0
hi: 13
- Literal:
Group:
Tuple:
x:
Number:
- "123"
- span:
lo: 1
hi: 4
y: SignHigh
span:
lo: 0
hi: 13
- Literal:
Group:
Tuple:
x:
Number:
- "123"
- span:
lo: 1
hi: 4
y: SignLow
span:
lo: 0
hi: 13
- Literal:
Group:
Tuple:
x:
Number:
- "123"
- span:
lo: 1
hi: 4
y: Inferred
span:
lo: 0
hi: 13
- Literal:
Group:
Tuple:
x: SignHigh
y:
Number:
- "345"
- span:
lo: 4
hi: 7
span:
lo: 0
hi: 13
- Literal:
Group:
Tuple:
x: Inferred
y:
Number:
- "345"
- span:
lo: 4
hi: 7
span:
lo: 0
hi: 13
- Literal:
Group:
Tuple:
x: SignHigh
y:
Number:
- "345"
- span:
lo: 4
hi: 7
span:
lo: 0
hi: 13
- Literal:
Group:
Tuple:
x: SignLow
y:
Number:
- "345"
- span:
lo: 4
hi: 7
span:
lo: 0
hi: 13
- Literal:
Group:
Tuple:
x: SignHigh
y:
Number:
- "345"
- span:
lo: 4
hi: 7
span:
lo: 0
hi: 13
- Literal:
Group:
Tuple:
x: SignLow
y:
Number:
- "345"
- span:
lo: 4
hi: 7
span:
lo: 0
hi: 13
- Literal:
Group:
Tuple:
x: Inferred
y:
Number:
- "345"
- span:
lo: 4
hi: 7
span:
lo: 0
hi: 13
- Literal:
Group:
Tuple:
x:
Number:
- "123"
- span:
lo: 1
hi: 4
y:
Number:
- "456"
- span:
lo: 6
hi: 9
span:
lo: 0
hi: 15
- Literal:
Group:
Tuple:
x:
Number:
- "123"
- span:
lo: 1
hi: 4
y:
Number:
- "456"
- span:
lo: 6
hi: 9
span:
lo: 0
hi: 15
- Literal:
Group:
Tuple:
x:
Number:
- "123"
- span:
lo: 1
hi: 4
y:
Number:
- "456"
- span:
lo: 6
hi: 9
span:
lo: 0
hi: 15
- Literal:
Group:
Tuple:
x:
Number:
- "123"
- span:
lo: 1
hi: 4
y:
Number:
- "456"
- span:
lo: 6
hi: 9
span:
lo: 0
hi: 15
- Literal:
Group:
Tuple:
x:
Number:
- "123"
- span:
lo: 1
hi: 4
y:
Number:
- "456"
- span:
lo: 6
hi: 9
span:
lo: 0
hi: 15
- Literal:
Group:
Tuple:
x:
Number:
- "123"
- span:
lo: 1
hi: 4
y:
Number:
- "456"
- span:
lo: 6
hi: 9
span:
lo: 0
hi: 15
- Literal:
Group:
Tuple:
x:
Number:
- "123"
- span:
lo: 1
hi: 4
y:
Number:
- "456"
- span:
lo: 6
hi: 9
span:
lo: 0
hi: 15
- Literal:
Group:
Single:
- "1"
- span:
lo: 0
hi: 6
- Unary:
receiver:
Literal:
Group:
Single:
- "1"
- span:
lo: 1
hi: 7
op: Negate
span:
lo: 0
hi: 7

View File

@ -0,0 +1,16 @@
---
namespace: ParseExpression
expectation: Fail
outputs:
- "did not consume all input: 'group' @ 1:3-8\n"
- "Error [EPAR0370017]: Could not parse the implicit value: 123.\n --> test:1:2\n |\n 1 | (123)group\n | ^^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found ','\n --> test:1:2\n |\n 1 | (,)group\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '+'\n --> test:1:2\n |\n 1 | (+, -,)group\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found ','\n --> test:1:2\n |\n 1 | (,+, -)group\n | ^"
- "did not consume all input: 'group' @ 1:6-11\n"
- "Error [EPAR0370017]: Could not parse the implicit value: 123.\n --> test:1:2\n |\n 1 | (123,456u8)group\n | ^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 123.\n --> test:1:2\n |\n 1 | (123,456field)group\n | ^^^"
- "Error [EPAR0370004]: Unexpected white space between terms (123,456) and group\n --> test:1:11\n |\n 1 | (123, 456) group\n | ^"
- "Error [EPAR0370017]: Could not parse the implicit value: 123.\n --> test:1:2\n |\n 1 | (123, )group\n | ^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 123.\n --> test:1:2\n |\n 1 | (123, 456, 789)group\n | ^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 123.\n --> test:1:2\n |\n 1 | (123, 456)bool\n | ^^^"

View File

@ -0,0 +1,111 @@
---
namespace: Token
expectation: Pass
outputs:
- "'123' @ 1:1-4,'abc123' @ 1:4-10"
- "'123' @ 1:1-4,'abc' @ 1:4-7"
- "'123' @ 1:1-4"
- "'456' @ 1:1-4"
- "'123' @ 1:1-4,'456' @ 1:5-8"
- "'87377802873778028737780287377802873778028737780287377802873778028737780287377802' @ 1:1-81"
- "'8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802' @ 1:1-401"
- "'340130024' @ 1:1-10"
- "'158951116' @ 1:1-10"
- "'155529659' @ 1:1-10"
- "'642023166' @ 1:1-10"
- "'228481736' @ 1:1-10"
- "'469712960' @ 1:1-10"
- "'929437719' @ 1:1-10"
- "'721072814' @ 1:1-10"
- "'363254789' @ 1:1-10"
- "'906732565' @ 1:1-10"
- "'288246391' @ 1:1-10"
- "'724940549' @ 1:1-10"
- "'487101620' @ 1:1-10"
- "'261373583' @ 1:1-10"
- "'891163927' @ 1:1-10"
- "'743967544' @ 1:1-10"
- "'8372586' @ 1:1-8"
- "'461793278' @ 1:1-10"
- "'806307045' @ 1:1-10"
- "'122764546' @ 1:1-10"
- "'356336181' @ 1:1-10"
- "'158370903' @ 1:1-10"
- "'774460877' @ 1:1-10"
- "'557174131' @ 1:1-10"
- "'492401267' @ 1:1-10"
- "'893445620' @ 1:1-10"
- "'957757048' @ 1:1-10"
- "'721540649' @ 1:1-10"
- "'390746493' @ 1:1-10"
- "'211251725' @ 1:1-10"
- "'938266114' @ 1:1-10"
- "'156985870' @ 1:1-10"
- "'703831126' @ 1:1-10"
- "'729964155' @ 1:1-10"
- "'988151305' @ 1:1-10"
- "'320872435' @ 1:1-10"
- "'719287167' @ 1:1-10"
- "'152289486' @ 1:1-10"
- "'740067975' @ 1:1-10"
- "'728627816' @ 1:1-10"
- "'385008978' @ 1:1-10"
- "'553967635' @ 1:1-10"
- "'71980713' @ 1:1-9"
- "'519444716' @ 1:1-10"
- "'116499965' @ 1:1-10"
- "'717422268' @ 1:1-10"
- "'18966279' @ 1:1-9"
- "'22458638' @ 1:1-9"
- "'857282620' @ 1:1-10"
- "'920675898' @ 1:1-10"
- "'762235516' @ 1:1-10"
- "'469018377' @ 1:1-10"
- "'199986521' @ 1:1-10"
- "'536679358' @ 1:1-10"
- "'591399452' @ 1:1-10"
- "'83083158' @ 1:1-9"
- "'599449051' @ 1:1-10"
- "'445442318' @ 1:1-10"
- "'585486590' @ 1:1-10"
- "'209278800' @ 1:1-10"
- "'873568117' @ 1:1-10"
- "'664470940' @ 1:1-10"
- "'465262783' @ 1:1-10"
- "'605652874' @ 1:1-10"
- "'376803940' @ 1:1-10"
- "'965247040' @ 1:1-10"
- "'598474509' @ 1:1-10"
- "'845119918' @ 1:1-10"
- "'648159133' @ 1:1-10"
- "'669051032' @ 1:1-10"
- "'800600261' @ 1:1-10"
- "'434689764' @ 1:1-10"
- "'520060080' @ 1:1-10"
- "'804659385' @ 1:1-10"
- "'537828058' @ 1:1-10"
- "'716600292' @ 1:1-10"
- "'387020273' @ 1:1-10"
- "'199375617' @ 1:1-10"
- "'680337189' @ 1:1-10"
- "'818479931' @ 1:1-10"
- "'893693281' @ 1:1-10"
- "'87377802' @ 1:1-9"
- "'84699261' @ 1:1-9"
- "'292826090' @ 1:1-10"
- "'569171405' @ 1:1-10"
- "'387436237' @ 1:1-10"
- "'150682190' @ 1:1-10"
- "'888770419' @ 1:1-10"
- "'824696431' @ 1:1-10"
- "'765659803' @ 1:1-10"
- "'270163693' @ 1:1-10"
- "'427940240' @ 1:1-10"
- "'504997332' @ 1:1-10"
- "'337808338' @ 1:1-10"
- "'907200008' @ 1:1-10"
- "'757177889' @ 1:1-10"
- "'696697188' @ 1:1-10"
- "'41376051' @ 1:1-9"
- "'496293518' @ 1:1-10"
- "'251218820' @ 1:1-10"

View File

@ -0,0 +1,7 @@
---
namespace: ParseExpression
expectation: Fail
outputs:
- "Error [EPAR0370018]: A hex number `0x..` was provided but hex is not allowed."
- "Error [EPAR0370018]: A hex number `0x..` was provided but hex is not allowed."
- "Error [EPAR0370018]: A hex number `0x..` was provided but hex is not allowed."

View File

@ -0,0 +1,634 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Literal:
Field:
- "123"
- span:
lo: 0
hi: 8
- Literal:
Field:
- "123"
- span:
lo: 0
hi: 8
- Literal:
Field:
- "456"
- span:
lo: 0
hi: 8
- Literal:
Field:
- "87377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 85
- Literal:
Field:
- "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 405
- Literal:
Field:
- "340130024"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "158951116"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "155529659"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "642023166"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "228481736"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "469712960"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "929437719"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "721072814"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "363254789"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "906732565"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "288246391"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "724940549"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "487101620"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "261373583"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "891163927"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "743967544"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "8372586"
- span:
lo: 0
hi: 12
- Literal:
Field:
- "461793278"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "806307045"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "122764546"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "356336181"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "158370903"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "774460877"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "557174131"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "492401267"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "893445620"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "957757048"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "721540649"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "390746493"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "211251725"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "938266114"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "156985870"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "703831126"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "729964155"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "988151305"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "320872435"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "719287167"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "152289486"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "740067975"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "728627816"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "385008978"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "553967635"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "71980713"
- span:
lo: 0
hi: 13
- Literal:
Field:
- "519444716"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "116499965"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "717422268"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "18966279"
- span:
lo: 0
hi: 13
- Literal:
Field:
- "22458638"
- span:
lo: 0
hi: 13
- Literal:
Field:
- "857282620"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "920675898"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "762235516"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "469018377"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "199986521"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "536679358"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "591399452"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "83083158"
- span:
lo: 0
hi: 13
- Literal:
Field:
- "599449051"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "445442318"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "585486590"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "209278800"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "873568117"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "664470940"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "465262783"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "605652874"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "376803940"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "965247040"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "598474509"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "845119918"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "648159133"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "669051032"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "800600261"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "434689764"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "520060080"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "804659385"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "537828058"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "716600292"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "387020273"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "199375617"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "680337189"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "818479931"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "893693281"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "87377802"
- span:
lo: 0
hi: 13
- Literal:
Field:
- "84699261"
- span:
lo: 0
hi: 13
- Literal:
Field:
- "292826090"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "569171405"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "387436237"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "150682190"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "888770419"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "824696431"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "765659803"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "270163693"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "427940240"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "504997332"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "337808338"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "907200008"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "757177889"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "696697188"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "41376051"
- span:
lo: 0
hi: 13
- Literal:
Field:
- "496293518"
- span:
lo: 0
hi: 14
- Literal:
Field:
- "251218820"
- span:
lo: 0
hi: 14

View File

@ -0,0 +1,5 @@
---
namespace: ParseExpression
expectation: Fail
outputs:
- "Error [EPAR0370018]: A hex number `0x..` was provided but hex is not allowed."

View File

@ -0,0 +1,739 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Literal:
Integer:
- I128
- "123"
- span:
lo: 0
hi: 7
- Literal:
Integer:
- I128
- "123"
- span:
lo: 0
hi: 7
- Literal:
Integer:
- I128
- "456"
- span:
lo: 0
hi: 7
- Literal:
Integer:
- I128
- "87377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 84
- Literal:
Integer:
- I128
- "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 404
- Literal:
Integer:
- I128
- "340130024"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "158951116"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "155529659"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "642023166"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "228481736"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "469712960"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "929437719"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "721072814"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "363254789"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "906732565"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "288246391"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "724940549"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "487101620"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "261373583"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "891163927"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "743967544"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "8372586"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I128
- "461793278"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "806307045"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "122764546"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "356336181"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "158370903"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "774460877"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "557174131"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "492401267"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "893445620"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "957757048"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "721540649"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "390746493"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "211251725"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "938266114"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "156985870"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "703831126"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "729964155"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "988151305"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "320872435"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "719287167"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "152289486"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "740067975"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "728627816"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "385008978"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "553967635"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "71980713"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I128
- "519444716"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "116499965"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "717422268"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "18966279"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I128
- "22458638"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I128
- "857282620"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "920675898"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "762235516"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "469018377"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "199986521"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "536679358"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "591399452"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "83083158"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I128
- "599449051"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "445442318"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "585486590"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "209278800"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "873568117"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "664470940"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "465262783"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "605652874"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "376803940"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "965247040"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "598474509"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "845119918"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "648159133"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "669051032"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "800600261"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "434689764"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "520060080"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "804659385"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "537828058"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "716600292"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "387020273"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "199375617"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "680337189"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "818479931"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "893693281"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "87377802"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I128
- "84699261"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I128
- "292826090"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "569171405"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "387436237"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "150682190"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "888770419"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "824696431"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "765659803"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "270163693"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "427940240"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "504997332"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "337808338"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "907200008"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "757177889"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "696697188"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "41376051"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I128
- "496293518"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- I128
- "251218820"
- span:
lo: 0
hi: 13

View File

@ -0,0 +1,739 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Literal:
Integer:
- I16
- "123"
- span:
lo: 0
hi: 6
- Literal:
Integer:
- I16
- "123"
- span:
lo: 0
hi: 6
- Literal:
Integer:
- I16
- "456"
- span:
lo: 0
hi: 6
- Literal:
Integer:
- I16
- "87377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 83
- Literal:
Integer:
- I16
- "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 403
- Literal:
Integer:
- I16
- "340130024"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "158951116"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "155529659"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "642023166"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "228481736"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "469712960"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "929437719"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "721072814"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "363254789"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "906732565"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "288246391"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "724940549"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "487101620"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "261373583"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "891163927"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "743967544"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "8372586"
- span:
lo: 0
hi: 10
- Literal:
Integer:
- I16
- "461793278"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "806307045"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "122764546"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "356336181"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "158370903"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "774460877"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "557174131"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "492401267"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "893445620"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "957757048"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "721540649"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "390746493"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "211251725"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "938266114"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "156985870"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "703831126"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "729964155"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "988151305"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "320872435"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "719287167"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "152289486"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "740067975"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "728627816"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "385008978"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "553967635"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "71980713"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I16
- "519444716"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "116499965"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "717422268"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "18966279"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I16
- "22458638"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I16
- "857282620"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "920675898"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "762235516"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "469018377"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "199986521"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "536679358"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "591399452"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "83083158"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I16
- "599449051"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "445442318"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "585486590"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "209278800"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "873568117"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "664470940"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "465262783"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "605652874"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "376803940"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "965247040"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "598474509"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "845119918"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "648159133"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "669051032"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "800600261"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "434689764"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "520060080"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "804659385"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "537828058"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "716600292"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "387020273"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "199375617"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "680337189"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "818479931"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "893693281"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "87377802"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I16
- "84699261"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I16
- "292826090"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "569171405"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "387436237"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "150682190"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "888770419"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "824696431"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "765659803"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "270163693"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "427940240"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "504997332"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "337808338"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "907200008"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "757177889"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "696697188"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "41376051"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I16
- "496293518"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I16
- "251218820"
- span:
lo: 0
hi: 12

View File

@ -0,0 +1,739 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Literal:
Integer:
- I32
- "123"
- span:
lo: 0
hi: 6
- Literal:
Integer:
- I32
- "123"
- span:
lo: 0
hi: 6
- Literal:
Integer:
- I32
- "456"
- span:
lo: 0
hi: 6
- Literal:
Integer:
- I32
- "87377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 83
- Literal:
Integer:
- I32
- "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 403
- Literal:
Integer:
- I32
- "340130024"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "158951116"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "155529659"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "642023166"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "228481736"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "469712960"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "929437719"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "721072814"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "363254789"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "906732565"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "288246391"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "724940549"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "487101620"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "261373583"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "891163927"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "743967544"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "8372586"
- span:
lo: 0
hi: 10
- Literal:
Integer:
- I32
- "461793278"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "806307045"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "122764546"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "356336181"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "158370903"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "774460877"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "557174131"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "492401267"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "893445620"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "957757048"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "721540649"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "390746493"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "211251725"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "938266114"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "156985870"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "703831126"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "729964155"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "988151305"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "320872435"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "719287167"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "152289486"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "740067975"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "728627816"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "385008978"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "553967635"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "71980713"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I32
- "519444716"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "116499965"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "717422268"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "18966279"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I32
- "22458638"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I32
- "857282620"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "920675898"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "762235516"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "469018377"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "199986521"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "536679358"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "591399452"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "83083158"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I32
- "599449051"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "445442318"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "585486590"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "209278800"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "873568117"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "664470940"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "465262783"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "605652874"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "376803940"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "965247040"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "598474509"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "845119918"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "648159133"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "669051032"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "800600261"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "434689764"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "520060080"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "804659385"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "537828058"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "716600292"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "387020273"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "199375617"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "680337189"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "818479931"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "893693281"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "87377802"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I32
- "84699261"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I32
- "292826090"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "569171405"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "387436237"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "150682190"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "888770419"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "824696431"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "765659803"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "270163693"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "427940240"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "504997332"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "337808338"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "907200008"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "757177889"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "696697188"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "41376051"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I32
- "496293518"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I32
- "251218820"
- span:
lo: 0
hi: 12

View File

@ -0,0 +1,739 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Literal:
Integer:
- I64
- "123"
- span:
lo: 0
hi: 6
- Literal:
Integer:
- I64
- "123"
- span:
lo: 0
hi: 6
- Literal:
Integer:
- I64
- "456"
- span:
lo: 0
hi: 6
- Literal:
Integer:
- I64
- "87377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 83
- Literal:
Integer:
- I64
- "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 403
- Literal:
Integer:
- I64
- "340130024"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "158951116"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "155529659"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "642023166"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "228481736"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "469712960"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "929437719"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "721072814"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "363254789"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "906732565"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "288246391"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "724940549"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "487101620"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "261373583"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "891163927"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "743967544"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "8372586"
- span:
lo: 0
hi: 10
- Literal:
Integer:
- I64
- "461793278"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "806307045"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "122764546"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "356336181"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "158370903"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "774460877"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "557174131"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "492401267"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "893445620"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "957757048"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "721540649"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "390746493"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "211251725"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "938266114"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "156985870"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "703831126"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "729964155"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "988151305"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "320872435"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "719287167"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "152289486"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "740067975"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "728627816"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "385008978"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "553967635"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "71980713"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I64
- "519444716"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "116499965"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "717422268"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "18966279"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I64
- "22458638"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I64
- "857282620"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "920675898"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "762235516"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "469018377"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "199986521"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "536679358"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "591399452"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "83083158"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I64
- "599449051"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "445442318"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "585486590"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "209278800"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "873568117"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "664470940"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "465262783"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "605652874"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "376803940"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "965247040"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "598474509"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "845119918"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "648159133"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "669051032"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "800600261"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "434689764"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "520060080"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "804659385"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "537828058"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "716600292"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "387020273"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "199375617"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "680337189"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "818479931"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "893693281"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "87377802"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I64
- "84699261"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I64
- "292826090"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "569171405"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "387436237"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "150682190"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "888770419"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "824696431"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "765659803"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "270163693"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "427940240"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "504997332"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "337808338"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "907200008"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "757177889"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "696697188"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "41376051"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I64
- "496293518"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- I64
- "251218820"
- span:
lo: 0
hi: 12

View File

@ -0,0 +1,739 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Literal:
Integer:
- I8
- "123"
- span:
lo: 0
hi: 5
- Literal:
Integer:
- I8
- "123"
- span:
lo: 0
hi: 5
- Literal:
Integer:
- I8
- "456"
- span:
lo: 0
hi: 5
- Literal:
Integer:
- I8
- "87377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 82
- Literal:
Integer:
- I8
- "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 402
- Literal:
Integer:
- I8
- "340130024"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "158951116"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "155529659"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "642023166"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "228481736"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "469712960"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "929437719"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "721072814"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "363254789"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "906732565"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "288246391"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "724940549"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "487101620"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "261373583"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "891163927"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "743967544"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "8372586"
- span:
lo: 0
hi: 9
- Literal:
Integer:
- I8
- "461793278"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "806307045"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "122764546"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "356336181"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "158370903"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "774460877"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "557174131"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "492401267"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "893445620"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "957757048"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "721540649"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "390746493"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "211251725"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "938266114"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "156985870"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "703831126"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "729964155"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "988151305"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "320872435"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "719287167"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "152289486"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "740067975"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "728627816"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "385008978"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "553967635"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "71980713"
- span:
lo: 0
hi: 10
- Literal:
Integer:
- I8
- "519444716"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "116499965"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "717422268"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "18966279"
- span:
lo: 0
hi: 10
- Literal:
Integer:
- I8
- "22458638"
- span:
lo: 0
hi: 10
- Literal:
Integer:
- I8
- "857282620"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "920675898"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "762235516"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "469018377"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "199986521"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "536679358"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "591399452"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "83083158"
- span:
lo: 0
hi: 10
- Literal:
Integer:
- I8
- "599449051"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "445442318"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "585486590"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "209278800"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "873568117"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "664470940"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "465262783"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "605652874"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "376803940"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "965247040"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "598474509"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "845119918"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "648159133"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "669051032"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "800600261"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "434689764"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "520060080"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "804659385"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "537828058"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "716600292"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "387020273"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "199375617"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "680337189"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "818479931"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "893693281"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "87377802"
- span:
lo: 0
hi: 10
- Literal:
Integer:
- I8
- "84699261"
- span:
lo: 0
hi: 10
- Literal:
Integer:
- I8
- "292826090"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "569171405"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "387436237"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "150682190"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "888770419"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "824696431"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "765659803"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "270163693"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "427940240"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "504997332"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "337808338"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "907200008"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "757177889"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "696697188"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "41376051"
- span:
lo: 0
hi: 10
- Literal:
Integer:
- I8
- "496293518"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- I8
- "251218820"
- span:
lo: 0
hi: 11

View File

@ -0,0 +1,109 @@
---
namespace: ParseExpression
expectation: Fail
outputs:
- "Error [EPAR0370017]: Could not parse the implicit value: 123.\n --> test:1:1\n |\n 1 | 123\n | ^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 123.\n --> test:1:1\n |\n 1 | 123\n | ^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 456.\n --> test:1:1\n |\n 1 | 456\n | ^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 87377802873778028737780287377802873778028737780287377802873778028737780287377802.\n --> test:1:1\n |\n 1 | 87377802873778028737780287377802873778028737780287377802873778028737780287377802\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802.\n --> test:1:1\n |\n 1 | 8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 340130024.\n --> test:1:1\n |\n 1 | 340130024\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 158951116.\n --> test:1:1\n |\n 1 | 158951116\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 155529659.\n --> test:1:1\n |\n 1 | 155529659\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 642023166.\n --> test:1:1\n |\n 1 | 642023166\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 228481736.\n --> test:1:1\n |\n 1 | 228481736\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 469712960.\n --> test:1:1\n |\n 1 | 469712960\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 929437719.\n --> test:1:1\n |\n 1 | 929437719\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 721072814.\n --> test:1:1\n |\n 1 | 721072814\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 363254789.\n --> test:1:1\n |\n 1 | 363254789\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 906732565.\n --> test:1:1\n |\n 1 | 906732565\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 288246391.\n --> test:1:1\n |\n 1 | 288246391\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 724940549.\n --> test:1:1\n |\n 1 | 724940549\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 487101620.\n --> test:1:1\n |\n 1 | 487101620\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 261373583.\n --> test:1:1\n |\n 1 | 261373583\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 891163927.\n --> test:1:1\n |\n 1 | 891163927\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 743967544.\n --> test:1:1\n |\n 1 | 743967544\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 8372586.\n --> test:1:1\n |\n 1 | 8372586\n | ^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 461793278.\n --> test:1:1\n |\n 1 | 461793278\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 806307045.\n --> test:1:1\n |\n 1 | 806307045\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 122764546.\n --> test:1:1\n |\n 1 | 122764546\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 356336181.\n --> test:1:1\n |\n 1 | 356336181\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 158370903.\n --> test:1:1\n |\n 1 | 158370903\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 774460877.\n --> test:1:1\n |\n 1 | 774460877\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 557174131.\n --> test:1:1\n |\n 1 | 557174131\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 492401267.\n --> test:1:1\n |\n 1 | 492401267\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 893445620.\n --> test:1:1\n |\n 1 | 893445620\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 957757048.\n --> test:1:1\n |\n 1 | 957757048\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 721540649.\n --> test:1:1\n |\n 1 | 721540649\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 390746493.\n --> test:1:1\n |\n 1 | 390746493\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 211251725.\n --> test:1:1\n |\n 1 | 211251725\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 938266114.\n --> test:1:1\n |\n 1 | 938266114\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 156985870.\n --> test:1:1\n |\n 1 | 156985870\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 703831126.\n --> test:1:1\n |\n 1 | 703831126\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 729964155.\n --> test:1:1\n |\n 1 | 729964155\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 988151305.\n --> test:1:1\n |\n 1 | 988151305\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 320872435.\n --> test:1:1\n |\n 1 | 320872435\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 719287167.\n --> test:1:1\n |\n 1 | 719287167\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 152289486.\n --> test:1:1\n |\n 1 | 152289486\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 740067975.\n --> test:1:1\n |\n 1 | 740067975\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 728627816.\n --> test:1:1\n |\n 1 | 728627816\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 385008978.\n --> test:1:1\n |\n 1 | 385008978\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 553967635.\n --> test:1:1\n |\n 1 | 553967635\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 71980713.\n --> test:1:1\n |\n 1 | 71980713\n | ^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 519444716.\n --> test:1:1\n |\n 1 | 519444716\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 116499965.\n --> test:1:1\n |\n 1 | 116499965\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 717422268.\n --> test:1:1\n |\n 1 | 717422268\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 18966279.\n --> test:1:1\n |\n 1 | 18966279\n | ^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 22458638.\n --> test:1:1\n |\n 1 | 22458638\n | ^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 857282620.\n --> test:1:1\n |\n 1 | 857282620\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 920675898.\n --> test:1:1\n |\n 1 | 920675898\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 762235516.\n --> test:1:1\n |\n 1 | 762235516\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 469018377.\n --> test:1:1\n |\n 1 | 469018377\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 199986521.\n --> test:1:1\n |\n 1 | 199986521\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 536679358.\n --> test:1:1\n |\n 1 | 536679358\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 591399452.\n --> test:1:1\n |\n 1 | 591399452\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 83083158.\n --> test:1:1\n |\n 1 | 83083158\n | ^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 599449051.\n --> test:1:1\n |\n 1 | 599449051\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 445442318.\n --> test:1:1\n |\n 1 | 445442318\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 585486590.\n --> test:1:1\n |\n 1 | 585486590\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 209278800.\n --> test:1:1\n |\n 1 | 209278800\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 873568117.\n --> test:1:1\n |\n 1 | 873568117\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 664470940.\n --> test:1:1\n |\n 1 | 664470940\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 465262783.\n --> test:1:1\n |\n 1 | 465262783\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 605652874.\n --> test:1:1\n |\n 1 | 605652874\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 376803940.\n --> test:1:1\n |\n 1 | 376803940\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 965247040.\n --> test:1:1\n |\n 1 | 965247040\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 598474509.\n --> test:1:1\n |\n 1 | 598474509\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 845119918.\n --> test:1:1\n |\n 1 | 845119918\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 648159133.\n --> test:1:1\n |\n 1 | 648159133\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 669051032.\n --> test:1:1\n |\n 1 | 669051032\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 800600261.\n --> test:1:1\n |\n 1 | 800600261\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 434689764.\n --> test:1:1\n |\n 1 | 434689764\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 520060080.\n --> test:1:1\n |\n 1 | 520060080\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 804659385.\n --> test:1:1\n |\n 1 | 804659385\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 537828058.\n --> test:1:1\n |\n 1 | 537828058\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 716600292.\n --> test:1:1\n |\n 1 | 716600292\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 387020273.\n --> test:1:1\n |\n 1 | 387020273\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 199375617.\n --> test:1:1\n |\n 1 | 199375617\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 680337189.\n --> test:1:1\n |\n 1 | 680337189\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 818479931.\n --> test:1:1\n |\n 1 | 818479931\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 893693281.\n --> test:1:1\n |\n 1 | 893693281\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 87377802.\n --> test:1:1\n |\n 1 | 87377802\n | ^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 84699261.\n --> test:1:1\n |\n 1 | 84699261\n | ^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 292826090.\n --> test:1:1\n |\n 1 | 292826090\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 569171405.\n --> test:1:1\n |\n 1 | 569171405\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 387436237.\n --> test:1:1\n |\n 1 | 387436237\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 150682190.\n --> test:1:1\n |\n 1 | 150682190\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 888770419.\n --> test:1:1\n |\n 1 | 888770419\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 824696431.\n --> test:1:1\n |\n 1 | 824696431\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 765659803.\n --> test:1:1\n |\n 1 | 765659803\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 270163693.\n --> test:1:1\n |\n 1 | 270163693\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 427940240.\n --> test:1:1\n |\n 1 | 427940240\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 504997332.\n --> test:1:1\n |\n 1 | 504997332\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 337808338.\n --> test:1:1\n |\n 1 | 337808338\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 907200008.\n --> test:1:1\n |\n 1 | 907200008\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 757177889.\n --> test:1:1\n |\n 1 | 757177889\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 696697188.\n --> test:1:1\n |\n 1 | 696697188\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 41376051.\n --> test:1:1\n |\n 1 | 41376051\n | ^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 496293518.\n --> test:1:1\n |\n 1 | 496293518\n | ^^^^^^^^^"
- "Error [EPAR0370017]: Could not parse the implicit value: 251218820.\n --> test:1:1\n |\n 1 | 251218820\n | ^^^^^^^^^"

View File

@ -0,0 +1,739 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Literal:
Group:
Single:
- "123"
- span:
lo: 0
hi: 8
- Literal:
Group:
Single:
- "123"
- span:
lo: 0
hi: 8
- Literal:
Group:
Single:
- "456"
- span:
lo: 0
hi: 8
- Literal:
Group:
Single:
- "87377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 85
- Literal:
Group:
Single:
- "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 405
- Literal:
Group:
Single:
- "340130024"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "158951116"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "155529659"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "642023166"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "228481736"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "469712960"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "929437719"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "721072814"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "363254789"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "906732565"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "288246391"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "724940549"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "487101620"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "261373583"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "891163927"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "743967544"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "8372586"
- span:
lo: 0
hi: 12
- Literal:
Group:
Single:
- "461793278"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "806307045"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "122764546"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "356336181"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "158370903"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "774460877"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "557174131"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "492401267"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "893445620"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "957757048"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "721540649"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "390746493"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "211251725"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "938266114"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "156985870"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "703831126"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "729964155"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "988151305"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "320872435"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "719287167"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "152289486"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "740067975"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "728627816"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "385008978"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "553967635"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "71980713"
- span:
lo: 0
hi: 13
- Literal:
Group:
Single:
- "519444716"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "116499965"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "717422268"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "18966279"
- span:
lo: 0
hi: 13
- Literal:
Group:
Single:
- "22458638"
- span:
lo: 0
hi: 13
- Literal:
Group:
Single:
- "857282620"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "920675898"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "762235516"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "469018377"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "199986521"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "536679358"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "591399452"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "83083158"
- span:
lo: 0
hi: 13
- Literal:
Group:
Single:
- "599449051"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "445442318"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "585486590"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "209278800"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "873568117"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "664470940"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "465262783"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "605652874"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "376803940"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "965247040"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "598474509"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "845119918"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "648159133"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "669051032"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "800600261"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "434689764"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "520060080"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "804659385"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "537828058"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "716600292"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "387020273"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "199375617"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "680337189"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "818479931"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "893693281"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "87377802"
- span:
lo: 0
hi: 13
- Literal:
Group:
Single:
- "84699261"
- span:
lo: 0
hi: 13
- Literal:
Group:
Single:
- "292826090"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "569171405"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "387436237"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "150682190"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "888770419"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "824696431"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "765659803"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "270163693"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "427940240"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "504997332"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "337808338"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "907200008"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "757177889"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "696697188"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "41376051"
- span:
lo: 0
hi: 13
- Literal:
Group:
Single:
- "496293518"
- span:
lo: 0
hi: 14
- Literal:
Group:
Single:
- "251218820"
- span:
lo: 0
hi: 14

View File

@ -0,0 +1,634 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Literal:
Scalar:
- "123"
- span:
lo: 0
hi: 9
- Literal:
Scalar:
- "123"
- span:
lo: 0
hi: 9
- Literal:
Scalar:
- "456"
- span:
lo: 0
hi: 9
- Literal:
Scalar:
- "87377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 86
- Literal:
Scalar:
- "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 406
- Literal:
Scalar:
- "340130024"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "158951116"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "155529659"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "642023166"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "228481736"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "469712960"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "929437719"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "721072814"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "363254789"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "906732565"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "288246391"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "724940549"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "487101620"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "261373583"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "891163927"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "743967544"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "8372586"
- span:
lo: 0
hi: 13
- Literal:
Scalar:
- "461793278"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "806307045"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "122764546"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "356336181"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "158370903"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "774460877"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "557174131"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "492401267"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "893445620"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "957757048"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "721540649"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "390746493"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "211251725"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "938266114"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "156985870"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "703831126"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "729964155"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "988151305"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "320872435"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "719287167"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "152289486"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "740067975"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "728627816"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "385008978"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "553967635"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "71980713"
- span:
lo: 0
hi: 14
- Literal:
Scalar:
- "519444716"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "116499965"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "717422268"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "18966279"
- span:
lo: 0
hi: 14
- Literal:
Scalar:
- "22458638"
- span:
lo: 0
hi: 14
- Literal:
Scalar:
- "857282620"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "920675898"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "762235516"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "469018377"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "199986521"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "536679358"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "591399452"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "83083158"
- span:
lo: 0
hi: 14
- Literal:
Scalar:
- "599449051"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "445442318"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "585486590"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "209278800"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "873568117"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "664470940"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "465262783"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "605652874"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "376803940"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "965247040"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "598474509"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "845119918"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "648159133"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "669051032"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "800600261"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "434689764"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "520060080"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "804659385"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "537828058"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "716600292"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "387020273"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "199375617"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "680337189"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "818479931"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "893693281"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "87377802"
- span:
lo: 0
hi: 14
- Literal:
Scalar:
- "84699261"
- span:
lo: 0
hi: 14
- Literal:
Scalar:
- "292826090"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "569171405"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "387436237"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "150682190"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "888770419"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "824696431"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "765659803"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "270163693"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "427940240"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "504997332"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "337808338"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "907200008"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "757177889"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "696697188"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "41376051"
- span:
lo: 0
hi: 14
- Literal:
Scalar:
- "496293518"
- span:
lo: 0
hi: 15
- Literal:
Scalar:
- "251218820"
- span:
lo: 0
hi: 15

View File

@ -0,0 +1,739 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Literal:
Integer:
- U128
- "123"
- span:
lo: 0
hi: 7
- Literal:
Integer:
- U128
- "123"
- span:
lo: 0
hi: 7
- Literal:
Integer:
- U128
- "456"
- span:
lo: 0
hi: 7
- Literal:
Integer:
- U128
- "87377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 84
- Literal:
Integer:
- U128
- "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 404
- Literal:
Integer:
- U128
- "340130024"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "158951116"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "155529659"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "642023166"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "228481736"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "469712960"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "929437719"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "721072814"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "363254789"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "906732565"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "288246391"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "724940549"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "487101620"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "261373583"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "891163927"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "743967544"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "8372586"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U128
- "461793278"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "806307045"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "122764546"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "356336181"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "158370903"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "774460877"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "557174131"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "492401267"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "893445620"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "957757048"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "721540649"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "390746493"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "211251725"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "938266114"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "156985870"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "703831126"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "729964155"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "988151305"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "320872435"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "719287167"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "152289486"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "740067975"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "728627816"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "385008978"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "553967635"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "71980713"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U128
- "519444716"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "116499965"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "717422268"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "18966279"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U128
- "22458638"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U128
- "857282620"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "920675898"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "762235516"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "469018377"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "199986521"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "536679358"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "591399452"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "83083158"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U128
- "599449051"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "445442318"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "585486590"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "209278800"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "873568117"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "664470940"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "465262783"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "605652874"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "376803940"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "965247040"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "598474509"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "845119918"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "648159133"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "669051032"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "800600261"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "434689764"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "520060080"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "804659385"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "537828058"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "716600292"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "387020273"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "199375617"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "680337189"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "818479931"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "893693281"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "87377802"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U128
- "84699261"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U128
- "292826090"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "569171405"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "387436237"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "150682190"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "888770419"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "824696431"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "765659803"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "270163693"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "427940240"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "504997332"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "337808338"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "907200008"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "757177889"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "696697188"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "41376051"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U128
- "496293518"
- span:
lo: 0
hi: 13
- Literal:
Integer:
- U128
- "251218820"
- span:
lo: 0
hi: 13

View File

@ -0,0 +1,739 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Literal:
Integer:
- U16
- "123"
- span:
lo: 0
hi: 6
- Literal:
Integer:
- U16
- "123"
- span:
lo: 0
hi: 6
- Literal:
Integer:
- U16
- "456"
- span:
lo: 0
hi: 6
- Literal:
Integer:
- U16
- "87377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 83
- Literal:
Integer:
- U16
- "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 403
- Literal:
Integer:
- U16
- "340130024"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "158951116"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "155529659"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "642023166"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "228481736"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "469712960"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "929437719"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "721072814"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "363254789"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "906732565"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "288246391"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "724940549"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "487101620"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "261373583"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "891163927"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "743967544"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "8372586"
- span:
lo: 0
hi: 10
- Literal:
Integer:
- U16
- "461793278"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "806307045"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "122764546"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "356336181"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "158370903"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "774460877"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "557174131"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "492401267"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "893445620"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "957757048"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "721540649"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "390746493"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "211251725"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "938266114"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "156985870"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "703831126"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "729964155"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "988151305"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "320872435"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "719287167"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "152289486"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "740067975"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "728627816"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "385008978"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "553967635"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "71980713"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U16
- "519444716"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "116499965"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "717422268"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "18966279"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U16
- "22458638"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U16
- "857282620"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "920675898"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "762235516"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "469018377"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "199986521"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "536679358"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "591399452"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "83083158"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U16
- "599449051"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "445442318"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "585486590"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "209278800"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "873568117"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "664470940"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "465262783"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "605652874"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "376803940"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "965247040"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "598474509"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "845119918"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "648159133"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "669051032"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "800600261"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "434689764"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "520060080"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "804659385"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "537828058"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "716600292"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "387020273"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "199375617"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "680337189"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "818479931"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "893693281"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "87377802"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U16
- "84699261"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U16
- "292826090"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "569171405"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "387436237"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "150682190"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "888770419"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "824696431"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "765659803"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "270163693"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "427940240"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "504997332"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "337808338"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "907200008"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "757177889"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "696697188"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "41376051"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U16
- "496293518"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U16
- "251218820"
- span:
lo: 0
hi: 12

View File

@ -0,0 +1,739 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Literal:
Integer:
- U32
- "123"
- span:
lo: 0
hi: 6
- Literal:
Integer:
- U32
- "123"
- span:
lo: 0
hi: 6
- Literal:
Integer:
- U32
- "456"
- span:
lo: 0
hi: 6
- Literal:
Integer:
- U32
- "87377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 83
- Literal:
Integer:
- U32
- "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 403
- Literal:
Integer:
- U32
- "340130024"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "158951116"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "155529659"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "642023166"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "228481736"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "469712960"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "929437719"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "721072814"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "363254789"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "906732565"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "288246391"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "724940549"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "487101620"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "261373583"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "891163927"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "743967544"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "8372586"
- span:
lo: 0
hi: 10
- Literal:
Integer:
- U32
- "461793278"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "806307045"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "122764546"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "356336181"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "158370903"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "774460877"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "557174131"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "492401267"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "893445620"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "957757048"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "721540649"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "390746493"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "211251725"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "938266114"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "156985870"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "703831126"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "729964155"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "988151305"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "320872435"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "719287167"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "152289486"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "740067975"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "728627816"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "385008978"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "553967635"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "71980713"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U32
- "519444716"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "116499965"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "717422268"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "18966279"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U32
- "22458638"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U32
- "857282620"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "920675898"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "762235516"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "469018377"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "199986521"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "536679358"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "591399452"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "83083158"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U32
- "599449051"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "445442318"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "585486590"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "209278800"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "873568117"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "664470940"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "465262783"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "605652874"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "376803940"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "965247040"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "598474509"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "845119918"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "648159133"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "669051032"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "800600261"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "434689764"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "520060080"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "804659385"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "537828058"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "716600292"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "387020273"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "199375617"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "680337189"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "818479931"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "893693281"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "87377802"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U32
- "84699261"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U32
- "292826090"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "569171405"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "387436237"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "150682190"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "888770419"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "824696431"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "765659803"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "270163693"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "427940240"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "504997332"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "337808338"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "907200008"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "757177889"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "696697188"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "41376051"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U32
- "496293518"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U32
- "251218820"
- span:
lo: 0
hi: 12

View File

@ -0,0 +1,739 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Literal:
Integer:
- U64
- "123"
- span:
lo: 0
hi: 6
- Literal:
Integer:
- U64
- "123"
- span:
lo: 0
hi: 6
- Literal:
Integer:
- U64
- "456"
- span:
lo: 0
hi: 6
- Literal:
Integer:
- U64
- "87377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 83
- Literal:
Integer:
- U64
- "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 403
- Literal:
Integer:
- U64
- "340130024"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "158951116"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "155529659"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "642023166"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "228481736"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "469712960"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "929437719"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "721072814"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "363254789"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "906732565"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "288246391"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "724940549"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "487101620"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "261373583"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "891163927"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "743967544"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "8372586"
- span:
lo: 0
hi: 10
- Literal:
Integer:
- U64
- "461793278"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "806307045"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "122764546"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "356336181"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "158370903"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "774460877"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "557174131"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "492401267"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "893445620"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "957757048"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "721540649"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "390746493"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "211251725"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "938266114"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "156985870"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "703831126"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "729964155"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "988151305"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "320872435"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "719287167"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "152289486"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "740067975"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "728627816"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "385008978"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "553967635"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "71980713"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U64
- "519444716"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "116499965"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "717422268"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "18966279"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U64
- "22458638"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U64
- "857282620"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "920675898"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "762235516"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "469018377"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "199986521"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "536679358"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "591399452"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "83083158"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U64
- "599449051"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "445442318"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "585486590"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "209278800"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "873568117"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "664470940"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "465262783"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "605652874"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "376803940"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "965247040"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "598474509"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "845119918"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "648159133"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "669051032"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "800600261"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "434689764"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "520060080"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "804659385"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "537828058"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "716600292"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "387020273"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "199375617"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "680337189"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "818479931"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "893693281"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "87377802"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U64
- "84699261"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U64
- "292826090"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "569171405"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "387436237"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "150682190"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "888770419"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "824696431"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "765659803"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "270163693"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "427940240"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "504997332"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "337808338"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "907200008"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "757177889"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "696697188"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "41376051"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U64
- "496293518"
- span:
lo: 0
hi: 12
- Literal:
Integer:
- U64
- "251218820"
- span:
lo: 0
hi: 12

View File

@ -0,0 +1,739 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Literal:
Integer:
- U8
- "123"
- span:
lo: 0
hi: 5
- Literal:
Integer:
- U8
- "123"
- span:
lo: 0
hi: 5
- Literal:
Integer:
- U8
- "456"
- span:
lo: 0
hi: 5
- Literal:
Integer:
- U8
- "87377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 82
- Literal:
Integer:
- U8
- "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802"
- span:
lo: 0
hi: 402
- Literal:
Integer:
- U8
- "340130024"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "158951116"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "155529659"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "642023166"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "228481736"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "469712960"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "929437719"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "721072814"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "363254789"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "906732565"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "288246391"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "724940549"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "487101620"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "261373583"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "891163927"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "743967544"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "8372586"
- span:
lo: 0
hi: 9
- Literal:
Integer:
- U8
- "461793278"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "806307045"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "122764546"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "356336181"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "158370903"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "774460877"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "557174131"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "492401267"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "893445620"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "957757048"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "721540649"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "390746493"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "211251725"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "938266114"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "156985870"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "703831126"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "729964155"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "988151305"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "320872435"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "719287167"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "152289486"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "740067975"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "728627816"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "385008978"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "553967635"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "71980713"
- span:
lo: 0
hi: 10
- Literal:
Integer:
- U8
- "519444716"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "116499965"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "717422268"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "18966279"
- span:
lo: 0
hi: 10
- Literal:
Integer:
- U8
- "22458638"
- span:
lo: 0
hi: 10
- Literal:
Integer:
- U8
- "857282620"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "920675898"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "762235516"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "469018377"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "199986521"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "536679358"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "591399452"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "83083158"
- span:
lo: 0
hi: 10
- Literal:
Integer:
- U8
- "599449051"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "445442318"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "585486590"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "209278800"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "873568117"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "664470940"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "465262783"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "605652874"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "376803940"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "965247040"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "598474509"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "845119918"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "648159133"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "669051032"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "800600261"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "434689764"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "520060080"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "804659385"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "537828058"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "716600292"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "387020273"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "199375617"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "680337189"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "818479931"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "893693281"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "87377802"
- span:
lo: 0
hi: 10
- Literal:
Integer:
- U8
- "84699261"
- span:
lo: 0
hi: 10
- Literal:
Integer:
- U8
- "292826090"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "569171405"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "387436237"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "150682190"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "888770419"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "824696431"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "765659803"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "270163693"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "427940240"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "504997332"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "337808338"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "907200008"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "757177889"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "696697188"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "41376051"
- span:
lo: 0
hi: 10
- Literal:
Integer:
- U8
- "496293518"
- span:
lo: 0
hi: 11
- Literal:
Integer:
- U8
- "251218820"
- span:
lo: 0
hi: 11

View File

@ -0,0 +1,62 @@
---
namespace: Token
expectation: Pass
outputs:
- "'field' @ 1:1-6"
- "'Field' @ 1:1-6"
- "'fielD' @ 1:1-6"
- "'FIELD' @ 1:1-6"
- "'group' @ 1:1-6"
- "'Group' @ 1:1-6"
- "'grouP' @ 1:1-6"
- "'GROUP' @ 1:1-6"
- "'u8' @ 1:1-3"
- "'u16' @ 1:1-4"
- "'u32' @ 1:1-4"
- "'u64' @ 1:1-4"
- "'u128' @ 1:1-5"
- "'i8' @ 1:1-3"
- "'i16' @ 1:1-4"
- "'i32' @ 1:1-4"
- "'i64' @ 1:1-4"
- "'i128' @ 1:1-5"
- "'U8' @ 1:1-3"
- "'U16' @ 1:1-4"
- "'U32' @ 1:1-4"
- "'U64' @ 1:1-4"
- "'U128' @ 1:1-5"
- "'U8' @ 1:1-3"
- "'U16' @ 1:1-4"
- "'U32' @ 1:1-4"
- "'U64' @ 1:1-4"
- "'U128' @ 1:1-5"
- "'u' @ 1:1-2"
- "'8' @ 1:1-2"
- "'u' @ 1:1-2"
- "'16' @ 1:1-3"
- "'u' @ 1:1-2"
- "'32' @ 1:1-3"
- "'u' @ 1:1-2"
- "'64' @ 1:1-3"
- "'u' @ 1:1-2"
- "'128' @ 1:1-4"
- "'i' @ 1:1-2"
- "'8' @ 1:1-2"
- "'i' @ 1:1-2"
- "'16' @ 1:1-3"
- "'i' @ 1:1-2"
- "'32' @ 1:1-3"
- "'i' @ 1:1-2"
- "'64' @ 1:1-3"
- "'i' @ 1:1-2"
- "'128' @ 1:1-4"
- "'U' @ 1:1-2,'8' @ 1:3-4"
- "'U' @ 1:1-2,'16' @ 1:3-5"
- "'U' @ 1:1-2,'32' @ 1:3-5"
- "'U' @ 1:1-2,'64' @ 1:3-5"
- "'U' @ 1:1-2,'128' @ 1:3-6"
- "'U' @ 1:1-2,'8' @ 1:3-4"
- "'U' @ 1:1-2,'16' @ 1:3-5"
- "'U' @ 1:1-2,'32' @ 1:3-5"
- "'U' @ 1:1-2,'64' @ 1:3-5"
- "'U' @ 1:1-2,'128' @ 1:3-6"

View File

@ -0,0 +1,25 @@
---
namespace: Token
expectation: Pass
outputs:
- "'\"string\"' @ 1:1-9"
- "'\"another { } string\"' @ 1:1-21"
- "'\"{ ] [ ; a\"' @ 1:1-12"
- "'\"test 😒€\"' @ 1:1-10"
- "'\"😭😂😘\"' @ 1:1-6"
- "'\"✋🏿\"' @ 1:1-5"
- "'\"🦀\"' @ 1:1-4"
- "'\"￿\"' @ 1:1-4"
- "'\"<22><><EFBFBD>\"' @ 1:1-6"
- "'\"><)三\"' @ 1:1-9"
- "'\"ヽ༼ ಠ益ಠ ༽ノ\"' @ 1:1-12"
- "'\"(╯°□°)╯︵ ┻━┻\"' @ 1:1-15"
- "'\"┬─┬ ( ゜-゜ノ)\"' @ 1:1-15"
- "'\"( ͡° ͜ʖ ͡°)\"' @ 1:1-14"
- "'\"b\"' @ 1:1-4"
- "'\"ᕙ(▀̿ĺ̯▀̿ ̿)ᕗ\"' @ 1:1-15"
- "'\"♥╣[-_-]╠♥\"' @ 1:1-12"
- "'\"b\"' @ 1:1-4"
- "'\"(⑅∫°ਊ°)∫\"' @ 1:1-11"
- "'\"b\"' @ 1:1-4"
- "'\"🦀°1\"' @ 1:1-6"

View File

@ -0,0 +1,8 @@
---
namespace: Token
expectation: Fail
outputs:
- "Error [EPAR0370013]: Expected a closed string but found `Hello world!`."
- "Error [EPAR0370013]: Expected a closed string but found `\\`."
- "Error [EPAR0370013]: Expected a closed string but found `⭇😍;`."
- "Error [EPAR0370020]: Unicode bidi override code point encountered."

View File

@ -0,0 +1,52 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Ternary:
condition:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
if_true:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
if_false:
Identifier: "{\"name\":\"z\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
span:
lo: 0
hi: 9
- Ternary:
condition:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
if_true:
Ternary:
condition:
Identifier: "{\"name\":\"a\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
if_true:
Identifier: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
if_false:
Identifier: "{\"name\":\"c\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}"
span:
lo: 4
hi: 13
if_false:
Identifier: "{\"name\":\"z\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
span:
lo: 0
hi: 17
- Ternary:
condition:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
if_true:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
if_false:
Ternary:
condition:
Identifier: "{\"name\":\"a\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
if_true:
Identifier: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}"
if_false:
Identifier: "{\"name\":\"c\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
span:
lo: 8
hi: 17
span:
lo: 0
hi: 17

View File

@ -0,0 +1,74 @@
---
namespace: ParseExpression
expectation: Fail
outputs:
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `'h'`.\n"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '@'\n --> test:1:1\n |\n 1 | @test\n | ^"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '&&'\n --> test:1:1\n |\n 1 | &&\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '||'\n --> test:1:1\n |\n 1 | ||\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '=='\n --> test:1:1\n |\n 1 | ==\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '!='\n --> test:1:1\n |\n 1 | !=\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '<'\n --> test:1:1\n |\n 1 | <\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '<='\n --> test:1:1\n |\n 1 | <=\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '>'\n --> test:1:1\n |\n 1 | >\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '>='\n --> test:1:1\n |\n 1 | >=\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '+'\n --> test:1:1\n |\n 1 | +\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '<eof>'\n --> test:1:1\n |\n 1 | -\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '*'\n --> test:1:1\n |\n 1 | *\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '**'\n --> test:1:1\n |\n 1 | **\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '/'\n --> test:1:1\n |\n 1 | /\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '='\n --> test:1:1\n |\n 1 | =\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '+='\n --> test:1:1\n |\n 1 | +=\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '-='\n --> test:1:1\n |\n 1 | -=\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '*='\n --> test:1:1\n |\n 1 | *=\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '/='\n --> test:1:1\n |\n 1 | /=\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '**='\n --> test:1:1\n |\n 1 | **=\n | ^^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '<eof>'\n --> test:1:1\n |\n 1 | (\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found ')'\n --> test:1:1\n |\n 1 | )\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '['\n --> test:1:1\n |\n 1 | [\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found ']'\n --> test:1:1\n |\n 1 | ]\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '{'\n --> test:1:1\n |\n 1 | {\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '}'\n --> test:1:1\n |\n 1 | }\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found ','\n --> test:1:1\n |\n 1 | ,\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '.'\n --> test:1:1\n |\n 1 | .\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '..'\n --> test:1:1\n |\n 1 | ..\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '..'\n --> test:1:1\n |\n 1 | ...\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found ';'\n --> test:1:1\n |\n 1 | ;\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found ':'\n --> test:1:1\n |\n 1 | :\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'identifier', found '<eof>'\n --> test:1:2\n |\n 1 | h::\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '?'\n --> test:1:1\n |\n 1 | ?\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '->'\n --> test:1:1\n |\n 1 | ->\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '_'\n --> test:1:1\n |\n 1 | _\n | ^"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370016]: Could not lex the following content: `~`.\n"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found 'console'\n --> test:1:1\n |\n 1 | console\n | ^^^^^^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found 'const'\n --> test:1:1\n |\n 1 | const\n | ^^^^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found 'else'\n --> test:1:1\n |\n 1 | else\n | ^^^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found 'for'\n --> test:1:1\n |\n 1 | for\n | ^^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found 'function'\n --> test:1:1\n |\n 1 | function\n | ^^^^^^^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found 'in'\n --> test:1:1\n |\n 1 | in\n | ^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found 'let'\n --> test:1:1\n |\n 1 | let\n | ^^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '&'\n --> test:1:1\n |\n 1 | &\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found 'return'\n --> test:1:1\n |\n 1 | return\n | ^^^^^^"

View File

@ -0,0 +1,146 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
op: Abs
span:
lo: 0
hi: 7
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
op: Abs
span:
lo: 0
hi: 7
op: Abs
span:
lo: 0
hi: 13
op: Abs
span:
lo: 0
hi: 19
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
op: Abs
span:
lo: 1
hi: 8
op: Negate
span:
lo: 0
hi: 8
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
op: Abs
span:
lo: 1
hi: 10
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Abs
span:
lo: 2
hi: 9
op: Negate
span:
lo: 0
hi: 9
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Abs
span:
lo: 2
hi: 9
op: Negate
span:
lo: 1
hi: 9
op: Abs
span:
lo: 1
hi: 16
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
op: Abs
span:
lo: 1
hi: 8
op: Not
span:
lo: 0
hi: 8
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
op: Abs
span:
lo: 1
hi: 10
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Abs
span:
lo: 2
hi: 9
op: Not
span:
lo: 0
hi: 9
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Abs
span:
lo: 2
hi: 9
op: Not
span:
lo: 1
hi: 9
op: Abs
span:
lo: 1
hi: 16

View File

@ -0,0 +1,146 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
op: AbsWrapped
span:
lo: 0
hi: 15
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
op: AbsWrapped
span:
lo: 0
hi: 15
op: AbsWrapped
span:
lo: 0
hi: 29
op: AbsWrapped
span:
lo: 0
hi: 43
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
op: AbsWrapped
span:
lo: 1
hi: 16
op: Negate
span:
lo: 0
hi: 16
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
op: AbsWrapped
span:
lo: 1
hi: 18
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: AbsWrapped
span:
lo: 2
hi: 17
op: Negate
span:
lo: 0
hi: 17
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: AbsWrapped
span:
lo: 2
hi: 17
op: Negate
span:
lo: 1
hi: 17
op: AbsWrapped
span:
lo: 1
hi: 32
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
op: AbsWrapped
span:
lo: 1
hi: 16
op: Not
span:
lo: 0
hi: 16
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
op: AbsWrapped
span:
lo: 1
hi: 18
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: AbsWrapped
span:
lo: 2
hi: 17
op: Not
span:
lo: 0
hi: 17
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: AbsWrapped
span:
lo: 2
hi: 17
op: Not
span:
lo: 1
hi: 17
op: AbsWrapped
span:
lo: 1
hi: 32

View File

@ -0,0 +1,146 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
op: Double
span:
lo: 0
hi: 10
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
op: Double
span:
lo: 0
hi: 10
op: Double
span:
lo: 0
hi: 19
op: Double
span:
lo: 0
hi: 28
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
op: Double
span:
lo: 1
hi: 11
op: Negate
span:
lo: 0
hi: 11
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
op: Double
span:
lo: 1
hi: 13
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Double
span:
lo: 2
hi: 12
op: Negate
span:
lo: 0
hi: 12
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Double
span:
lo: 2
hi: 12
op: Negate
span:
lo: 1
hi: 12
op: Double
span:
lo: 1
hi: 22
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
op: Double
span:
lo: 1
hi: 11
op: Not
span:
lo: 0
hi: 11
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
op: Double
span:
lo: 1
hi: 13
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Double
span:
lo: 2
hi: 12
op: Not
span:
lo: 0
hi: 12
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Double
span:
lo: 2
hi: 12
op: Not
span:
lo: 1
hi: 12
op: Double
span:
lo: 1
hi: 22

View File

@ -0,0 +1,146 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
op: Inverse
span:
lo: 0
hi: 7
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
op: Inverse
span:
lo: 0
hi: 7
op: Inverse
span:
lo: 0
hi: 13
op: Inverse
span:
lo: 0
hi: 19
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
op: Inverse
span:
lo: 1
hi: 8
op: Negate
span:
lo: 0
hi: 8
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
op: Inverse
span:
lo: 1
hi: 10
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Inverse
span:
lo: 2
hi: 9
op: Negate
span:
lo: 0
hi: 9
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Inverse
span:
lo: 2
hi: 9
op: Negate
span:
lo: 1
hi: 9
op: Inverse
span:
lo: 1
hi: 16
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
op: Inverse
span:
lo: 1
hi: 8
op: Not
span:
lo: 0
hi: 8
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
op: Inverse
span:
lo: 1
hi: 10
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Inverse
span:
lo: 2
hi: 9
op: Not
span:
lo: 0
hi: 9
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Inverse
span:
lo: 2
hi: 9
op: Not
span:
lo: 1
hi: 9
op: Inverse
span:
lo: 1
hi: 16

View File

@ -0,0 +1,220 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
op: Negate
span:
lo: 0
hi: 2
- Unary:
receiver:
Call:
function:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
arguments: []
external: ~
span:
lo: 1
hi: 4
op: Negate
span:
lo: 0
hi: 4
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
op: Negate
span:
lo: 0
hi: 3
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
op: Negate
span:
lo: 0
hi: 3
- Literal:
Integer:
- I8
- "-5"
- span:
lo: 0
hi: 4
- Literal:
Integer:
- I8
- "-128"
- span:
lo: 0
hi: 6
- Unary:
receiver:
Literal:
Integer:
- I8
- "128"
- span:
lo: 2
hi: 7
op: Negate
span:
lo: 0
hi: 7
- Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
op: Negate
span:
lo: 0
hi: 7
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
op: Negate
span:
lo: 0
hi: 7
op: Negate
span:
lo: 0
hi: 13
op: Negate
span:
lo: 0
hi: 19
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
op: Negate
span:
lo: 1
hi: 8
op: Negate
span:
lo: 0
hi: 8
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
op: Negate
span:
lo: 1
hi: 10
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 2
hi: 9
op: Negate
span:
lo: 0
hi: 9
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 2
hi: 9
op: Negate
span:
lo: 1
hi: 9
op: Negate
span:
lo: 1
hi: 16
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
op: Negate
span:
lo: 1
hi: 8
op: Not
span:
lo: 0
hi: 8
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
op: Negate
span:
lo: 1
hi: 10
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 2
hi: 9
op: Not
span:
lo: 0
hi: 9
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 2
hi: 9
op: Not
span:
lo: 1
hi: 9
op: Negate
span:
lo: 1
hi: 16

View File

@ -0,0 +1,192 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
op: Not
span:
lo: 0
hi: 2
- Unary:
receiver:
Call:
function:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
arguments: []
external: ~
span:
lo: 1
hi: 4
op: Not
span:
lo: 0
hi: 4
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
op: Not
span:
lo: 0
hi: 3
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 2
hi: 9
op: Negate
span:
lo: 1
hi: 9
op: Not
span:
lo: 0
hi: 9
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
op: Not
span:
lo: 0
hi: 7
op: Not
span:
lo: 0
hi: 13
op: Not
span:
lo: 0
hi: 19
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
op: Not
span:
lo: 1
hi: 8
op: Negate
span:
lo: 0
hi: 8
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
op: Not
span:
lo: 1
hi: 10
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 2
hi: 9
op: Negate
span:
lo: 0
hi: 9
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 2
hi: 9
op: Negate
span:
lo: 1
hi: 9
op: Not
span:
lo: 1
hi: 16
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
op: Not
span:
lo: 1
hi: 8
op: Not
span:
lo: 0
hi: 8
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
op: Not
span:
lo: 1
hi: 10
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 2
hi: 9
op: Not
span:
lo: 0
hi: 9
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 2
hi: 9
op: Not
span:
lo: 1
hi: 9
op: Not
span:
lo: 1
hi: 16

View File

@ -0,0 +1,158 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: SquareRoot
span:
lo: 2
hi: 17
op: Negate
span:
lo: 1
hi: 17
op: Not
span:
lo: 0
hi: 17
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
op: SquareRoot
span:
lo: 0
hi: 15
op: SquareRoot
span:
lo: 0
hi: 29
op: SquareRoot
span:
lo: 0
hi: 43
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
op: SquareRoot
span:
lo: 1
hi: 16
op: Negate
span:
lo: 0
hi: 16
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
op: SquareRoot
span:
lo: 1
hi: 18
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: SquareRoot
span:
lo: 2
hi: 17
op: Negate
span:
lo: 0
hi: 17
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: SquareRoot
span:
lo: 2
hi: 17
op: Negate
span:
lo: 1
hi: 17
op: SquareRoot
span:
lo: 1
hi: 32
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
op: SquareRoot
span:
lo: 1
hi: 16
op: Not
span:
lo: 0
hi: 16
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
op: SquareRoot
span:
lo: 1
hi: 18
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: SquareRoot
span:
lo: 2
hi: 17
op: Not
span:
lo: 0
hi: 17
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: SquareRoot
span:
lo: 2
hi: 17
op: Not
span:
lo: 1
hi: 17
op: SquareRoot
span:
lo: 1
hi: 32

View File

@ -0,0 +1,158 @@
---
namespace: ParseExpression
expectation: Pass
outputs:
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Square
span:
lo: 2
hi: 12
op: Negate
span:
lo: 1
hi: 12
op: Not
span:
lo: 0
hi: 12
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
op: Square
span:
lo: 0
hi: 10
op: Square
span:
lo: 0
hi: 19
op: Square
span:
lo: 0
hi: 28
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
op: Square
span:
lo: 1
hi: 11
op: Negate
span:
lo: 0
hi: 11
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
op: Square
span:
lo: 1
hi: 13
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Square
span:
lo: 2
hi: 12
op: Negate
span:
lo: 0
hi: 12
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Square
span:
lo: 2
hi: 12
op: Negate
span:
lo: 1
hi: 12
op: Square
span:
lo: 1
hi: 22
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
op: Square
span:
lo: 1
hi: 11
op: Not
span:
lo: 0
hi: 11
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
op: Square
span:
lo: 1
hi: 13
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Square
span:
lo: 2
hi: 12
op: Not
span:
lo: 0
hi: 12
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Square
span:
lo: 2
hi: 12
op: Not
span:
lo: 1
hi: 12
op: Square
span:
lo: 1
hi: 22

View File

@ -0,0 +1,34 @@
---
namespace: ParseStatement
expectation: Pass
outputs:
- Decrement:
mapping: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":13}\"}"
index:
Identifier: "{\"name\":\"bar\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":18}\"}"
amount:
Identifier: "{\"name\":\"baz\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":23}\"}"
span:
lo: 0
hi: 24
- Decrement:
mapping: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":13}\"}"
index:
Literal:
Integer:
- U8
- "2"
- span:
lo: 15
hi: 18
amount:
Literal:
Integer:
- U8
- "3"
- span:
lo: 20
hi: 23
span:
lo: 0
hi: 24

View File

@ -0,0 +1,9 @@
---
namespace: ParseStatement
expectation: Fail
outputs:
- "Error [EPAR0370005]: expected ( -- found '['\n --> test:1:10\n |\n 1 | decrement[foo, bar, baz];\n | ^"
- "Error [EPAR0370005]: expected , -- found ')'\n --> test:1:19\n |\n 1 | decrement(foo, bar);\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'identifier', found ')'\n --> test:1:11\n |\n 1 | decrement();\n | ^"
- "Error [EPAR0370005]: expected , -- found ')'\n --> test:1:15\n |\n 1 | decrement(floo)\n | ^"
- "Error [EPAR0370005]: expected ( -- found 'foo'\n --> test:1:11\n |\n 1 | decrement foo[bar] by baz;\n | ^^^"

View File

@ -0,0 +1,106 @@
---
namespace: Parse
expectation: Pass
outputs:
- imports: {}
program_scopes:
"{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}":
program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}"
structs: {}
mappings: {}
functions:
"{\"name\":\"main\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":43}\"}":
annotations: []
call_type: Standard
identifier: "{\"name\":\"main\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":43}\"}"
input: []
output:
- Internal:
mode: None
type_: Boolean
span:
lo: 49
hi: 53
output_type: Boolean
block:
statements: []
span:
lo: 54
hi: 66
finalize:
identifier: "{\"name\":\"main\",\"span\":\"{\\\"lo\\\":85,\\\"hi\\\":89}\"}"
input: []
output: []
output_type: Unit
block:
statements: []
span:
lo: 92
hi: 104
span:
lo: 76
hi: 104
span:
lo: 30
hi: 66
"{\"name\":\"main\",\"span\":\"{\\\"lo\\\":123,\\\"hi\\\":127}\"}":
annotations: []
call_type: Standard
identifier: "{\"name\":\"main\",\"span\":\"{\\\"lo\\\":123,\\\"hi\\\":127}\"}"
input: []
output:
- Internal:
mode: None
type_: Boolean
span:
lo: 133
hi: 137
output_type: Boolean
block:
statements: []
span:
lo: 138
hi: 150
finalize:
identifier: "{\"name\":\"main\",\"span\":\"{\\\"lo\\\":160,\\\"hi\\\":164}\"}"
input:
- Internal:
identifier: "{\"name\":\"a\",\"span\":\"{\\\"lo\\\":165,\\\"hi\\\":166}\"}"
mode: None
type_:
Identifier: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":168,\\\"hi\\\":171}\"}"
span:
lo: 165
hi: 166
- Internal:
identifier: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":173,\\\"hi\\\":174}\"}"
mode: None
type_:
Identifier: "{\"name\":\"bar\",\"span\":\"{\\\"lo\\\":176,\\\"hi\\\":179}\"}"
span:
lo: 173
hi: 174
output:
- Internal:
mode: None
type_:
Identifier: "{\"name\":\"baz\",\"span\":\"{\\\"lo\\\":184,\\\"hi\\\":187}\"}"
span:
lo: 184
hi: 187
output_type:
Identifier: "{\"name\":\"baz\",\"span\":\"{\\\"lo\\\":184,\\\"hi\\\":187}\"}"
block:
statements: []
span:
lo: 188
hi: 200
span:
lo: 151
hi: 200
span:
lo: 114
hi: 150
span:
lo: 2
hi: 212

View File

@ -0,0 +1,5 @@
---
namespace: Parse
expectation: Fail
outputs:
- "Error [EPAR0370009]: unexpected string: expected 'identifier', found '{'\n --> test:6:16\n |\n 6 | } finalize {\n | ^"

View File

@ -0,0 +1,47 @@
---
namespace: ParseStatement
expectation: Pass
outputs:
- Return:
expression:
Unit:
span:
lo: 7
hi: 11
finalize_arguments: []
span:
lo: 0
hi: 21
- Return:
expression:
Unit:
span:
lo: 7
hi: 11
finalize_arguments: []
span:
lo: 0
hi: 23
- Return:
expression:
Unit:
span:
lo: 7
hi: 11
finalize_arguments:
- Identifier: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":21,\\\"hi\\\":24}\"}"
span:
lo: 0
hi: 26
- Return:
expression:
Unit:
span:
lo: 7
hi: 11
finalize_arguments:
- Identifier: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":21,\\\"hi\\\":24}\"}"
- Identifier: "{\"name\":\"bar\",\"span\":\"{\\\"lo\\\":26,\\\"hi\\\":29}\"}"
span:
lo: 0
hi: 31

View File

@ -0,0 +1,11 @@
---
namespace: ParseStatement
expectation: Fail
outputs:
- "Error [EPAR0370031]: `finalize` statements are deprecated.\n --> test:1:1\n |\n 1 | finalize(;\n | ^^^^^^^^\n |\n = Use `return <expr> then finalize(<args>)` instead."
- "Error [EPAR0370031]: `finalize` statements are deprecated.\n --> test:1:1\n |\n 1 | finalize(foo, ,);\n | ^^^^^^^^\n |\n = Use `return <expr> then finalize(<args>)` instead."
- "Error [EPAR0370031]: `finalize` statements are deprecated.\n --> test:1:1\n |\n 1 | finalize(foo, bar)\n | ^^^^^^^^\n |\n = Use `return <expr> then finalize(<args>)` instead."
- "Error [EPAR0370030]: `async finalize` is deprecated.\n --> test:1:1\n |\n 1 | async async finalize(foo);\n | ^^^^^\n |\n = Use `return <expr> then finalize(<args>)` instead."
- "Error [EPAR0370031]: `finalize` statements are deprecated.\n --> test:1:1\n |\n 1 | finalize;\n | ^^^^^^^^\n |\n = Use `return <expr> then finalize(<args>)` instead."
- "Error [EPAR0370005]: expected ; -- found 'finalize'\n --> test:1:6\n |\n 1 | asyn finalize(foo);\n | ^^^^^^^^"
- "Error [EPAR0370005]: expected finalize -- found 'fin'\n --> test:1:13\n |\n 1 | return then fin;\n | ^^^"

View File

@ -0,0 +1,34 @@
---
namespace: ParseStatement
expectation: Pass
outputs:
- Increment:
mapping: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":13}\"}"
index:
Identifier: "{\"name\":\"bar\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":18}\"}"
amount:
Identifier: "{\"name\":\"baz\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":23}\"}"
span:
lo: 0
hi: 24
- Increment:
mapping: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":13}\"}"
index:
Literal:
Integer:
- U8
- "2"
- span:
lo: 15
hi: 18
amount:
Literal:
Integer:
- U8
- "3"
- span:
lo: 20
hi: 23
span:
lo: 0
hi: 24

View File

@ -0,0 +1,9 @@
---
namespace: ParseStatement
expectation: Fail
outputs:
- "Error [EPAR0370005]: expected ( -- found '['\n --> test:1:10\n |\n 1 | increment[foo, bar, baz];\n | ^"
- "Error [EPAR0370005]: expected , -- found ')'\n --> test:1:19\n |\n 1 | increment(foo, bar);\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'identifier', found ')'\n --> test:1:11\n |\n 1 | increment();\n | ^"
- "Error [EPAR0370005]: expected , -- found ')'\n --> test:1:15\n |\n 1 | increment(floo)\n | ^"
- "Error [EPAR0370005]: expected ( -- found 'foo'\n --> test:1:11\n |\n 1 | increment foo[bar] by baz;\n | ^^^"

View File

@ -0,0 +1,32 @@
---
namespace: Parse
expectation: Pass
outputs:
- imports: {}
program_scopes:
"{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}":
program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}"
structs: {}
mappings:
"{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":38,\\\"hi\\\":41}\"}":
identifier: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":38,\\\"hi\\\":41}\"}"
key_type:
Identifier: "{\"name\":\"bar\",\"span\":\"{\\\"lo\\\":43,\\\"hi\\\":46}\"}"
value_type:
Identifier: "{\"name\":\"baz\",\"span\":\"{\\\"lo\\\":50,\\\"hi\\\":53}\"}"
span:
lo: 30
hi: 54
"{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":72,\\\"hi\\\":75}\"}":
identifier: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":72,\\\"hi\\\":75}\"}"
key_type:
Integer: U8
value_type:
Integer: U8
span:
lo: 64
hi: 86
functions: {}
span:
lo: 2
hi: 88

View File

@ -0,0 +1,5 @@
---
namespace: Parse
expectation: Fail
outputs:
- "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'u8'\n --> test:4:13\n |\n 4 | mapping u8: u8 => u8;\n | ^^"

View File

@ -0,0 +1,5 @@
---
namespace: Parse
expectation: Fail
outputs:
- "Error [EPAR0370005]: expected 'function', 'transition' -- found '('\n --> test:4:9\n |\n 4 | @foo(?, bar, ?)\n | ^"

View File

@ -0,0 +1,96 @@
---
namespace: Parse
expectation: Pass
outputs:
- imports: {}
program_scopes:
"{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}":
program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}"
structs: {}
mappings: {}
functions:
"{\"name\":\"f\",\"span\":\"{\\\"lo\\\":52,\\\"hi\\\":53}\"}":
annotations:
- identifier: "{\"name\":\"context\",\"span\":\"{\\\"lo\\\":31,\\\"hi\\\":38}\"}"
span:
lo: 30
hi: 38
call_type: Standard
identifier: "{\"name\":\"f\",\"span\":\"{\\\"lo\\\":52,\\\"hi\\\":53}\"}"
input: []
output:
- Internal:
mode: None
type_:
Integer: U8
span:
lo: 59
hi: 61
output_type:
Integer: U8
block:
statements:
- Return:
expression:
Literal:
Integer:
- U8
- "1"
- span:
lo: 79
hi: 82
finalize_arguments: ~
span:
lo: 72
hi: 83
span:
lo: 62
hi: 89
finalize: ~
span:
lo: 43
hi: 89
"{\"name\":\"g\",\"span\":\"{\\\"lo\\\":141,\\\"hi\\\":142}\"}":
annotations:
- identifier: "{\"name\":\"context\",\"span\":\"{\\\"lo\\\":100,\\\"hi\\\":107}\"}"
span:
lo: 99
hi: 107
call_type: Standard
identifier: "{\"name\":\"g\",\"span\":\"{\\\"lo\\\":141,\\\"hi\\\":142}\"}"
input: []
output:
- Internal:
mode: None
type_:
Integer: U8
span:
lo: 148
hi: 150
output_type:
Integer: U8
block:
statements:
- Return:
expression:
Literal:
Integer:
- U8
- "2"
- span:
lo: 168
hi: 171
finalize_arguments: ~
span:
lo: 161
hi: 172
span:
lo: 151
hi: 178
finalize: ~
span:
lo: 132
hi: 178
span:
lo: 2
hi: 180

View File

@ -0,0 +1,130 @@
---
namespace: Parse
expectation: Pass
outputs:
- imports: {}
program_scopes:
"{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}":
program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}"
structs: {}
mappings: {}
functions:
"{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":66,\\\"hi\\\":69}\"}":
annotations:
- identifier: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":31,\\\"hi\\\":34}\"}"
span:
lo: 30
hi: 34
- identifier: "{\"name\":\"bar\",\"span\":\"{\\\"lo\\\":40,\\\"hi\\\":43}\"}"
span:
lo: 39
hi: 43
- identifier: "{\"name\":\"baz\",\"span\":\"{\\\"lo\\\":49,\\\"hi\\\":52}\"}"
span:
lo: 48
hi: 52
call_type: Standard
identifier: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":66,\\\"hi\\\":69}\"}"
input: []
output:
- Internal:
mode: None
type_:
Integer: U8
span:
lo: 75
hi: 77
output_type:
Integer: U8
block:
statements: []
span:
lo: 78
hi: 80
finalize: ~
span:
lo: 57
hi: 80
"{\"name\":\"mint\",\"span\":\"{\\\"lo\\\":101,\\\"hi\\\":105}\"}":
annotations: []
call_type: Transition
identifier: "{\"name\":\"mint\",\"span\":\"{\\\"lo\\\":101,\\\"hi\\\":105}\"}"
input: []
output:
- Internal:
mode: None
type_:
Integer: U8
span:
lo: 111
hi: 113
output_type:
Integer: U8
block:
statements: []
span:
lo: 114
hi: 116
finalize: ~
span:
lo: 90
hi: 116
"{\"name\":\"test\",\"span\":\"{\\\"lo\\\":145,\\\"hi\\\":149}\"}":
annotations:
- identifier: "{\"name\":\"test\",\"span\":\"{\\\"lo\\\":127,\\\"hi\\\":131}\"}"
span:
lo: 126
hi: 131
call_type: Standard
identifier: "{\"name\":\"test\",\"span\":\"{\\\"lo\\\":145,\\\"hi\\\":149}\"}"
input: []
output:
- Internal:
mode: None
type_:
Integer: U8
span:
lo: 155
hi: 157
output_type:
Integer: U8
block:
statements: []
span:
lo: 158
hi: 160
finalize: ~
span:
lo: 136
hi: 160
"{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":192,\\\"hi\\\":195}\"}":
annotations:
- identifier: "{\"name\":\"program\",\"span\":\"{\\\"lo\\\":171,\\\"hi\\\":178}\"}"
span:
lo: 170
hi: 178
call_type: Standard
identifier: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":192,\\\"hi\\\":195}\"}"
input: []
output:
- Internal:
mode: None
type_:
Integer: U8
span:
lo: 201
hi: 203
output_type:
Integer: U8
block:
statements: []
span:
lo: 204
hi: 206
finalize: ~
span:
lo: 183
hi: 206
span:
lo: 2
hi: 208

View File

@ -0,0 +1,156 @@
---
namespace: Parse
expectation: Pass
outputs:
- imports: {}
program_scopes:
"{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}":
program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}"
structs: {}
mappings: {}
functions:
"{\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}":
annotations: []
call_type: Standard
identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}"
input:
- Internal:
identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":50,\\\"hi\\\":51}\"}"
mode: Const
type_:
Integer: U32
span:
lo: 50
hi: 51
output:
- Internal:
mode: None
type_:
Integer: U8
span:
lo: 61
hi: 63
output_type:
Integer: U8
block:
statements:
- Conditional:
condition:
Binary:
left:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":77,\\\"hi\\\":78}\"}"
right:
Literal:
Integer:
- U32
- "5"
- span:
lo: 81
hi: 85
op: Lt
span:
lo: 77
hi: 85
then:
statements:
- Expression:
expression:
Call:
function:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":100,\\\"hi\\\":101}\"}"
arguments:
- Binary:
left:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":102,\\\"hi\\\":103}\"}"
right:
Literal:
Integer:
- U32
- "1"
- span:
lo: 104
hi: 108
op: Add
span:
lo: 102
hi: 108
external: ~
span:
lo: 100
hi: 109
span:
lo: 100
hi: 110
span:
lo: 86
hi: 120
otherwise: ~
span:
lo: 74
hi: 120
span:
lo: 64
hi: 126
finalize: ~
span:
lo: 30
hi: 126
"{\"name\":\"main\",\"span\":\"{\\\"lo\\\":145,\\\"hi\\\":149}\"}":
annotations: []
call_type: Standard
identifier: "{\"name\":\"main\",\"span\":\"{\\\"lo\\\":145,\\\"hi\\\":149}\"}"
input:
- Internal:
identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":150,\\\"hi\\\":151}\"}"
mode: None
type_: Boolean
span:
lo: 150
hi: 151
output:
- Internal:
mode: None
type_: Boolean
span:
lo: 162
hi: 166
output_type: Boolean
block:
statements:
- Expression:
expression:
Call:
function:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":177,\\\"hi\\\":178}\"}"
arguments:
- Literal:
Integer:
- U32
- "1"
- span:
lo: 179
hi: 183
external: ~
span:
lo: 177
hi: 184
span:
lo: 177
hi: 185
- Return:
expression:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":201,\\\"hi\\\":202}\"}"
finalize_arguments: ~
span:
lo: 194
hi: 203
span:
lo: 167
hi: 209
finalize: ~
span:
lo: 136
hi: 209
span:
lo: 2
hi: 211

Some files were not shown because too many files have changed in this diff Show More