From ab344a333a6948b577d64faa65b45515e4cdf4a5 Mon Sep 17 00:00:00 2001 From: John Kerl Date: Tue, 4 Oct 2016 08:48:29 -0400 Subject: [PATCH] add post-analysis AST prints to AST-trace output (UT bigdiff) --- c/mapping/mlr_dsl_cst.c | 4 + c/reg_test/expected/out | 6691 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 6695 insertions(+) diff --git a/c/mapping/mlr_dsl_cst.c b/c/mapping/mlr_dsl_cst.c index f35715102..313ab58b4 100644 --- a/c/mapping/mlr_dsl_cst.c +++ b/c/mapping/mlr_dsl_cst.c @@ -169,6 +169,10 @@ mlr_dsl_cst_t* mlr_dsl_cst_alloc(mlr_dsl_ast_t* past, int print_ast, int type_in } } + if (print_ast) { + printf("\n"); + } + // Now that all subroutine/function definitions have been done, resolve // their callsites whose locations we stashed during the CST build. (Without // this delayed resolution, there could be no recursion, and subroutines diff --git a/c/reg_test/expected/out b/c/reg_test/expected/out index 36173ed3d..58095fc28 100644 --- a/c/reg_test/expected/out +++ b/c/reg_test/expected/out @@ -9337,6 +9337,8 @@ x_p100 10 DSL OPERATOR ASSOCIATIVITY mlr put -v $x = 1 || 2 || 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9347,7 +9349,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="||", type=OPERATOR: + text="||", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 || 2 || 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="||", type=OPERATOR: @@ -9356,7 +9373,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="||", type=OPERATOR: + text="||", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 ^^ 2 ^^ 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9367,7 +9397,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="^^", type=OPERATOR: + text="^^", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 ^^ 2 ^^ 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="^^", type=OPERATOR: @@ -9376,7 +9421,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="^^", type=OPERATOR: + text="^^", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 && 2 && 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9387,7 +9445,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="&&", type=OPERATOR: + text="&&", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 && 2 && 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="&&", type=OPERATOR: @@ -9396,7 +9469,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="&&", type=OPERATOR: + text="&&", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 == 2 == 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9407,7 +9493,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="==", type=OPERATOR: + text="==", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 == 2 == 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="==", type=OPERATOR: @@ -9416,7 +9517,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="==", type=OPERATOR: + text="==", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 != 2 != 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9427,7 +9541,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="!=", type=OPERATOR: + text="!=", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 != 2 != 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="!=", type=OPERATOR: @@ -9436,7 +9565,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="!=", type=OPERATOR: + text="!=", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 =~ 2 =~ 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9447,7 +9589,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="=~", type=OPERATOR: + text="=~", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 =~ 2 =~ 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=~", type=OPERATOR: @@ -9456,7 +9613,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=~", type=OPERATOR: + text="=~", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 !=~ 2 !=~ 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9467,7 +9637,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="!=~", type=OPERATOR: + text="!=~", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 !=~ 2 !=~ 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="!=~", type=OPERATOR: @@ -9476,7 +9661,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="!=~", type=OPERATOR: + text="!=~", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 == 2 != 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9487,7 +9685,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="!=", type=OPERATOR: + text="==", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 == 2 != 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="!=", type=OPERATOR: @@ -9496,7 +9709,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="!=", type=OPERATOR: + text="==", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 != 2 == 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9507,7 +9733,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="==", type=OPERATOR: + text="!=", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 != 2 == 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="==", type=OPERATOR: @@ -9516,7 +9757,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="==", type=OPERATOR: + text="!=", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 < 2 < 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9527,7 +9781,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="<", type=OPERATOR: + text="<", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 < 2 < 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="<", type=OPERATOR: @@ -9536,7 +9805,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="<", type=OPERATOR: + text="<", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 <= 2 <= 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9547,7 +9829,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="<=", type=OPERATOR: + text="<=", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 <= 2 <= 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="<=", type=OPERATOR: @@ -9556,7 +9853,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="<=", type=OPERATOR: + text="<=", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 > 2 > 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9567,7 +9877,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text=">", type=OPERATOR: + text=">", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 > 2 > 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text=">", type=OPERATOR: @@ -9576,7 +9901,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text=">", type=OPERATOR: + text=">", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 >= 2 >= 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9587,7 +9925,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text=">=", type=OPERATOR: + text=">=", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 >= 2 >= 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text=">=", type=OPERATOR: @@ -9596,7 +9949,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text=">=", type=OPERATOR: + text=">=", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 < 2 <= 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9607,7 +9973,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="<=", type=OPERATOR: + text="<", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 < 2 <= 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="<=", type=OPERATOR: @@ -9616,7 +9997,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="<=", type=OPERATOR: + text="<", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 <= 2 < 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9627,7 +10021,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="<", type=OPERATOR: + text="<=", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 <= 2 < 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="<", type=OPERATOR: @@ -9636,7 +10045,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="<", type=OPERATOR: + text="<=", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 | 2 | 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9647,7 +10069,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="|", type=OPERATOR: + text="|", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 | 2 | 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="|", type=OPERATOR: @@ -9656,7 +10093,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="|", type=OPERATOR: + text="|", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 ^ 2 ^ 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9667,7 +10117,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="^", type=OPERATOR: + text="^", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 ^ 2 ^ 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="^", type=OPERATOR: @@ -9676,7 +10141,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="^", type=OPERATOR: + text="^", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 & 2 & 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9687,7 +10165,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="&", type=OPERATOR: + text="&", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 & 2 & 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="&", type=OPERATOR: @@ -9696,7 +10189,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="&", type=OPERATOR: + text="&", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 | 2 & 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9707,7 +10213,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="|", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="&", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 | 2 & 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="|", type=OPERATOR: @@ -9716,7 +10237,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="|", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="&", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 | 2 ^ 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9727,7 +10261,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="|", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="^", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 | 2 ^ 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="|", type=OPERATOR: @@ -9736,7 +10285,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="|", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="^", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 ^ 2 | 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9747,7 +10309,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="|", type=OPERATOR: + text="^", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 ^ 2 | 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="|", type=OPERATOR: @@ -9756,7 +10333,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="|", type=OPERATOR: + text="^", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 ^ 2 & 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9767,7 +10357,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="^", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="&", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 ^ 2 & 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="^", type=OPERATOR: @@ -9776,7 +10381,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="^", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="&", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 & 2 | 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9787,7 +10405,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="|", type=OPERATOR: + text="&", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 & 2 | 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="|", type=OPERATOR: @@ -9796,7 +10429,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="|", type=OPERATOR: + text="&", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 & 2 ^ 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9807,7 +10453,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="^", type=OPERATOR: + text="&", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 & 2 ^ 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="^", type=OPERATOR: @@ -9816,7 +10477,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="^", type=OPERATOR: + text="&", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 << 2 << 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9827,7 +10501,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="<<", type=OPERATOR: + text="<<", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 << 2 << 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="<<", type=OPERATOR: @@ -9836,7 +10525,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="<<", type=OPERATOR: + text="<<", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 >> 2 >> 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9847,7 +10549,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text=">>", type=OPERATOR: + text=">>", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 >> 2 >> 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text=">>", type=OPERATOR: @@ -9856,7 +10573,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text=">>", type=OPERATOR: + text=">>", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 << 2 >> 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9867,7 +10597,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text=">>", type=OPERATOR: + text="<<", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 << 2 >> 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text=">>", type=OPERATOR: @@ -9876,7 +10621,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text=">>", type=OPERATOR: + text="<<", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 >> 2 << 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9887,7 +10645,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="<<", type=OPERATOR: + text=">>", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 >> 2 << 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="<<", type=OPERATOR: @@ -9896,7 +10669,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="<<", type=OPERATOR: + text=">>", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 + 2 + 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9907,7 +10693,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="+", type=OPERATOR: + text="+", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 + 2 + 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="+", type=OPERATOR: @@ -9916,7 +10717,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="+", type=OPERATOR: + text="+", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 - 2 - 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9927,7 +10741,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="-", type=OPERATOR: + text="-", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 - 2 - 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="-", type=OPERATOR: @@ -9936,7 +10765,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="-", type=OPERATOR: + text="-", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 + 2 - 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9947,7 +10789,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="-", type=OPERATOR: + text="+", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 + 2 - 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="-", type=OPERATOR: @@ -9956,7 +10813,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="-", type=OPERATOR: + text="+", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 - 2 + 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9967,7 +10837,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="+", type=OPERATOR: + text="-", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 - 2 + 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="+", type=OPERATOR: @@ -9976,7 +10861,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="+", type=OPERATOR: + text="-", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 . 2 . 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -9987,7 +10885,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text=".", type=OPERATOR: + text=".", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 . 2 . 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text=".", type=OPERATOR: @@ -9996,7 +10909,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text=".", type=OPERATOR: + text=".", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 * 2 * 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10007,7 +10933,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="*", type=OPERATOR: + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 * 2 * 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="*", type=OPERATOR: @@ -10016,7 +10957,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="*", type=OPERATOR: + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 / 2 / 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10027,7 +10981,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="/", type=OPERATOR: + text="/", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 / 2 / 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="/", type=OPERATOR: @@ -10036,7 +11005,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="/", type=OPERATOR: + text="/", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 // 2 // 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10047,7 +11029,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="//", type=OPERATOR: + text="//", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 // 2 // 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="//", type=OPERATOR: @@ -10056,7 +11053,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="//", type=OPERATOR: + text="//", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 % 2 % 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10067,7 +11077,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="%", type=OPERATOR: + text="%", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 % 2 % 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="%", type=OPERATOR: @@ -10076,7 +11101,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="%", type=OPERATOR: + text="%", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 ** 2 ** 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10087,7 +11125,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="**", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="**", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 ** 2 ** 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="**", type=OPERATOR: @@ -10096,7 +11149,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="**", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="**", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 * 2 / 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10107,7 +11173,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="/", type=OPERATOR: + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 * 2 / 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="/", type=OPERATOR: @@ -10116,7 +11197,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="/", type=OPERATOR: + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 * 2 // 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10127,7 +11221,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="//", type=OPERATOR: + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 * 2 // 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="//", type=OPERATOR: @@ -10136,7 +11245,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="//", type=OPERATOR: + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 * 2 % 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10147,7 +11269,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="%", type=OPERATOR: + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 * 2 % 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="%", type=OPERATOR: @@ -10156,7 +11293,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="%", type=OPERATOR: + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 * 2 ** 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10167,7 +11317,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="**", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 * 2 ** 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="*", type=OPERATOR: @@ -10176,7 +11341,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="**", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 / 2 * 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10187,7 +11365,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="*", type=OPERATOR: + text="/", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 / 2 * 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="*", type=OPERATOR: @@ -10196,7 +11389,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="*", type=OPERATOR: + text="/", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 / 2 // 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10207,7 +11413,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="//", type=OPERATOR: + text="/", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 / 2 // 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="//", type=OPERATOR: @@ -10216,7 +11437,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="//", type=OPERATOR: + text="/", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 / 2 % 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10227,7 +11461,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="%", type=OPERATOR: + text="/", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 / 2 % 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="%", type=OPERATOR: @@ -10236,7 +11485,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="%", type=OPERATOR: + text="/", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 / 2 ** 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10247,7 +11509,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="/", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="**", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 / 2 ** 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="/", type=OPERATOR: @@ -10256,7 +11533,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="/", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="**", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 // 2 * 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10267,7 +11557,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="*", type=OPERATOR: + text="//", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 // 2 * 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="*", type=OPERATOR: @@ -10276,7 +11581,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="*", type=OPERATOR: + text="//", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 // 2 / 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10287,7 +11605,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="/", type=OPERATOR: + text="//", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 // 2 / 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="/", type=OPERATOR: @@ -10296,7 +11629,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="/", type=OPERATOR: + text="//", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 // 2 % 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10307,7 +11653,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="%", type=OPERATOR: + text="//", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 // 2 % 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="%", type=OPERATOR: @@ -10316,7 +11677,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="%", type=OPERATOR: + text="//", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 // 2 ** 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10327,7 +11701,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="//", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="**", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 // 2 ** 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="//", type=OPERATOR: @@ -10336,7 +11725,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="//", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="**", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 % 2 * 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10347,7 +11749,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="*", type=OPERATOR: + text="%", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 % 2 * 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="*", type=OPERATOR: @@ -10356,7 +11773,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="*", type=OPERATOR: + text="%", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 % 2 / 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10367,7 +11797,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="/", type=OPERATOR: + text="%", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 % 2 / 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="/", type=OPERATOR: @@ -10376,7 +11821,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="/", type=OPERATOR: + text="%", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 % 2 // 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10387,7 +11845,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="//", type=OPERATOR: + text="%", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 % 2 // 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="//", type=OPERATOR: @@ -10396,7 +11869,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="//", type=OPERATOR: + text="%", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 % 2 ** 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10407,7 +11893,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="%", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="**", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 % 2 ** 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="%", type=OPERATOR: @@ -10416,7 +11917,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="%", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="**", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 ** 2 * 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10427,7 +11941,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="*", type=OPERATOR: + text="**", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 ** 2 * 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="*", type=OPERATOR: @@ -10436,7 +11965,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="*", type=OPERATOR: + text="**", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 ** 2 / 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10447,7 +11989,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="/", type=OPERATOR: + text="**", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 ** 2 / 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="/", type=OPERATOR: @@ -10456,7 +12013,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="/", type=OPERATOR: + text="**", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 ** 2 // 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10467,7 +12037,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="//", type=OPERATOR: + text="**", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 ** 2 // 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="//", type=OPERATOR: @@ -10476,7 +12061,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="//", type=OPERATOR: + text="**", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 ** 2 % 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10487,7 +12085,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="%", type=OPERATOR: + text="**", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 ** 2 % 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="%", type=OPERATOR: @@ -10496,7 +12109,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="%", type=OPERATOR: + text="**", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = ++1 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10505,14 +12131,38 @@ text="list", type=STATEMENT_LIST: text="+", type=OPERATOR: text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="+", type=OPERATOR: + text="+", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + + mlr filter -v ++1 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="+", type=OPERATOR: text="+", type=OPERATOR: text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="+", type=OPERATOR: + text="+", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + + mlr put -v $x = --1 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10521,14 +12171,38 @@ text="list", type=STATEMENT_LIST: text="-", type=OPERATOR: text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="-", type=OPERATOR: + text="-", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + + mlr filter -v --1 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="-", type=OPERATOR: text="-", type=OPERATOR: text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="-", type=OPERATOR: + text="-", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + + mlr put -v $x = !!1 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10537,14 +12211,38 @@ text="list", type=STATEMENT_LIST: text="!", type=OPERATOR: text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="!", type=OPERATOR: + text="!", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + + mlr filter -v !!1 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="!", type=OPERATOR: text="!", type=OPERATOR: text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="!", type=OPERATOR: + text="!", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + + mlr put -v $x = ~~1 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10553,14 +12251,38 @@ text="list", type=STATEMENT_LIST: text="~", type=OPERATOR: text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="~", type=OPERATOR: + text="~", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + + mlr filter -v ~~1 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="~", type=OPERATOR: text="~", type=OPERATOR: text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="~", type=OPERATOR: + text="~", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + + mlr put -v $x = 1 ? 2 : 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10570,7 +12292,21 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="? :", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 ? 2 : 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="? :", type=OPERATOR: @@ -10578,7 +12314,19 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="? :", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 ? 2 ? 3 : 4 : 5 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10591,7 +12339,24 @@ text="list", type=STATEMENT_LIST: text="4", type=STRNUM_LITERAL. text="5", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="? :", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="? :", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + text="4", type=STRNUM_LITERAL. + text="5", type=STRNUM_LITERAL. + + mlr filter -v 1 ? 2 ? 3 : 4 : 5 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="? :", type=OPERATOR: @@ -10602,7 +12367,22 @@ text="list", type=STATEMENT_LIST: text="4", type=STRNUM_LITERAL. text="5", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="? :", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="? :", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + text="4", type=STRNUM_LITERAL. + text="5", type=STRNUM_LITERAL. + + mlr put -v $x = 1 ? 2 : 3 ? 4 : 5 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10615,7 +12395,24 @@ text="list", type=STATEMENT_LIST: text="4", type=STRNUM_LITERAL. text="5", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="? :", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="? :", type=OPERATOR: + text="3", type=STRNUM_LITERAL. + text="4", type=STRNUM_LITERAL. + text="5", type=STRNUM_LITERAL. + + mlr filter -v 1 ? 2 : 3 ? 4 : 5 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="? :", type=OPERATOR: @@ -10626,11 +12423,26 @@ text="list", type=STATEMENT_LIST: text="4", type=STRNUM_LITERAL. text="5", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="? :", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="? :", type=OPERATOR: + text="3", type=STRNUM_LITERAL. + text="4", type=STRNUM_LITERAL. + text="5", type=STRNUM_LITERAL. + + ================================================================ DSL OPERATOR PRECEDENCE mlr put -v $x = 1 || 2 ^^ 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10641,7 +12453,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="||", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="^^", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 || 2 ^^ 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="||", type=OPERATOR: @@ -10650,7 +12477,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="||", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="^^", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 || 2 && 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10661,7 +12501,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="||", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="&&", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 || 2 && 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="||", type=OPERATOR: @@ -10670,7 +12525,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="||", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="&&", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 ^^ 2 || 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10681,7 +12549,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="||", type=OPERATOR: + text="^^", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 ^^ 2 || 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="||", type=OPERATOR: @@ -10690,7 +12573,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="||", type=OPERATOR: + text="^^", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 ^^ 2 && 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10701,7 +12597,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="^^", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="&&", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 ^^ 2 && 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="^^", type=OPERATOR: @@ -10710,7 +12621,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="^^", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="&&", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 && 2 || 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10721,7 +12645,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="||", type=OPERATOR: + text="&&", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 && 2 || 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="||", type=OPERATOR: @@ -10730,7 +12669,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="||", type=OPERATOR: + text="&&", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 && 2 ^^ 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10741,7 +12693,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="^^", type=OPERATOR: + text="&&", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 && 2 ^^ 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="^^", type=OPERATOR: @@ -10750,7 +12717,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="^^", type=OPERATOR: + text="&&", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 == 2 <= 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10761,7 +12741,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="==", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="<=", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 == 2 <= 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="==", type=OPERATOR: @@ -10770,7 +12765,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="==", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="<=", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 <= 2 == 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10781,7 +12789,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="==", type=OPERATOR: + text="<=", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 <= 2 == 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="==", type=OPERATOR: @@ -10790,7 +12813,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="==", type=OPERATOR: + text="<=", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 <= 2 | 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10801,7 +12837,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="<=", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="|", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 <= 2 | 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="<=", type=OPERATOR: @@ -10810,7 +12861,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="<=", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="|", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 | 2 <= 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10821,7 +12885,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="<=", type=OPERATOR: + text="|", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 | 2 <= 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="<=", type=OPERATOR: @@ -10830,7 +12909,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="<=", type=OPERATOR: + text="|", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 | 2 ^ 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10841,7 +12933,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="|", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="^", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 | 2 ^ 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="|", type=OPERATOR: @@ -10850,7 +12957,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="|", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="^", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 ^ 2 | 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10861,7 +12981,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="|", type=OPERATOR: + text="^", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 ^ 2 | 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="|", type=OPERATOR: @@ -10870,7 +13005,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="|", type=OPERATOR: + text="^", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 ^ 2 & 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10881,7 +13029,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="^", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="&", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 ^ 2 & 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="^", type=OPERATOR: @@ -10890,7 +13053,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="^", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="&", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 & 2 ^ 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10901,7 +13077,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="^", type=OPERATOR: + text="&", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 & 2 ^ 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="^", type=OPERATOR: @@ -10910,7 +13101,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="^", type=OPERATOR: + text="&", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 & 2 << 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10921,7 +13125,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="&", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="<<", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 & 2 << 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="&", type=OPERATOR: @@ -10930,7 +13149,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="&", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="<<", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 << 2 & 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10941,7 +13173,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="&", type=OPERATOR: + text="<<", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 << 2 & 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="&", type=OPERATOR: @@ -10950,7 +13197,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="&", type=OPERATOR: + text="<<", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 + 2 * 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10961,7 +13221,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="+", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="*", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 + 2 * 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="+", type=OPERATOR: @@ -10970,7 +13245,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="+", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="*", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 * 2 + 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -10981,7 +13269,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="+", type=OPERATOR: + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 * 2 + 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="+", type=OPERATOR: @@ -10990,7 +13293,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="+", type=OPERATOR: + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 + (2 * 3) /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11001,7 +13317,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="+", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="*", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 + (2 * 3) /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="+", type=OPERATOR: @@ -11010,7 +13341,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="+", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="*", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 * (2 + 3) /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11021,7 +13365,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="+", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 * (2 + 3) /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="*", type=OPERATOR: @@ -11030,7 +13389,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="+", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = (1 + 2) * 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11041,7 +13413,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="*", type=OPERATOR: + text="+", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v (1 + 2) * 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="*", type=OPERATOR: @@ -11050,7 +13437,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="*", type=OPERATOR: + text="+", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = (1 * 2) + 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11061,7 +13461,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="+", type=OPERATOR: + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v (1 * 2) + 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="+", type=OPERATOR: @@ -11070,7 +13485,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="+", type=OPERATOR: + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 + 2 ** 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11081,7 +13509,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="+", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="**", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 + 2 ** 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="+", type=OPERATOR: @@ -11090,7 +13533,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="+", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="**", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 ** 2 + 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11101,7 +13557,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="+", type=OPERATOR: + text="**", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 ** 2 + 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="+", type=OPERATOR: @@ -11110,7 +13581,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="+", type=OPERATOR: + text="**", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 + (2 ** 3) /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11121,7 +13605,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="+", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="**", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 + (2 ** 3) /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="+", type=OPERATOR: @@ -11130,7 +13629,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="+", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="**", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 ** (2 + 3) /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11141,7 +13653,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="**", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="+", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 ** (2 + 3) /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="**", type=OPERATOR: @@ -11150,7 +13677,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="**", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="+", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = (1 + 2) ** 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11161,7 +13701,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="**", type=OPERATOR: + text="+", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v (1 + 2) ** 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="**", type=OPERATOR: @@ -11170,7 +13725,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="**", type=OPERATOR: + text="+", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = (1 ** 2) + 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11181,7 +13749,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="+", type=OPERATOR: + text="**", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v (1 ** 2) + 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="+", type=OPERATOR: @@ -11190,7 +13773,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="+", type=OPERATOR: + text="**", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 * 2 ** 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11201,7 +13797,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="**", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 * 2 ** 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="*", type=OPERATOR: @@ -11210,7 +13821,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="**", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 ** 2 * 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11221,7 +13845,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="*", type=OPERATOR: + text="**", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 ** 2 * 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="*", type=OPERATOR: @@ -11230,7 +13869,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="*", type=OPERATOR: + text="**", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 * (2 ** 3) /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11241,7 +13893,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="**", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 * (2 ** 3) /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="*", type=OPERATOR: @@ -11250,7 +13917,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="**", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 ** (2 * 3) /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11261,7 +13941,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="**", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="*", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 ** (2 * 3) /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="**", type=OPERATOR: @@ -11270,7 +13965,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="**", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="*", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = (1 * 2) ** 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11281,7 +13989,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="**", type=OPERATOR: + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v (1 * 2) ** 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="**", type=OPERATOR: @@ -11290,7 +14013,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="**", type=OPERATOR: + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = (1 ** 2) * 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11301,7 +14037,22 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="*", type=OPERATOR: + text="**", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v (1 ** 2) * 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="*", type=OPERATOR: @@ -11310,7 +14061,20 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="*", type=OPERATOR: + text="**", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = -1 + 2 * 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11322,7 +14086,23 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="+", type=OPERATOR: + text="-", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="*", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v -1 + 2 * 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="+", type=OPERATOR: @@ -11332,7 +14112,21 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="+", type=OPERATOR: + text="-", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="*", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = -1 * 2 + 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11344,7 +14138,23 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="+", type=OPERATOR: + text="*", type=OPERATOR: + text="-", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v -1 * 2 + 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="+", type=OPERATOR: @@ -11354,7 +14164,21 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="+", type=OPERATOR: + text="*", type=OPERATOR: + text="-", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 + -2 * 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11366,7 +14190,23 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="+", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="*", type=OPERATOR: + text="-", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 + -2 * 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="+", type=OPERATOR: @@ -11376,7 +14216,21 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="+", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="*", type=OPERATOR: + text="-", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 * -2 + 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11388,7 +14242,23 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="+", type=OPERATOR: + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="-", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 * -2 + 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="+", type=OPERATOR: @@ -11398,7 +14268,21 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="+", type=OPERATOR: + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="-", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 + 2 * -3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11410,7 +14294,23 @@ text="list", type=STATEMENT_LIST: text="-", type=OPERATOR: text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="+", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="*", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="-", type=OPERATOR: + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 + 2 * -3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="+", type=OPERATOR: @@ -11420,7 +14320,21 @@ text="list", type=STATEMENT_LIST: text="-", type=OPERATOR: text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="+", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="*", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="-", type=OPERATOR: + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 * 2 + -3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11432,7 +14346,23 @@ text="list", type=STATEMENT_LIST: text="-", type=OPERATOR: text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="+", type=OPERATOR: + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="-", type=OPERATOR: + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 * 2 + -3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="+", type=OPERATOR: @@ -11442,7 +14372,21 @@ text="list", type=STATEMENT_LIST: text="-", type=OPERATOR: text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="+", type=OPERATOR: + text="*", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="-", type=OPERATOR: + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = ~1 | 2 & 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11454,7 +14398,23 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="|", type=OPERATOR: + text="~", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="&", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v ~1 | 2 & 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="|", type=OPERATOR: @@ -11464,7 +14424,21 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="|", type=OPERATOR: + text="~", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="&", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = ~1 & 2 | 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11476,7 +14450,23 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="|", type=OPERATOR: + text="&", type=OPERATOR: + text="~", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v ~1 & 2 | 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="|", type=OPERATOR: @@ -11486,7 +14476,21 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="|", type=OPERATOR: + text="&", type=OPERATOR: + text="~", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 | ~2 & 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11498,7 +14502,23 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="|", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="&", type=OPERATOR: + text="~", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 | ~2 & 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="|", type=OPERATOR: @@ -11508,7 +14528,21 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="|", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="&", type=OPERATOR: + text="~", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 & ~2 | 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11520,7 +14554,23 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="|", type=OPERATOR: + text="&", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="~", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 & ~2 | 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="|", type=OPERATOR: @@ -11530,7 +14580,21 @@ text="list", type=STATEMENT_LIST: text="2", type=STRNUM_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="|", type=OPERATOR: + text="&", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="~", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 | 2 & ~3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11542,7 +14606,23 @@ text="list", type=STATEMENT_LIST: text="~", type=OPERATOR: text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="|", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="&", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="~", type=OPERATOR: + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 | 2 & ~3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="|", type=OPERATOR: @@ -11552,7 +14632,21 @@ text="list", type=STATEMENT_LIST: text="~", type=OPERATOR: text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="|", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="&", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="~", type=OPERATOR: + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = 1 & 2 | ~3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11564,7 +14658,23 @@ text="list", type=STATEMENT_LIST: text="~", type=OPERATOR: text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="|", type=OPERATOR: + text="&", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="~", type=OPERATOR: + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1 & 2 | ~3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="|", type=OPERATOR: @@ -11574,7 +14684,21 @@ text="list", type=STATEMENT_LIST: text="~", type=OPERATOR: text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="|", type=OPERATOR: + text="&", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="~", type=OPERATOR: + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = $a==1 && $b == 1 && $c == 1 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11591,7 +14715,28 @@ text="list", type=STATEMENT_LIST: text="c", type=FIELD_NAME. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="&&", type=OPERATOR: + text="&&", type=OPERATOR: + text="==", type=OPERATOR: + text="a", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + text="==", type=OPERATOR: + text="b", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + text="==", type=OPERATOR: + text="c", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + + mlr filter -v $a==1 && $b == 1 && $c == 1 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="&&", type=OPERATOR: @@ -11606,7 +14751,26 @@ text="list", type=STATEMENT_LIST: text="c", type=FIELD_NAME. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="&&", type=OPERATOR: + text="&&", type=OPERATOR: + text="==", type=OPERATOR: + text="a", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + text="==", type=OPERATOR: + text="b", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + text="==", type=OPERATOR: + text="c", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + + mlr put -v $x = $a==1 || $b == 1 && $c == 1 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11623,7 +14787,28 @@ text="list", type=STATEMENT_LIST: text="c", type=FIELD_NAME. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="||", type=OPERATOR: + text="==", type=OPERATOR: + text="a", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + text="&&", type=OPERATOR: + text="==", type=OPERATOR: + text="b", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + text="==", type=OPERATOR: + text="c", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + + mlr filter -v $a==1 || $b == 1 && $c == 1 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="||", type=OPERATOR: @@ -11638,7 +14823,26 @@ text="list", type=STATEMENT_LIST: text="c", type=FIELD_NAME. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="||", type=OPERATOR: + text="==", type=OPERATOR: + text="a", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + text="&&", type=OPERATOR: + text="==", type=OPERATOR: + text="b", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + text="==", type=OPERATOR: + text="c", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + + mlr put -v $x = $a==1 || $b == 1 || $c == 1 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11655,7 +14859,28 @@ text="list", type=STATEMENT_LIST: text="c", type=FIELD_NAME. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="||", type=OPERATOR: + text="||", type=OPERATOR: + text="==", type=OPERATOR: + text="a", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + text="==", type=OPERATOR: + text="b", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + text="==", type=OPERATOR: + text="c", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + + mlr filter -v $a==1 || $b == 1 || $c == 1 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="||", type=OPERATOR: @@ -11670,7 +14895,26 @@ text="list", type=STATEMENT_LIST: text="c", type=FIELD_NAME. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="||", type=OPERATOR: + text="||", type=OPERATOR: + text="==", type=OPERATOR: + text="a", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + text="==", type=OPERATOR: + text="b", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + text="==", type=OPERATOR: + text="c", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + + mlr put -v $x = $a==1 && $b == 1 || $c == 1 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11687,7 +14931,28 @@ text="list", type=STATEMENT_LIST: text="c", type=FIELD_NAME. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="||", type=OPERATOR: + text="&&", type=OPERATOR: + text="==", type=OPERATOR: + text="a", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + text="==", type=OPERATOR: + text="b", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + text="==", type=OPERATOR: + text="c", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + + mlr filter -v $a==1 && $b == 1 || $c == 1 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="||", type=OPERATOR: @@ -11702,7 +14967,26 @@ text="list", type=STATEMENT_LIST: text="c", type=FIELD_NAME. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="||", type=OPERATOR: + text="&&", type=OPERATOR: + text="==", type=OPERATOR: + text="a", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + text="==", type=OPERATOR: + text="b", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + text="==", type=OPERATOR: + text="c", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + + mlr put -v $x = $a==1 ? $b == 2 : $c == 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11718,7 +15002,27 @@ text="list", type=STATEMENT_LIST: text="c", type=FIELD_NAME. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="? :", type=OPERATOR: + text="==", type=OPERATOR: + text="a", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + text="==", type=OPERATOR: + text="b", type=FIELD_NAME. + text="2", type=STRNUM_LITERAL. + text="==", type=OPERATOR: + text="c", type=FIELD_NAME. + text="3", type=STRNUM_LITERAL. + + mlr filter -v $a==1 ? $b == 2 : $c == 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="? :", type=OPERATOR: @@ -11732,19 +15036,57 @@ text="list", type=STATEMENT_LIST: text="c", type=FIELD_NAME. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="? :", type=OPERATOR: + text="==", type=OPERATOR: + text="a", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + text="==", type=OPERATOR: + text="b", type=FIELD_NAME. + text="2", type=STRNUM_LITERAL. + text="==", type=OPERATOR: + text="c", type=FIELD_NAME. + text="3", type=STRNUM_LITERAL. + + mlr put -v $x = true /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: text="x", type=FIELD_NAME. text="true", type=BOOLEAN_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="true", type=BOOLEAN_LITERAL. + + mlr filter -v true /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="true", type=BOOLEAN_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="true", type=BOOLEAN_LITERAL. + + mlr put -v true || 1==0; $x = 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="||", type=OPERATOR: @@ -11756,7 +15098,23 @@ text="list", type=STATEMENT_LIST: text="x", type=FIELD_NAME. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="||", type=OPERATOR: + text="true", type=BOOLEAN_LITERAL. + text="==", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="0", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="3", type=STRNUM_LITERAL. + + mlr filter -v true || 1==0 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="||", type=OPERATOR: @@ -11765,7 +15123,20 @@ text="list", type=STATEMENT_LIST: text="1", type=STRNUM_LITERAL. text="0", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="||", type=OPERATOR: + text="true", type=BOOLEAN_LITERAL. + text="==", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="0", type=STRNUM_LITERAL. + + mlr put -v 1==0 || false; $x = 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="||", type=OPERATOR: @@ -11777,7 +15148,23 @@ text="list", type=STATEMENT_LIST: text="x", type=FIELD_NAME. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="||", type=OPERATOR: + text="==", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="0", type=STRNUM_LITERAL. + text="false", type=BOOLEAN_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="3", type=STRNUM_LITERAL. + + mlr filter -v 1==0 || false /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="||", type=OPERATOR: @@ -11786,7 +15173,20 @@ text="list", type=STATEMENT_LIST: text="0", type=STRNUM_LITERAL. text="false", type=BOOLEAN_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="||", type=OPERATOR: + text="==", type=OPERATOR: + text="1", type=STRNUM_LITERAL. + text="0", type=STRNUM_LITERAL. + text="false", type=BOOLEAN_LITERAL. + + mlr put -v true && false; $x = 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="&&", type=OPERATOR: @@ -11796,14 +15196,39 @@ text="list", type=STATEMENT_LIST: text="x", type=FIELD_NAME. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="&&", type=OPERATOR: + text="true", type=BOOLEAN_LITERAL. + text="false", type=BOOLEAN_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="3", type=STRNUM_LITERAL. + + mlr filter -v true && false /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="&&", type=OPERATOR: text="true", type=BOOLEAN_LITERAL. text="false", type=BOOLEAN_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="&&", type=OPERATOR: + text="true", type=BOOLEAN_LITERAL. + text="false", type=BOOLEAN_LITERAL. + + mlr put -v true && false && true; $x = 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="&&", type=OPERATOR: @@ -11815,7 +15240,23 @@ text="list", type=STATEMENT_LIST: text="x", type=FIELD_NAME. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="&&", type=OPERATOR: + text="&&", type=OPERATOR: + text="true", type=BOOLEAN_LITERAL. + text="false", type=BOOLEAN_LITERAL. + text="true", type=BOOLEAN_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="3", type=STRNUM_LITERAL. + + mlr filter -v true && false && true /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="&&", type=OPERATOR: @@ -11824,7 +15265,20 @@ text="list", type=STATEMENT_LIST: text="false", type=BOOLEAN_LITERAL. text="true", type=BOOLEAN_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="&&", type=OPERATOR: + text="&&", type=OPERATOR: + text="true", type=BOOLEAN_LITERAL. + text="false", type=BOOLEAN_LITERAL. + text="true", type=BOOLEAN_LITERAL. + + mlr put -v $y += $x + 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11835,7 +15289,22 @@ text="list", type=STATEMENT_LIST: text="x", type=FIELD_NAME. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="+", type=OPERATOR: + text="y", type=FIELD_NAME. + text="+", type=OPERATOR: + text="x", type=FIELD_NAME. + text="3", type=STRNUM_LITERAL. + + mlr put -v $y += $x * 3 /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11846,7 +15315,22 @@ text="list", type=STATEMENT_LIST: text="x", type=FIELD_NAME. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="+", type=OPERATOR: + text="y", type=FIELD_NAME. + text="*", type=OPERATOR: + text="x", type=FIELD_NAME. + text="3", type=STRNUM_LITERAL. + + mlr put -v $y ||= $x /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11855,7 +15339,20 @@ text="list", type=STATEMENT_LIST: text="y", type=FIELD_NAME. text="x", type=FIELD_NAME. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="||", type=OPERATOR: + text="y", type=FIELD_NAME. + text="x", type=FIELD_NAME. + + mlr put -v $y ^^= $x /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11864,7 +15361,20 @@ text="list", type=STATEMENT_LIST: text="y", type=FIELD_NAME. text="x", type=FIELD_NAME. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="^^", type=OPERATOR: + text="y", type=FIELD_NAME. + text="x", type=FIELD_NAME. + + mlr put -v $y &&= $x /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11873,7 +15383,20 @@ text="list", type=STATEMENT_LIST: text="y", type=FIELD_NAME. text="x", type=FIELD_NAME. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="&&", type=OPERATOR: + text="y", type=FIELD_NAME. + text="x", type=FIELD_NAME. + + mlr put -v $y |= $x /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11882,7 +15405,20 @@ text="list", type=STATEMENT_LIST: text="y", type=FIELD_NAME. text="x", type=FIELD_NAME. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="|", type=OPERATOR: + text="y", type=FIELD_NAME. + text="x", type=FIELD_NAME. + + mlr put -v $y ^= $x /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11891,7 +15427,20 @@ text="list", type=STATEMENT_LIST: text="y", type=FIELD_NAME. text="x", type=FIELD_NAME. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="^", type=OPERATOR: + text="y", type=FIELD_NAME. + text="x", type=FIELD_NAME. + + mlr put -v $y &= $x /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11900,7 +15449,20 @@ text="list", type=STATEMENT_LIST: text="y", type=FIELD_NAME. text="x", type=FIELD_NAME. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="&", type=OPERATOR: + text="y", type=FIELD_NAME. + text="x", type=FIELD_NAME. + + mlr put -v $y <<= $x /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11909,7 +15471,20 @@ text="list", type=STATEMENT_LIST: text="y", type=FIELD_NAME. text="x", type=FIELD_NAME. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="<<", type=OPERATOR: + text="y", type=FIELD_NAME. + text="x", type=FIELD_NAME. + + mlr put -v $y >>= $x /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11918,7 +15493,20 @@ text="list", type=STATEMENT_LIST: text="y", type=FIELD_NAME. text="x", type=FIELD_NAME. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text=">>", type=OPERATOR: + text="y", type=FIELD_NAME. + text="x", type=FIELD_NAME. + + mlr put -v $y += $x /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11927,7 +15515,20 @@ text="list", type=STATEMENT_LIST: text="y", type=FIELD_NAME. text="x", type=FIELD_NAME. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="+", type=OPERATOR: + text="y", type=FIELD_NAME. + text="x", type=FIELD_NAME. + + mlr put -v $y -= $x /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11936,7 +15537,20 @@ text="list", type=STATEMENT_LIST: text="y", type=FIELD_NAME. text="x", type=FIELD_NAME. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="-", type=OPERATOR: + text="y", type=FIELD_NAME. + text="x", type=FIELD_NAME. + + mlr put -v $y .= $x /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11945,7 +15559,20 @@ text="list", type=STATEMENT_LIST: text="y", type=FIELD_NAME. text="x", type=FIELD_NAME. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text=".", type=OPERATOR: + text="y", type=FIELD_NAME. + text="x", type=FIELD_NAME. + + mlr put -v $y *= $x /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11954,7 +15581,20 @@ text="list", type=STATEMENT_LIST: text="y", type=FIELD_NAME. text="x", type=FIELD_NAME. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="*", type=OPERATOR: + text="y", type=FIELD_NAME. + text="x", type=FIELD_NAME. + + mlr put -v $y /= $x /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11963,7 +15603,20 @@ text="list", type=STATEMENT_LIST: text="y", type=FIELD_NAME. text="x", type=FIELD_NAME. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="/", type=OPERATOR: + text="y", type=FIELD_NAME. + text="x", type=FIELD_NAME. + + mlr put -v $y //= $x /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11972,7 +15625,20 @@ text="list", type=STATEMENT_LIST: text="y", type=FIELD_NAME. text="x", type=FIELD_NAME. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="//", type=OPERATOR: + text="y", type=FIELD_NAME. + text="x", type=FIELD_NAME. + + mlr put -v $y %= $x /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11981,7 +15647,20 @@ text="list", type=STATEMENT_LIST: text="y", type=FIELD_NAME. text="x", type=FIELD_NAME. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="%", type=OPERATOR: + text="y", type=FIELD_NAME. + text="x", type=FIELD_NAME. + + mlr put -v $y **= $x /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -11990,6 +15669,17 @@ text="list", type=STATEMENT_LIST: text="y", type=FIELD_NAME. text="x", type=FIELD_NAME. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="**", type=OPERATOR: + text="y", type=FIELD_NAME. + text="x", type=FIELD_NAME. + + ================================================================ DSL COMMENTS @@ -12023,39 +15713,99 @@ a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 DSL EMPTY STATEMENTS mlr -n put -v +RAW AST: + AST ROOT: (null) +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr -n filter -v mlr: filter statement must not be empty. +RAW AST: + AST ROOT: (null) mlr -n put -v begin {} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: text="list", type=STATEMENT_LIST: +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr -n put -v begin {;} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: text="list", type=STATEMENT_LIST: +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr -n put -v begin {;;} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: text="list", type=STATEMENT_LIST: +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr -n put -v begin {;;;} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: text="list", type=STATEMENT_LIST: +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr -n put -v begin {@x=1} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -12065,7 +15815,23 @@ text="list", type=STATEMENT_LIST: text="x", type=STRING_LITERAL. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="x", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr -n put -v begin {@x=1;} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -12075,7 +15841,23 @@ text="list", type=STATEMENT_LIST: text="x", type=STRING_LITERAL. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="x", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr -n put -v begin {;@x=1} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -12085,7 +15867,23 @@ text="list", type=STATEMENT_LIST: text="x", type=STRING_LITERAL. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="x", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr -n put -v begin {@x=1;@y=2} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -12099,7 +15897,27 @@ text="list", type=STATEMENT_LIST: text="y", type=STRING_LITERAL. text="2", type=STRNUM_LITERAL. +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="x", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="y", type=STRING_LITERAL. + text="2", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr -n put -v begin {@x=1;;@y=2} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -12113,35 +15931,99 @@ text="list", type=STATEMENT_LIST: text="y", type=STRING_LITERAL. text="2", type=STRNUM_LITERAL. +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="x", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="y", type=STRING_LITERAL. + text="2", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr -n put -v true {} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="cond", type=CONDITIONAL_BLOCK: text="true", type=BOOLEAN_LITERAL. text="list", type=STATEMENT_LIST: +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="cond", type=CONDITIONAL_BLOCK: + text="true", type=BOOLEAN_LITERAL. + text="list", type=STATEMENT_LIST: + + mlr -n put -v true {;} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="cond", type=CONDITIONAL_BLOCK: text="true", type=BOOLEAN_LITERAL. text="list", type=STATEMENT_LIST: +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="cond", type=CONDITIONAL_BLOCK: + text="true", type=BOOLEAN_LITERAL. + text="list", type=STATEMENT_LIST: + + mlr -n put -v true {;;} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="cond", type=CONDITIONAL_BLOCK: text="true", type=BOOLEAN_LITERAL. text="list", type=STATEMENT_LIST: +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="cond", type=CONDITIONAL_BLOCK: + text="true", type=BOOLEAN_LITERAL. + text="list", type=STATEMENT_LIST: + + mlr -n put -v true {;;;} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="cond", type=CONDITIONAL_BLOCK: text="true", type=BOOLEAN_LITERAL. text="list", type=STATEMENT_LIST: +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="cond", type=CONDITIONAL_BLOCK: + text="true", type=BOOLEAN_LITERAL. + text="list", type=STATEMENT_LIST: + + mlr -n put -v true {@x=1} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="cond", type=CONDITIONAL_BLOCK: @@ -12152,7 +16034,22 @@ text="list", type=STATEMENT_LIST: text="x", type=STRING_LITERAL. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="cond", type=CONDITIONAL_BLOCK: + text="true", type=BOOLEAN_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="x", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + + mlr -n put -v true {@x=1;} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="cond", type=CONDITIONAL_BLOCK: @@ -12163,7 +16060,22 @@ text="list", type=STATEMENT_LIST: text="x", type=STRING_LITERAL. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="cond", type=CONDITIONAL_BLOCK: + text="true", type=BOOLEAN_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="x", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + + mlr -n put -v true {;@x=1} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="cond", type=CONDITIONAL_BLOCK: @@ -12174,7 +16086,22 @@ text="list", type=STATEMENT_LIST: text="x", type=STRING_LITERAL. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="cond", type=CONDITIONAL_BLOCK: + text="true", type=BOOLEAN_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="x", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + + mlr -n put -v true {@x=1;@y=2} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="cond", type=CONDITIONAL_BLOCK: @@ -12189,7 +16116,26 @@ text="list", type=STATEMENT_LIST: text="y", type=STRING_LITERAL. text="2", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="cond", type=CONDITIONAL_BLOCK: + text="true", type=BOOLEAN_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="x", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="y", type=STRING_LITERAL. + text="2", type=STRNUM_LITERAL. + + mlr -n put -v true {@x=1;;@y=2} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="cond", type=CONDITIONAL_BLOCK: @@ -12204,31 +16150,98 @@ text="list", type=STATEMENT_LIST: text="y", type=STRING_LITERAL. text="2", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="cond", type=CONDITIONAL_BLOCK: + text="true", type=BOOLEAN_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="x", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="y", type=STRING_LITERAL. + text="2", type=STRNUM_LITERAL. + + mlr -n put -v end {} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="end", type=END: text="list", type=STATEMENT_LIST: +ANALYZED AST: + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr -n put -v end {;} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="end", type=END: text="list", type=STATEMENT_LIST: +ANALYZED AST: + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr -n put -v end {;;} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="end", type=END: text="list", type=STATEMENT_LIST: +ANALYZED AST: + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr -n put -v end {;;;} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="end", type=END: text="list", type=STATEMENT_LIST: +ANALYZED AST: + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr -n put -v end {@x=1} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="end", type=END: @@ -12238,7 +16251,23 @@ text="list", type=STATEMENT_LIST: text="x", type=STRING_LITERAL. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="x", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr -n put -v end {@x=1;} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="end", type=END: @@ -12248,7 +16277,23 @@ text="list", type=STATEMENT_LIST: text="x", type=STRING_LITERAL. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="x", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr -n put -v end {;@x=1} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="end", type=END: @@ -12258,7 +16303,23 @@ text="list", type=STATEMENT_LIST: text="x", type=STRING_LITERAL. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="x", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr -n put -v end {@x=1;@y=2} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="end", type=END: @@ -12272,7 +16333,27 @@ text="list", type=STATEMENT_LIST: text="y", type=STRING_LITERAL. text="2", type=STRNUM_LITERAL. +ANALYZED AST: + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="x", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="y", type=STRING_LITERAL. + text="2", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr -n put -v end {@x=1;;@y=2} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="end", type=END: @@ -12286,6 +16367,24 @@ text="list", type=STATEMENT_LIST: text="y", type=STRING_LITERAL. text="2", type=STRNUM_LITERAL. +ANALYZED AST: + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="x", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="y", type=STRING_LITERAL. + text="2", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + ================================================================ DSL CONTEXT-SPECIFIC VALIDATION @@ -12294,6 +16393,8 @@ DSL CONTEXT-SPECIFIC VALIDATION ---------------------------------------------------------------- non-top-level begin/end mlr put -v begin{begin{@x=1}} mlr: begin statements are only valid at top level. +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -12305,8 +16406,22 @@ text="list", type=STATEMENT_LIST: text="x", type=STRING_LITERAL. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="x", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + mlr put -v true{begin{@x=1}} mlr: begin statements are only valid at top level. +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="cond", type=CONDITIONAL_BLOCK: @@ -12319,8 +16434,24 @@ text="list", type=STATEMENT_LIST: text="x", type=STRING_LITERAL. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="cond", type=CONDITIONAL_BLOCK: + text="true", type=BOOLEAN_LITERAL. + text="list", type=STATEMENT_LIST: + text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="x", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + mlr put -v end{end{@x=1}} mlr: end statements are only valid at top level. +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="end", type=END: @@ -12332,8 +16463,22 @@ text="list", type=STATEMENT_LIST: text="x", type=STRING_LITERAL. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="end", type=END: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="x", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + mlr put -v true{end{@x=1}} mlr: end statements are only valid at top level. +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="cond", type=CONDITIONAL_BLOCK: @@ -12346,10 +16491,26 @@ text="list", type=STATEMENT_LIST: text="x", type=STRING_LITERAL. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="cond", type=CONDITIONAL_BLOCK: + text="true", type=BOOLEAN_LITERAL. + text="list", type=STATEMENT_LIST: + text="end", type=END: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="x", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + ---------------------------------------------------------------- srecs in begin/end mlr put -v begin{$x=1} mlr: assignments to $-variables are not valid within begin or end blocks. +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -12358,8 +16519,19 @@ text="list", type=STATEMENT_LIST: text="x", type=FIELD_NAME. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + mlr put -v begin{@x=$y} mlr: statements involving $-variables are not valid within begin or end blocks. +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -12369,8 +16541,20 @@ text="list", type=STATEMENT_LIST: text="x", type=STRING_LITERAL. text="y", type=FIELD_NAME. +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="x", type=STRING_LITERAL. + text="y", type=FIELD_NAME. + mlr put -v end{$x=1} mlr: assignments to $-variables are not valid within begin or end blocks. +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="end", type=END: @@ -12379,8 +16563,19 @@ text="list", type=STATEMENT_LIST: text="x", type=FIELD_NAME. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + mlr put -v end{@x=$y} mlr: statements involving $-variables are not valid within begin or end blocks. +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="end", type=END: @@ -12390,8 +16585,20 @@ text="list", type=STATEMENT_LIST: text="x", type=STRING_LITERAL. text="y", type=FIELD_NAME. +ANALYZED AST: + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="x", type=STRING_LITERAL. + text="y", type=FIELD_NAME. + mlr put -v begin{unset $x} mlr: unset of $-variables is not valid within begin or end blocks. +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -12399,8 +16606,18 @@ text="list", type=STATEMENT_LIST: text="unset", type=UNSET: text="x", type=FIELD_NAME. +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="unset", type=UNSET: + text="x", type=FIELD_NAME. + mlr put -v end{unset $x} mlr: unset of $-variables is not valid within begin or end blocks. +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="end", type=END: @@ -12408,8 +16625,18 @@ text="list", type=STATEMENT_LIST: text="unset", type=UNSET: text="x", type=FIELD_NAME. +ANALYZED AST: + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="unset", type=UNSET: + text="x", type=FIELD_NAME. + mlr put -v begin{unset $*} mlr: unset of $-variables is not valid within begin or end blocks. +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -12417,8 +16644,18 @@ text="list", type=STATEMENT_LIST: text="unset", type=UNSET: text="$*", type=FULL_SREC. +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="unset", type=UNSET: + text="$*", type=FULL_SREC. + mlr put -v end{unset $*} mlr: unset of $-variables is not valid within begin or end blocks. +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="end", type=END: @@ -12426,34 +16663,74 @@ text="list", type=STATEMENT_LIST: text="unset", type=UNSET: text="$*", type=FULL_SREC. +ANALYZED AST: + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="unset", type=UNSET: + text="$*", type=FULL_SREC. + ---------------------------------------------------------------- break/continue outside loop mlr put -v break mlr: break statements are only valid within for, while, or do-while. +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="break", type=BREAK. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="break", type=BREAK. + mlr put -v continue mlr: break statements are only valid within for, while, or do-while. +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="continue", type=CONTINUE. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="continue", type=CONTINUE. + ---------------------------------------------------------------- oosvars etc. in mlr filter mlr filter -v break mlr: filter expressions must end in a final boolean statement. +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="break", type=BREAK. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="break", type=BREAK. + mlr filter -v continue mlr: filter expressions must end in a final boolean statement. +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="continue", type=CONTINUE. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="continue", type=CONTINUE. + ---------------------------------------------------------------- expanded filter mlr --from ./reg_test/input/abixy filter @@ -16198,48 +20475,105 @@ mod -5.000000 DSL REGEX MATCHING mlr filter -v $x =~ "bcd" ./reg_test/input/regex.dkvp +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=~", type=OPERATOR: text="x", type=FIELD_NAME. text="bcd", type=STRNUM_LITERAL. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=~", type=OPERATOR: + text="x", type=FIELD_NAME. + text="bcd", type=STRNUM_LITERAL. + x=abcd,y=ghi x=abcde,y=ghi mlr filter -v $x =~ "^bcd" ./reg_test/input/regex.dkvp +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=~", type=OPERATOR: text="x", type=FIELD_NAME. text="^bcd", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=~", type=OPERATOR: + text="x", type=FIELD_NAME. + text="^bcd", type=STRNUM_LITERAL. + + mlr filter -v $x =~ "^abc" ./reg_test/input/regex.dkvp +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=~", type=OPERATOR: text="x", type=FIELD_NAME. text="^abc", type=STRNUM_LITERAL. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=~", type=OPERATOR: + text="x", type=FIELD_NAME. + text="^abc", type=STRNUM_LITERAL. + x=abc,y=def x=abcd,y=ghi x=abcde,y=ghi mlr filter -v $x =~ "^abc$" ./reg_test/input/regex.dkvp +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=~", type=OPERATOR: text="x", type=FIELD_NAME. text="^abc$", type=STRNUM_LITERAL. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=~", type=OPERATOR: + text="x", type=FIELD_NAME. + text="^abc$", type=STRNUM_LITERAL. + x=abc,y=def mlr filter -v $x =~ "^a.*d$" ./reg_test/input/regex.dkvp +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=~", type=OPERATOR: text="x", type=FIELD_NAME. text="^a.*d$", type=STRNUM_LITERAL. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=~", type=OPERATOR: + text="x", type=FIELD_NAME. + text="^a.*d$", type=STRNUM_LITERAL. + x=abcd,y=ghi mlr filter -v $x =~ "^a.*"."d$" ./reg_test/input/regex.dkvp +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=~", type=OPERATOR: @@ -16247,22 +20581,55 @@ text="list", type=STATEMENT_LIST: text=".", type=OPERATOR: text="^a.*", type=STRNUM_LITERAL. text="d$", type=STRNUM_LITERAL. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=~", type=OPERATOR: + text="x", type=FIELD_NAME. + text=".", type=OPERATOR: + text="^a.*", type=STRNUM_LITERAL. + text="d$", type=STRNUM_LITERAL. + x=abcd,y=ghi mlr filter -v $y =~ "\".." ./reg_test/input/regex.dkvp +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=~", type=OPERATOR: text="y", type=FIELD_NAME. text=""..", type=STRNUM_LITERAL. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=~", type=OPERATOR: + text="y", type=FIELD_NAME. + text=""..", type=STRNUM_LITERAL. + x=ABCDE,y="GHI" mlr filter -v $x =~ "bcd"i ./reg_test/input/regex.dkvp +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=~", type=OPERATOR: text="x", type=FIELD_NAME. text="bcd", type=REGEXI. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=~", type=OPERATOR: + text="x", type=FIELD_NAME. + text="bcd", type=REGEXI. + x=abcd,y=ghi x=ABCD,y=GHI x=abcde,y=ghi @@ -16270,18 +20637,40 @@ x=ABCDE,y=GHI x=ABCDE,y="GHI" mlr filter -v $x =~ "^bcd"i ./reg_test/input/regex.dkvp +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=~", type=OPERATOR: text="x", type=FIELD_NAME. text="^bcd", type=REGEXI. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=~", type=OPERATOR: + text="x", type=FIELD_NAME. + text="^bcd", type=REGEXI. + + mlr filter -v $x =~ "^abc"i ./reg_test/input/regex.dkvp +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=~", type=OPERATOR: text="x", type=FIELD_NAME. text="^abc", type=REGEXI. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=~", type=OPERATOR: + text="x", type=FIELD_NAME. + text="^abc", type=REGEXI. + x=abc,y=def x=ABC,y=DEF x=abcd,y=ghi @@ -16291,24 +20680,48 @@ x=ABCDE,y=GHI x=ABCDE,y="GHI" mlr filter -v $x =~ "^abc$"i ./reg_test/input/regex.dkvp +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=~", type=OPERATOR: text="x", type=FIELD_NAME. text="^abc$", type=REGEXI. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=~", type=OPERATOR: + text="x", type=FIELD_NAME. + text="^abc$", type=REGEXI. + x=abc,y=def x=ABC,y=DEF mlr filter -v $x =~ "^a.*d$"i ./reg_test/input/regex.dkvp +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=~", type=OPERATOR: text="x", type=FIELD_NAME. text="^a.*d$", type=REGEXI. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=~", type=OPERATOR: + text="x", type=FIELD_NAME. + text="^a.*d$", type=REGEXI. + x=abcd,y=ghi x=ABCD,y=GHI mlr filter -v $x =~ "^a.*"."d$"i ./reg_test/input/regex.dkvp +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=~", type=OPERATOR: @@ -16316,6 +20729,17 @@ text="list", type=STATEMENT_LIST: text=".", type=OPERATOR: text="^a.*", type=STRNUM_LITERAL. text="d$", type=REGEXI. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=~", type=OPERATOR: + text="x", type=FIELD_NAME. + text=".", type=OPERATOR: + text="^a.*", type=STRNUM_LITERAL. + text="d$", type=REGEXI. + x=abcd,y=ghi @@ -18340,6 +22764,8 @@ i: 12 j: 12 substr(o123456789, 12, 12): <<>> DSL OOSVARS mlr --opprint put -v begin{@ox=0}; $d=$x-@ox; @ox=$x ./reg_test/input/abixy +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -18358,6 +22784,30 @@ text="list", type=STATEMENT_LIST: text="oosvar_keylist", type=OOSVAR_KEYLIST: text="ox", type=STRING_LITERAL. text="x", type=FIELD_NAME. + +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="ox", type=STRING_LITERAL. + text="0", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="d", type=FIELD_NAME. + text="-", type=OPERATOR: + text="x", type=FIELD_NAME. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="ox", type=STRING_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="ox", type=STRING_LITERAL. + text="x", type=FIELD_NAME. + a b i x y d pan pan 1 0.3467901443380824 0.7268028627434533 0.346790 eks pan 2 0.7586799647899636 0.5221511083334797 0.411890 @@ -18371,6 +22821,8 @@ hat wye 9 0.03144187646093577 0.7495507603507059 -0.567112 pan wye 10 0.5026260055412137 0.9526183602969864 0.471184 mlr --opprint put -v begin{@ox="no"}; $d=@ox == "no" ? 1.0 : $x/@ox; @ox=$x then step -a ratio -f x ./reg_test/input/abixy +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -18395,6 +22847,36 @@ text="list", type=STATEMENT_LIST: text="oosvar_keylist", type=OOSVAR_KEYLIST: text="ox", type=STRING_LITERAL. text="x", type=FIELD_NAME. + +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="ox", type=STRING_LITERAL. + text="no", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="d", type=FIELD_NAME. + text="? :", type=OPERATOR: + text="==", type=OPERATOR: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="ox", type=STRING_LITERAL. + text="no", type=STRNUM_LITERAL. + text="1.0", type=STRNUM_LITERAL. + text="/", type=OPERATOR: + text="x", type=FIELD_NAME. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="ox", type=STRING_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="ox", type=STRING_LITERAL. + text="x", type=FIELD_NAME. + a b i x y d x_ratio pan pan 1 0.3467901443380824 0.7268028627434533 1.000000 1.000000 eks pan 2 0.7586799647899636 0.5221511083334797 2.187721 2.187721 @@ -18408,6 +22890,8 @@ hat wye 9 0.03144187646093577 0.7495507603507059 0.052530 0.052530 pan wye 10 0.5026260055412137 0.9526183602969864 15.985878 15.985878 mlr --opprint put -v $d=$x/@ox; @ox=$x then step -a ratio -f x ./reg_test/input/abixy +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -18420,6 +22904,22 @@ text="list", type=STATEMENT_LIST: text="oosvar_keylist", type=OOSVAR_KEYLIST: text="ox", type=STRING_LITERAL. text="x", type=FIELD_NAME. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="d", type=FIELD_NAME. + text="/", type=OPERATOR: + text="x", type=FIELD_NAME. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="ox", type=STRING_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="ox", type=STRING_LITERAL. + text="x", type=FIELD_NAME. + a b i x y d x_ratio pan pan 1 0.3467901443380824 0.7268028627434533 0.346790 1.000000 eks pan 2 0.7586799647899636 0.5221511083334797 2.187721 2.187721 @@ -18433,6 +22933,8 @@ hat wye 9 0.03144187646093577 0.7495507603507059 0.052530 0.052530 pan wye 10 0.5026260055412137 0.9526183602969864 15.985878 15.985878 mlr --opprint put -v begin{@ox="no"}; $d=@ox == "no" ? 1.0 : $x/@ox; @ox=$x then step -a ratio -f x ./reg_test/input/abixy +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -18457,6 +22959,36 @@ text="list", type=STATEMENT_LIST: text="oosvar_keylist", type=OOSVAR_KEYLIST: text="ox", type=STRING_LITERAL. text="x", type=FIELD_NAME. + +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="ox", type=STRING_LITERAL. + text="no", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="d", type=FIELD_NAME. + text="? :", type=OPERATOR: + text="==", type=OPERATOR: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="ox", type=STRING_LITERAL. + text="no", type=STRNUM_LITERAL. + text="1.0", type=STRNUM_LITERAL. + text="/", type=OPERATOR: + text="x", type=FIELD_NAME. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="ox", type=STRING_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="ox", type=STRING_LITERAL. + text="x", type=FIELD_NAME. + a b i x y d x_ratio pan pan 1 0.3467901443380824 0.7268028627434533 1.000000 1.000000 eks pan 2 0.7586799647899636 0.5221511083334797 2.187721 2.187721 @@ -18470,6 +23002,8 @@ hat wye 9 0.03144187646093577 0.7495507603507059 0.052530 0.052530 pan wye 10 0.5026260055412137 0.9526183602969864 15.985878 15.985878 mlr --opprint put -v begin{@rsum = 0}; @rsum = @rsum + $x; $rsum = @rsum ./reg_test/input/abixy +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -18489,6 +23023,31 @@ text="list", type=STATEMENT_LIST: text="rsum", type=FIELD_NAME. text="oosvar_keylist", type=OOSVAR_KEYLIST: text="rsum", type=STRING_LITERAL. + +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="rsum", type=STRING_LITERAL. + text="0", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="rsum", type=STRING_LITERAL. + text="+", type=OPERATOR: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="rsum", type=STRING_LITERAL. + text="x", type=FIELD_NAME. + text="=", type=SREC_ASSIGNMENT: + text="rsum", type=FIELD_NAME. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="rsum", type=STRING_LITERAL. + a b i x y rsum pan pan 1 0.3467901443380824 0.7268028627434533 0.346790 eks pan 2 0.7586799647899636 0.5221511083334797 1.105470 @@ -18502,6 +23061,8 @@ hat wye 9 0.03144187646093577 0.7495507603507059 4.033668 pan wye 10 0.5026260055412137 0.9526183602969864 4.536294 mlr --opprint put -v begin{@a=0; @b=0; @c=0}; $za=@a; $zb=@b; $zc=@c; $d=@a+@b+@c; @a=@b; @b=@c; @c=$i ./reg_test/input/abixy +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -18554,6 +23115,64 @@ text="list", type=STATEMENT_LIST: text="oosvar_keylist", type=OOSVAR_KEYLIST: text="c", type=STRING_LITERAL. text="i", type=FIELD_NAME. + +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="a", type=STRING_LITERAL. + text="0", type=STRNUM_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="b", type=STRING_LITERAL. + text="0", type=STRNUM_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="c", type=STRING_LITERAL. + text="0", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="za", type=FIELD_NAME. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="a", type=STRING_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="zb", type=FIELD_NAME. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="b", type=STRING_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="zc", type=FIELD_NAME. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="c", type=STRING_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="d", type=FIELD_NAME. + text="+", type=OPERATOR: + text="+", type=OPERATOR: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="a", type=STRING_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="b", type=STRING_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="c", type=STRING_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="a", type=STRING_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="b", type=STRING_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="b", type=STRING_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="c", type=STRING_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="c", type=STRING_LITERAL. + text="i", type=FIELD_NAME. + a b i x y za zb zc d pan pan 1 0.3467901443380824 0.7268028627434533 0 0 0 0 eks pan 2 0.7586799647899636 0.5221511083334797 0 0 1 1 @@ -18567,6 +23186,8 @@ hat wye 9 0.03144187646093577 0.7495507603507059 6 7 8 21 pan wye 10 0.5026260055412137 0.9526183602969864 7 8 9 24 mlr --opprint put -v begin {@a=0; @b=0; @c=0}; $za=@a; $zb=@b; $zc=@c; $d=@a+@b+@c; @a=@b; @b=@c; @c=$i ./reg_test/input/abixy +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -18619,6 +23240,64 @@ text="list", type=STATEMENT_LIST: text="oosvar_keylist", type=OOSVAR_KEYLIST: text="c", type=STRING_LITERAL. text="i", type=FIELD_NAME. + +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="a", type=STRING_LITERAL. + text="0", type=STRNUM_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="b", type=STRING_LITERAL. + text="0", type=STRNUM_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="c", type=STRING_LITERAL. + text="0", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="za", type=FIELD_NAME. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="a", type=STRING_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="zb", type=FIELD_NAME. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="b", type=STRING_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="zc", type=FIELD_NAME. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="c", type=STRING_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="d", type=FIELD_NAME. + text="+", type=OPERATOR: + text="+", type=OPERATOR: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="a", type=STRING_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="b", type=STRING_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="c", type=STRING_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="a", type=STRING_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="b", type=STRING_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="b", type=STRING_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="c", type=STRING_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="c", type=STRING_LITERAL. + text="i", type=FIELD_NAME. + a b i x y za zb zc d pan pan 1 0.3467901443380824 0.7268028627434533 0 0 0 0 eks pan 2 0.7586799647899636 0.5221511083334797 0 0 1 1 @@ -18632,6 +23311,8 @@ hat wye 9 0.03144187646093577 0.7495507603507059 6 7 8 21 pan wye 10 0.5026260055412137 0.9526183602969864 7 8 9 24 mlr --opprint put -v begin{@ox=0}; $d=$x-@ox; @ox=$x ./reg_test/input/abixy +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -18650,6 +23331,30 @@ text="list", type=STATEMENT_LIST: text="oosvar_keylist", type=OOSVAR_KEYLIST: text="ox", type=STRING_LITERAL. text="x", type=FIELD_NAME. + +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="ox", type=STRING_LITERAL. + text="0", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="d", type=FIELD_NAME. + text="-", type=OPERATOR: + text="x", type=FIELD_NAME. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="ox", type=STRING_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="ox", type=STRING_LITERAL. + text="x", type=FIELD_NAME. + a b i x y d pan pan 1 0.3467901443380824 0.7268028627434533 0.346790 eks pan 2 0.7586799647899636 0.5221511083334797 0.411890 @@ -18663,6 +23368,8 @@ hat wye 9 0.03144187646093577 0.7495507603507059 -0.567112 pan wye 10 0.5026260055412137 0.9526183602969864 0.471184 mlr put -v @a=$a; @b=$b; @c=$x; end {emitf @a; emitf @b; emitf @c} ./reg_test/input/abixy +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=OOSVAR_ASSIGNMENT: @@ -18694,6 +23401,43 @@ text="list", type=STATEMENT_LIST: text="oosvar_keylist", type=OOSVAR_KEYLIST: text="c", type=STRING_LITERAL. text="stream", type=STREAM: + +ANALYZED AST: + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="emitf", type=EMITF: + text="emitf", type=EMITF: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="a", type=STRING_LITERAL. + text="stream", type=STREAM: + text="emitf", type=EMITF: + text="emitf", type=EMITF: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="b", type=STRING_LITERAL. + text="stream", type=STREAM: + text="emitf", type=EMITF: + text="emitf", type=EMITF: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="c", type=STRING_LITERAL. + text="stream", type=STREAM: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="a", type=STRING_LITERAL. + text="a", type=FIELD_NAME. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="b", type=STRING_LITERAL. + text="b", type=FIELD_NAME. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="c", type=STRING_LITERAL. + text="x", type=FIELD_NAME. + a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 @@ -18709,6 +23453,8 @@ b=wye c=0.502626 mlr put -v @a=$a; @b=$b; @c=$x; end{emitf @a, @b, @c} ./reg_test/input/abixy +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=OOSVAR_ASSIGNMENT: @@ -18734,6 +23480,37 @@ text="list", type=STATEMENT_LIST: text="oosvar_keylist", type=OOSVAR_KEYLIST: text="c", type=STRING_LITERAL. text="stream", type=STREAM: + +ANALYZED AST: + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="emitf", type=EMITF: + text="emitf", type=EMITF: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="a", type=STRING_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="b", type=STRING_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="c", type=STRING_LITERAL. + text="stream", type=STREAM: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="a", type=STRING_LITERAL. + text="a", type=FIELD_NAME. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="b", type=STRING_LITERAL. + text="b", type=FIELD_NAME. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="c", type=STRING_LITERAL. + text="x", type=FIELD_NAME. + a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 @@ -18747,6 +23524,8 @@ a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864 a=pan,b=wye,c=0.502626 mlr --opprint put -v begin {@count=0; @sum=0.0}; @count=@count+1; @sum=@sum+$x; end{@mean=@sum/@count; emitf @mean} ./reg_test/input/abixy +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -18788,6 +23567,55 @@ text="list", type=STATEMENT_LIST: text="oosvar_keylist", type=OOSVAR_KEYLIST: text="mean", type=STRING_LITERAL. text="stream", type=STREAM: + +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="count", type=STRING_LITERAL. + text="0", type=STRNUM_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="sum", type=STRING_LITERAL. + text="0.0", type=STRNUM_LITERAL. + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="mean", type=STRING_LITERAL. + text="/", type=OPERATOR: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="sum", type=STRING_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="count", type=STRING_LITERAL. + text="emitf", type=EMITF: + text="emitf", type=EMITF: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="mean", type=STRING_LITERAL. + text="stream", type=STREAM: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="count", type=STRING_LITERAL. + text="+", type=OPERATOR: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="count", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="sum", type=STRING_LITERAL. + text="+", type=OPERATOR: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="sum", type=STRING_LITERAL. + text="x", type=FIELD_NAME. + a b i x y pan pan 1 0.3467901443380824 0.7268028627434533 eks pan 2 0.7586799647899636 0.5221511083334797 @@ -18804,6 +23632,8 @@ mean 0.453629 mlr --opprint put -v end{@mean=@sum/@count; emitf @mean}; begin {@count=0; @sum=0.0}; @count=@count+1; @sum=@sum+$x ./reg_test/input/abixy +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="end", type=END: @@ -18845,6 +23675,55 @@ text="list", type=STATEMENT_LIST: text="oosvar_keylist", type=OOSVAR_KEYLIST: text="sum", type=STRING_LITERAL. text="x", type=FIELD_NAME. + +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="count", type=STRING_LITERAL. + text="0", type=STRNUM_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="sum", type=STRING_LITERAL. + text="0.0", type=STRNUM_LITERAL. + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="mean", type=STRING_LITERAL. + text="/", type=OPERATOR: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="sum", type=STRING_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="count", type=STRING_LITERAL. + text="emitf", type=EMITF: + text="emitf", type=EMITF: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="mean", type=STRING_LITERAL. + text="stream", type=STREAM: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="count", type=STRING_LITERAL. + text="+", type=OPERATOR: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="count", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="sum", type=STRING_LITERAL. + text="+", type=OPERATOR: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="sum", type=STRING_LITERAL. + text="x", type=FIELD_NAME. + a b i x y pan pan 1 0.3467901443380824 0.7268028627434533 eks pan 2 0.7586799647899636 0.5221511083334797 @@ -18861,6 +23740,8 @@ mean 0.453629 mlr put -v begin{ @a = @b[1] }; $c = @d; @e[$i][2+$j][3] = $4; end{@f[@g[5][@h]] = 6} /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -18896,6 +23777,48 @@ text="list", type=STATEMENT_LIST: text="h", type=STRING_LITERAL. text="6", type=STRNUM_LITERAL. +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="a", type=STRING_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="b", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="f", type=STRING_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="g", type=STRING_LITERAL. + text="5", type=STRNUM_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="h", type=STRING_LITERAL. + text="6", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="c", type=FIELD_NAME. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="d", type=STRING_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="e", type=STRING_LITERAL. + text="i", type=FIELD_NAME. + text="+", type=OPERATOR: + text="2", type=STRNUM_LITERAL. + text="j", type=FIELD_NAME. + text="3", type=STRNUM_LITERAL. + text="4", type=FIELD_NAME. + + mlr put @y[$a]=$y; end{dump} ./reg_test/input/abixy a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 @@ -19392,6 +24315,8 @@ NR k output DSL PATTERN-ACTION BLOCKS mlr put -v begin{@a=1}; $e=2; $f==$g||$h==$i {}; $x=6; end{@z=9} /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -19422,7 +24347,46 @@ text="list", type=STATEMENT_LIST: text="z", type=STRING_LITERAL. text="9", type=STRNUM_LITERAL. +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="a", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="z", type=STRING_LITERAL. + text="9", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="e", type=FIELD_NAME. + text="2", type=STRNUM_LITERAL. + text="cond", type=CONDITIONAL_BLOCK: + text="||", type=OPERATOR: + text="==", type=OPERATOR: + text="f", type=FIELD_NAME. + text="g", type=FIELD_NAME. + text="==", type=OPERATOR: + text="h", type=FIELD_NAME. + text="i", type=FIELD_NAME. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="6", type=STRNUM_LITERAL. + + mlr put -v begin{@a=1}; $e=2; $f==$g||$h==$i {$s=1}; $x=6; end{@z=9} /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -19456,7 +24420,49 @@ text="list", type=STATEMENT_LIST: text="z", type=STRING_LITERAL. text="9", type=STRNUM_LITERAL. +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="a", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="z", type=STRING_LITERAL. + text="9", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="e", type=FIELD_NAME. + text="2", type=STRNUM_LITERAL. + text="cond", type=CONDITIONAL_BLOCK: + text="||", type=OPERATOR: + text="==", type=OPERATOR: + text="f", type=FIELD_NAME. + text="g", type=FIELD_NAME. + text="==", type=OPERATOR: + text="h", type=FIELD_NAME. + text="i", type=FIELD_NAME. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="s", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="6", type=STRNUM_LITERAL. + + mlr put -v begin{@a=1}; $e=2; $f==$g||$h==$i {$s=1;$t=2}; $x=6; end{@z=9} /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -19493,7 +24499,52 @@ text="list", type=STATEMENT_LIST: text="z", type=STRING_LITERAL. text="9", type=STRNUM_LITERAL. +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="a", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="z", type=STRING_LITERAL. + text="9", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="e", type=FIELD_NAME. + text="2", type=STRNUM_LITERAL. + text="cond", type=CONDITIONAL_BLOCK: + text="||", type=OPERATOR: + text="==", type=OPERATOR: + text="f", type=FIELD_NAME. + text="g", type=FIELD_NAME. + text="==", type=OPERATOR: + text="h", type=FIELD_NAME. + text="i", type=FIELD_NAME. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="s", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="t", type=FIELD_NAME. + text="2", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="6", type=STRNUM_LITERAL. + + mlr put -v begin{@a=1}; $e=2; $f==$g||$h==$i {$s=1;$t=2;$u=3}; $x=6; end{@z=9} /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -19533,7 +24584,55 @@ text="list", type=STATEMENT_LIST: text="z", type=STRING_LITERAL. text="9", type=STRNUM_LITERAL. +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="a", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="z", type=STRING_LITERAL. + text="9", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="e", type=FIELD_NAME. + text="2", type=STRNUM_LITERAL. + text="cond", type=CONDITIONAL_BLOCK: + text="||", type=OPERATOR: + text="==", type=OPERATOR: + text="f", type=FIELD_NAME. + text="g", type=FIELD_NAME. + text="==", type=OPERATOR: + text="h", type=FIELD_NAME. + text="i", type=FIELD_NAME. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="s", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="t", type=FIELD_NAME. + text="2", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="u", type=FIELD_NAME. + text="3", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="6", type=STRNUM_LITERAL. + + mlr put -v begin{@a=1}; $e=2; $f==$g||$h==$i {$s=1;@t["u".$5]=2;emitf @v,@w;dump}; $x=6; end{@z=9} /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -19584,7 +24683,66 @@ text="list", type=STATEMENT_LIST: text="z", type=STRING_LITERAL. text="9", type=STRNUM_LITERAL. +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="a", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="z", type=STRING_LITERAL. + text="9", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="e", type=FIELD_NAME. + text="2", type=STRNUM_LITERAL. + text="cond", type=CONDITIONAL_BLOCK: + text="||", type=OPERATOR: + text="==", type=OPERATOR: + text="f", type=FIELD_NAME. + text="g", type=FIELD_NAME. + text="==", type=OPERATOR: + text="h", type=FIELD_NAME. + text="i", type=FIELD_NAME. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="s", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="t", type=STRING_LITERAL. + text=".", type=OPERATOR: + text="u", type=STRNUM_LITERAL. + text="5", type=FIELD_NAME. + text="2", type=STRNUM_LITERAL. + text="emitf", type=EMITF: + text="emitf", type=EMITF: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="w", type=STRING_LITERAL. + text="stream", type=STREAM: + text="dump", type=DUMP: + text=">", type=FILE_WRITE: + text="stdout", type=STDOUT: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="6", type=STRNUM_LITERAL. + + mlr put -v begin{true{@x=1}}; true{@x=2}; end{true{@x=3}} /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -19613,6 +24771,41 @@ text="list", type=STATEMENT_LIST: text="x", type=STRING_LITERAL. text="3", type=STRNUM_LITERAL. +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="cond", type=CONDITIONAL_BLOCK: + text="true", type=BOOLEAN_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="x", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="cond", type=CONDITIONAL_BLOCK: + text="true", type=BOOLEAN_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="x", type=STRING_LITERAL. + text="3", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="cond", type=CONDITIONAL_BLOCK: + text="true", type=BOOLEAN_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="x", type=STRING_LITERAL. + text="2", type=STRNUM_LITERAL. + + ================================================================ DSL IF-CHAINING @@ -19624,6 +24817,8 @@ mlr --from ./reg_test/input/xy40.dkvp put -v $x = 2; $y = 3 } +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="if_head", type=IF_HEAD: @@ -19638,6 +24833,24 @@ text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: text="y", type=FIELD_NAME. text="3", type=STRNUM_LITERAL. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="if_head", type=IF_HEAD: + text="if", type=IF_ITEM: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="1", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="2", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="3", type=STRNUM_LITERAL. + i=1,x=2,y=3 i=2,x=102,y=202 i=3,x=103,y=203 @@ -19687,6 +24900,8 @@ mlr --from ./reg_test/input/xy40.dkvp put -v $x = 1007; $y = 1008 } +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="if_head", type=IF_HEAD: @@ -19709,6 +24924,32 @@ text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: text="y", type=FIELD_NAME. text="1008", type=STRNUM_LITERAL. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="if_head", type=IF_HEAD: + text="if", type=IF_ITEM: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="4", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="5", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="6", type=STRNUM_LITERAL. + text="else", type=IF_ITEM: + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="1007", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="1008", type=STRNUM_LITERAL. + i=1,x=1007,y=1008 i=2,x=1007,y=1008 i=3,x=1007,y=1008 @@ -19761,6 +25002,8 @@ mlr --from ./reg_test/input/xy40.dkvp put -v $x = 1015; $y = 1016 } +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="if_head", type=IF_HEAD: @@ -19794,6 +25037,43 @@ text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: text="y", type=FIELD_NAME. text="1016", type=STRNUM_LITERAL. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="if_head", type=IF_HEAD: + text="if", type=IF_ITEM: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="9", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="10", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="11", type=STRNUM_LITERAL. + text="elif", type=IF_ITEM: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="12", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="13", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="14", type=STRNUM_LITERAL. + text="else", type=IF_ITEM: + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="1015", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="1016", type=STRNUM_LITERAL. + i=1,x=1015,y=1016 i=2,x=1015,y=1016 i=3,x=1015,y=1016 @@ -19849,6 +25129,8 @@ mlr --from ./reg_test/input/xy40.dkvp put -v $x = 1026; $y = 1027 } +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="if_head", type=IF_HEAD: @@ -19893,6 +25175,54 @@ text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: text="y", type=FIELD_NAME. text="1027", type=STRNUM_LITERAL. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="if_head", type=IF_HEAD: + text="if", type=IF_ITEM: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="17", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="18", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="19", type=STRNUM_LITERAL. + text="elif", type=IF_ITEM: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="20", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="21", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="22", type=STRNUM_LITERAL. + text="elif", type=IF_ITEM: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="23", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="24", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="25", type=STRNUM_LITERAL. + text="else", type=IF_ITEM: + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="1026", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="1027", type=STRNUM_LITERAL. + i=1,x=1026,y=1027 i=2,x=1026,y=1027 i=3,x=1026,y=1027 @@ -19951,6 +25281,8 @@ mlr --from ./reg_test/input/xy40.dkvp put -v $x = 1040; $y = 1041 } +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="if_head", type=IF_HEAD: @@ -20006,6 +25338,65 @@ text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: text="y", type=FIELD_NAME. text="1041", type=STRNUM_LITERAL. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="if_head", type=IF_HEAD: + text="if", type=IF_ITEM: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="28", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="29", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="30", type=STRNUM_LITERAL. + text="elif", type=IF_ITEM: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="31", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="32", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="33", type=STRNUM_LITERAL. + text="elif", type=IF_ITEM: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="34", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="35", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="36", type=STRNUM_LITERAL. + text="elif", type=IF_ITEM: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="37", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="38", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="39", type=STRNUM_LITERAL. + text="else", type=IF_ITEM: + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="1040", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="1041", type=STRNUM_LITERAL. + i=1,x=1040,y=1041 i=2,x=1040,y=1041 i=3,x=1040,y=1041 @@ -20054,6 +25445,8 @@ mlr --from ./reg_test/input/xy40.dkvp put -v $x = 2; $y = 3 } +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="if_head", type=IF_HEAD: @@ -20068,6 +25461,24 @@ text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: text="y", type=FIELD_NAME. text="3", type=STRNUM_LITERAL. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="if_head", type=IF_HEAD: + text="if", type=IF_ITEM: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="1", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="2", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="3", type=STRNUM_LITERAL. + i=1,x=2,y=3 i=2,x=102,y=202 i=3,x=103,y=203 @@ -20117,6 +25528,8 @@ mlr --from ./reg_test/input/xy40.dkvp put -v $x = 8; $y = 9 } +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="if_head", type=IF_HEAD: @@ -20142,6 +25555,35 @@ text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: text="y", type=FIELD_NAME. text="9", type=STRNUM_LITERAL. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="if_head", type=IF_HEAD: + text="if", type=IF_ITEM: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="4", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="5", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="6", type=STRNUM_LITERAL. + text="elif", type=IF_ITEM: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="7", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="8", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="9", type=STRNUM_LITERAL. + i=1,x=101,y=201 i=2,x=102,y=202 i=3,x=103,y=203 @@ -20194,6 +25636,8 @@ mlr --from ./reg_test/input/xy40.dkvp put -v $x = 17; $y = 18 } +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="if_head", type=IF_HEAD: @@ -20230,6 +25674,46 @@ text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: text="y", type=FIELD_NAME. text="18", type=STRNUM_LITERAL. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="if_head", type=IF_HEAD: + text="if", type=IF_ITEM: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="10", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="11", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="12", type=STRNUM_LITERAL. + text="elif", type=IF_ITEM: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="13", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="14", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="15", type=STRNUM_LITERAL. + text="elif", type=IF_ITEM: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="16", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="17", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="18", type=STRNUM_LITERAL. + i=1,x=101,y=201 i=2,x=102,y=202 i=3,x=103,y=203 @@ -20285,6 +25769,8 @@ mlr --from ./reg_test/input/xy40.dkvp put -v $x = 29; $y = 30 } +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="if_head", type=IF_HEAD: @@ -20332,6 +25818,57 @@ text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: text="y", type=FIELD_NAME. text="30", type=STRNUM_LITERAL. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="if_head", type=IF_HEAD: + text="if", type=IF_ITEM: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="19", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="20", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="21", type=STRNUM_LITERAL. + text="elif", type=IF_ITEM: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="22", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="23", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="24", type=STRNUM_LITERAL. + text="elif", type=IF_ITEM: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="25", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="26", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="37", type=STRNUM_LITERAL. + text="elif", type=IF_ITEM: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="28", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="x", type=FIELD_NAME. + text="29", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="y", type=FIELD_NAME. + text="30", type=STRNUM_LITERAL. + i=1,x=101,y=201 i=2,x=102,y=202 i=3,x=103,y=203 @@ -20378,6 +25915,8 @@ i=40,x=140,y=240 DSL INDIRECT SREC ASSIGNMENTS mlr put -v $["a"] = $["b"]; $["x"] = 10 * $["y"] ./reg_test/input/abixy +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=INDIRECT_SREC_ASSIGNMENT: @@ -20390,6 +25929,22 @@ text="list", type=STATEMENT_LIST: text="10", type=STRNUM_LITERAL. text="indirect_field_name", type=INDIRECT_FIELD_NAME: text="y", type=STRNUM_LITERAL. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=INDIRECT_SREC_ASSIGNMENT: + text="a", type=STRNUM_LITERAL. + text="indirect_field_name", type=INDIRECT_FIELD_NAME: + text="b", type=STRNUM_LITERAL. + text="=", type=INDIRECT_SREC_ASSIGNMENT: + text="x", type=STRNUM_LITERAL. + text="*", type=OPERATOR: + text="10", type=STRNUM_LITERAL. + text="indirect_field_name", type=INDIRECT_FIELD_NAME: + text="y", type=STRNUM_LITERAL. + a=pan,b=pan,i=1,x=7.268029,y=0.7268028627434533 a=pan,b=pan,i=2,x=5.221511,y=0.5221511083334797 a=wye,b=wye,i=3,x=3.383185,y=0.33831852551664776 @@ -20418,6 +25973,8 @@ a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864,k6=v5,k7=v6,k8=v7,k9= DSL INDIRECT OOSVAR ASSIGNMENTS mlr --opprint put -v @s = NR; $t = @s; $u=@["s"]; $v = $t - $u ./reg_test/input/abixy +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=OOSVAR_ASSIGNMENT: @@ -20437,6 +25994,29 @@ text="list", type=STATEMENT_LIST: text="-", type=OPERATOR: text="t", type=FIELD_NAME. text="u", type=FIELD_NAME. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="s", type=STRING_LITERAL. + text="NR", type=CONTEXT_VARIABLE. + text="=", type=SREC_ASSIGNMENT: + text="t", type=FIELD_NAME. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="s", type=STRING_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="u", type=FIELD_NAME. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="s", type=STRNUM_LITERAL. + text="=", type=SREC_ASSIGNMENT: + text="v", type=FIELD_NAME. + text="-", type=OPERATOR: + text="t", type=FIELD_NAME. + text="u", type=FIELD_NAME. + a b i x y t u v pan pan 1 0.3467901443380824 0.7268028627434533 1 1 0 eks pan 2 0.7586799647899636 0.5221511083334797 2 2 0 @@ -20450,6 +26030,8 @@ hat wye 9 0.03144187646093577 0.7495507603507059 9 9 0 pan wye 10 0.5026260055412137 0.9526183602969864 10 10 0 mlr put -v @t["u"] = NR; $tu = @["t"]["u"]; emitp all ./reg_test/input/abixy +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=OOSVAR_ASSIGNMENT: @@ -20466,6 +26048,26 @@ text="list", type=STATEMENT_LIST: text="emitp", type=EMITP: text="all", type=ALL. text="stream", type=STREAM: + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="t", type=STRING_LITERAL. + text="u", type=STRNUM_LITERAL. + text="NR", type=CONTEXT_VARIABLE. + text="=", type=SREC_ASSIGNMENT: + text="tu", type=FIELD_NAME. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="t", type=STRNUM_LITERAL. + text="u", type=STRNUM_LITERAL. + text="emitp", type=EMITP: + text="emitp", type=EMITP: + text="all", type=ALL. + text="stream", type=STREAM: + t:u=1 a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533,tu=1 t:u=2 @@ -20488,6 +26090,8 @@ t:u=10 a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864,tu=10 mlr put -v @t["u"] = NR; $tu = @["t"]["u"]; emitp @* ./reg_test/input/abixy +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=OOSVAR_ASSIGNMENT: @@ -20504,6 +26108,26 @@ text="list", type=STATEMENT_LIST: text="emitp", type=EMITP: text="@*", type=FULL_OOSVAR. text="stream", type=STREAM: + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="t", type=STRING_LITERAL. + text="u", type=STRNUM_LITERAL. + text="NR", type=CONTEXT_VARIABLE. + text="=", type=SREC_ASSIGNMENT: + text="tu", type=FIELD_NAME. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="t", type=STRNUM_LITERAL. + text="u", type=STRNUM_LITERAL. + text="emitp", type=EMITP: + text="emitp", type=EMITP: + text="@*", type=FULL_OOSVAR. + text="stream", type=STREAM: + t:u=1 a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533,tu=1 t:u=2 @@ -20526,6 +26150,8 @@ t:u=10 a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864,tu=10 mlr put -v @["s"] = $x; emitp all ./reg_test/input/abixy +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=OOSVAR_ASSIGNMENT: @@ -20536,6 +26162,20 @@ text="list", type=STATEMENT_LIST: text="emitp", type=EMITP: text="all", type=ALL. text="stream", type=STREAM: + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="s", type=STRNUM_LITERAL. + text="x", type=FIELD_NAME. + text="emitp", type=EMITP: + text="emitp", type=EMITP: + text="all", type=ALL. + text="stream", type=STREAM: + s=0.346790 a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 s=0.758680 @@ -20558,6 +26198,8 @@ s=0.502626 a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864 mlr put -v @["t"]["u"] = $y; emitp all ./reg_test/input/abixy +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=OOSVAR_ASSIGNMENT: @@ -20569,6 +26211,21 @@ text="list", type=STATEMENT_LIST: text="emitp", type=EMITP: text="all", type=ALL. text="stream", type=STREAM: + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="t", type=STRNUM_LITERAL. + text="u", type=STRNUM_LITERAL. + text="y", type=FIELD_NAME. + text="emitp", type=EMITP: + text="emitp", type=EMITP: + text="all", type=ALL. + text="stream", type=STREAM: + t:u=0.726803 a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 t:u=0.522151 @@ -20595,6 +26252,8 @@ a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864 DSL WHILE/DO-WHILE LOOPS mlr put -v while($i < 5) { $i += 1} ./reg_test/input/abixy +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="while", type=WHILE: @@ -20607,6 +26266,22 @@ text="list", type=STATEMENT_LIST: text="+", type=OPERATOR: text="i", type=FIELD_NAME. text="1", type=STRNUM_LITERAL. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="while", type=WHILE: + text="<", type=OPERATOR: + text="i", type=FIELD_NAME. + text="5", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="i", type=FIELD_NAME. + text="+", type=OPERATOR: + text="i", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + a=pan,b=pan,i=5,x=0.3467901443380824,y=0.7268028627434533 a=eks,b=pan,i=5,x=0.7586799647899636,y=0.5221511083334797 a=wye,b=wye,i=5,x=0.20460330576630303,y=0.33831852551664776 @@ -20619,6 +26294,8 @@ a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059 a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864 mlr put -v do {$i += 1} while($i < 5) ./reg_test/input/abixy +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="do", type=DO_WHILE: @@ -20631,6 +26308,22 @@ text="list", type=STATEMENT_LIST: text="<", type=OPERATOR: text="i", type=FIELD_NAME. text="5", type=STRNUM_LITERAL. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="do", type=DO_WHILE: + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="i", type=FIELD_NAME. + text="+", type=OPERATOR: + text="i", type=FIELD_NAME. + text="1", type=STRNUM_LITERAL. + text="<", type=OPERATOR: + text="i", type=FIELD_NAME. + text="5", type=STRNUM_LITERAL. + a=pan,b=pan,i=5,x=0.3467901443380824,y=0.7268028627434533 a=eks,b=pan,i=5,x=0.7586799647899636,y=0.5221511083334797 a=wye,b=wye,i=5,x=0.20460330576630303,y=0.33831852551664776 @@ -20649,6 +26342,8 @@ DSL FOR-SREC LOOPS ---------------------------------------------------------------- empty for-srec mlr --from ./reg_test/input/abixy put -v for(k,v in $*) { } +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="for", type=FOR_SREC: @@ -20656,6 +26351,17 @@ text="list", type=STATEMENT_LIST: text="k", type=NON_SIGIL_NAME. text="v", type=NON_SIGIL_NAME. text="list", type=STATEMENT_LIST: + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="for", type=FOR_SREC: + text="variables", type=FOR_VARIABLES: + text="k", type=NON_SIGIL_NAME. + text="v", type=NON_SIGIL_NAME. + text="list", type=STATEMENT_LIST: + a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776 @@ -20670,6 +26376,8 @@ a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864 ---------------------------------------------------------------- for-srec without boundvars mlr --from ./reg_test/input/abixy put -v for(k,v in $*) {$nr= NR} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="for", type=FOR_SREC: @@ -20680,6 +26388,20 @@ text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: text="nr", type=FIELD_NAME. text="NR", type=CONTEXT_VARIABLE. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="for", type=FOR_SREC: + text="variables", type=FOR_VARIABLES: + text="k", type=NON_SIGIL_NAME. + text="v", type=NON_SIGIL_NAME. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="nr", type=FIELD_NAME. + text="NR", type=CONTEXT_VARIABLE. + a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533,nr=1 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797,nr=2 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776,nr=3 @@ -20694,6 +26416,8 @@ a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864,nr=10 ---------------------------------------------------------------- for-srec modifying the srec mlr --from ./reg_test/input/abixy put -v for(k,v in $*) {unset $[k]}; $j = NR +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="for", type=FOR_SREC: @@ -20707,6 +26431,23 @@ text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: text="j", type=FIELD_NAME. text="NR", type=CONTEXT_VARIABLE. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="for", type=FOR_SREC: + text="variables", type=FOR_VARIABLES: + text="k", type=NON_SIGIL_NAME. + text="v", type=NON_SIGIL_NAME. + text="list", type=STATEMENT_LIST: + text="unset", type=UNSET: + text="indirect_field_name", type=INDIRECT_FIELD_NAME: + text="k", type=BOUND_VARIABLE. + text="=", type=SREC_ASSIGNMENT: + text="j", type=FIELD_NAME. + text="NR", type=CONTEXT_VARIABLE. + j=1 j=2 j=3 @@ -20719,6 +26460,8 @@ j=9 j=10 mlr --from ./reg_test/input/abixy put -v for(k,v in $*) {if (k != "x") {unset $[k]}}; $j = NR +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="for", type=FOR_SREC: @@ -20738,6 +26481,29 @@ text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: text="j", type=FIELD_NAME. text="NR", type=CONTEXT_VARIABLE. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="for", type=FOR_SREC: + text="variables", type=FOR_VARIABLES: + text="k", type=NON_SIGIL_NAME. + text="v", type=NON_SIGIL_NAME. + text="list", type=STATEMENT_LIST: + text="if_head", type=IF_HEAD: + text="if", type=IF_ITEM: + text="!=", type=OPERATOR: + text="k", type=BOUND_VARIABLE. + text="x", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="unset", type=UNSET: + text="indirect_field_name", type=INDIRECT_FIELD_NAME: + text="k", type=BOUND_VARIABLE. + text="=", type=SREC_ASSIGNMENT: + text="j", type=FIELD_NAME. + text="NR", type=CONTEXT_VARIABLE. + x=0.3467901443380824,j=1 x=0.7586799647899636,j=2 x=0.20460330576630303,j=3 @@ -20750,6 +26516,8 @@ x=0.03144187646093577,j=9 x=0.5026260055412137,j=10 mlr --from ./reg_test/input/abixy --opprint put -S -v for(k,v in $*) {$[k."_orig"]=v; $[k] = "other"} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="for", type=FOR_SREC: @@ -20765,6 +26533,25 @@ text="list", type=STATEMENT_LIST: text="=", type=INDIRECT_SREC_ASSIGNMENT: text="k", type=BOUND_VARIABLE. text="other", type=STRNUM_LITERAL. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="for", type=FOR_SREC: + text="variables", type=FOR_VARIABLES: + text="k", type=NON_SIGIL_NAME. + text="v", type=NON_SIGIL_NAME. + text="list", type=STATEMENT_LIST: + text="=", type=INDIRECT_SREC_ASSIGNMENT: + text=".", type=OPERATOR: + text="k", type=BOUND_VARIABLE. + text="_orig", type=STRNUM_LITERAL. + text="v", type=BOUND_VARIABLE. + text="=", type=INDIRECT_SREC_ASSIGNMENT: + text="k", type=BOUND_VARIABLE. + text="other", type=STRNUM_LITERAL. + a b i x y a_orig b_orig i_orig x_orig y_orig other other other other other pan pan 1 0.3467901443380824 0.7268028627434533 other other other other other eks pan 2 0.7586799647899636 0.5221511083334797 @@ -20778,6 +26565,8 @@ other other other other other hat wye 9 0.03144187646093577 0.7495507 other other other other other pan wye 10 0.5026260055412137 0.9526183602969864 mlr --from ./reg_test/input/abixy put -S -v for(k,v in $*) {$[v]=k} +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="for", type=FOR_SREC: @@ -20788,6 +26577,20 @@ text="list", type=STATEMENT_LIST: text="=", type=INDIRECT_SREC_ASSIGNMENT: text="v", type=BOUND_VARIABLE. text="k", type=BOUND_VARIABLE. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="for", type=FOR_SREC: + text="variables", type=FOR_VARIABLES: + text="k", type=NON_SIGIL_NAME. + text="v", type=NON_SIGIL_NAME. + text="list", type=STATEMENT_LIST: + text="=", type=INDIRECT_SREC_ASSIGNMENT: + text="v", type=BOUND_VARIABLE. + text="k", type=BOUND_VARIABLE. + a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533,pan=b,1=i,0.3467901443380824=x,0.7268028627434533=y a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797,eks=a,pan=b,2=i,0.7586799647899636=x,0.5221511083334797=y a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776,wye=b,3=i,0.20460330576630303=x,0.33831852551664776=y @@ -20806,6 +26609,8 @@ mlr --from ./reg_test/input/abixy put -v $sum += $[k] } } +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -20828,6 +26633,32 @@ text="list", type=STATEMENT_LIST: text="sum", type=FIELD_NAME. text="indirect_field_name", type=INDIRECT_FIELD_NAME: text="k", type=BOUND_VARIABLE. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="sum", type=FIELD_NAME. + text="0", type=STRNUM_LITERAL. + text="for", type=FOR_SREC: + text="variables", type=FOR_VARIABLES: + text="k", type=NON_SIGIL_NAME. + text="v", type=NON_SIGIL_NAME. + text="list", type=STATEMENT_LIST: + text="if_head", type=IF_HEAD: + text="if", type=IF_ITEM: + text="=~", type=OPERATOR: + text="k", type=BOUND_VARIABLE. + text="^[xy]$", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="sum", type=FIELD_NAME. + text="+", type=OPERATOR: + text="sum", type=FIELD_NAME. + text="indirect_field_name", type=INDIRECT_FIELD_NAME: + text="k", type=BOUND_VARIABLE. + a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533,sum=1.073593 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797,sum=1.280831 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776,sum=0.542922 @@ -20846,6 +26677,8 @@ mlr --from ./reg_test/input/abixy put -S -v $sum += float($[k]) } } +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=SREC_ASSIGNMENT: @@ -20870,6 +26703,34 @@ text="list", type=STATEMENT_LIST: text="float", type=NON_SIGIL_NAME: text="indirect_field_name", type=INDIRECT_FIELD_NAME: text="k", type=BOUND_VARIABLE. + +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="sum", type=FIELD_NAME. + text="float", type=NON_SIGIL_NAME: + text="0", type=STRNUM_LITERAL. + text="for", type=FOR_SREC: + text="variables", type=FOR_VARIABLES: + text="k", type=NON_SIGIL_NAME. + text="v", type=NON_SIGIL_NAME. + text="list", type=STATEMENT_LIST: + text="if_head", type=IF_HEAD: + text="if", type=IF_ITEM: + text="=~", type=OPERATOR: + text="k", type=BOUND_VARIABLE. + text="^[xy]$", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=SREC_ASSIGNMENT: + text="sum", type=FIELD_NAME. + text="+", type=OPERATOR: + text="sum", type=FIELD_NAME. + text="float", type=NON_SIGIL_NAME: + text="indirect_field_name", type=INDIRECT_FIELD_NAME: + text="k", type=BOUND_VARIABLE. + a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533,sum=1.073593 a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797,sum=1.280831 a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776,sum=0.542922 @@ -20896,6 +26757,8 @@ mlr --opprint -n put -v emit @n, "a", "b", "c", "d" } +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=OOSVAR_ASSIGNMENT: @@ -20956,6 +26819,71 @@ text="list", type=STATEMENT_LIST: text="d", type=STRNUM_LITERAL. text="stream", type=STREAM: +ANALYZED AST: + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="emit", type=EMIT: + text="emit", type=EMIT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="n", type=STRING_LITERAL. + text="emit_namelist", type=EMIT: + text="a", type=STRNUM_LITERAL. + text="b", type=STRNUM_LITERAL. + text="c", type=STRNUM_LITERAL. + text="d", type=STRNUM_LITERAL. + text="stream", type=STREAM: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="o", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + text="1", type=STRNUM_LITERAL. + text="text1", type=STRNUM_LITERAL. + text="NR", type=CONTEXT_VARIABLE. + text="a", type=FIELD_NAME. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="o", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="text2", type=STRNUM_LITERAL. + text="NR", type=CONTEXT_VARIABLE. + text="b", type=FIELD_NAME. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="o", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="a", type=FIELD_NAME. + text="*", type=OPERATOR: + text="i", type=FIELD_NAME. + text="100", type=STRNUM_LITERAL. + text="x", type=FIELD_NAME. + text="for", type=FOR_OOSVAR: + text="key_and_value_variables", type=FOR_VARIABLES: + text="key_variables", type=FOR_VARIABLES: + text="k1", type=NON_SIGIL_NAME. + text="k2", type=NON_SIGIL_NAME. + text="v", type=NON_SIGIL_NAME. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="o", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + text="2", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="n", type=STRING_LITERAL. + text="3", type=STRNUM_LITERAL. + text="4", type=STRNUM_LITERAL. + text="k2", type=BOUND_VARIABLE. + text="k1", type=BOUND_VARIABLE. + text="v", type=BOUND_VARIABLE. + + mlr --opprint --from ./reg_test/input/abixy put -q @o[1][1]["text1"][NR] = $a; @o[1][2]["text2"][NR] = $b; @@ -21126,6 +27054,8 @@ mean hat dog 0.475824 mlr -n put -v for (k, k in $*) {} mlr: duplicate for-loop boundvars "k" and "k". +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="for", type=FOR_SREC: @@ -21134,9 +27064,21 @@ text="list", type=STATEMENT_LIST: text="k", type=NON_SIGIL_NAME. text="list", type=STATEMENT_LIST: +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="for", type=FOR_SREC: + text="variables", type=FOR_VARIABLES: + text="k", type=NON_SIGIL_NAME. + text="k", type=NON_SIGIL_NAME. + text="list", type=STATEMENT_LIST: + mlr -n put -v for (k, k in @*) {} mlr: duplicate for-loop boundvar "k". Boundvars: "k", "k". +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="for", type=FOR_OOSVAR: @@ -21147,9 +27089,23 @@ text="list", type=STATEMENT_LIST: text="empty_keylist", type=OOSVAR_KEYLIST: text="list", type=STATEMENT_LIST: +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="for", type=FOR_OOSVAR: + text="key_and_value_variables", type=FOR_VARIABLES: + text="key_variables", type=FOR_VARIABLES: + text="k", type=NON_SIGIL_NAME. + text="k", type=NON_SIGIL_NAME. + text="empty_keylist", type=OOSVAR_KEYLIST: + text="list", type=STATEMENT_LIST: + mlr -n put -v for ((a,a), c in @*) {} mlr: duplicate for-loop boundvar "a". Boundvars: "a", "a", "c". +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="for", type=FOR_OOSVAR: @@ -21161,9 +27117,24 @@ text="list", type=STATEMENT_LIST: text="empty_keylist", type=OOSVAR_KEYLIST: text="list", type=STATEMENT_LIST: +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="for", type=FOR_OOSVAR: + text="key_and_value_variables", type=FOR_VARIABLES: + text="key_variables", type=FOR_VARIABLES: + text="a", type=NON_SIGIL_NAME. + text="a", type=NON_SIGIL_NAME. + text="c", type=NON_SIGIL_NAME. + text="empty_keylist", type=OOSVAR_KEYLIST: + text="list", type=STATEMENT_LIST: + mlr -n put -v for ((a,b), a in @*) {} mlr: duplicate for-loop boundvar "a". Boundvars: "a", "b", "a". +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="for", type=FOR_OOSVAR: @@ -21175,9 +27146,24 @@ text="list", type=STATEMENT_LIST: text="empty_keylist", type=OOSVAR_KEYLIST: text="list", type=STATEMENT_LIST: +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="for", type=FOR_OOSVAR: + text="key_and_value_variables", type=FOR_VARIABLES: + text="key_variables", type=FOR_VARIABLES: + text="a", type=NON_SIGIL_NAME. + text="b", type=NON_SIGIL_NAME. + text="a", type=NON_SIGIL_NAME. + text="empty_keylist", type=OOSVAR_KEYLIST: + text="list", type=STATEMENT_LIST: + mlr -n put -v for ((a,b), b in @*) {} mlr: duplicate for-loop boundvar "b". Boundvars: "a", "b", "b". +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="for", type=FOR_OOSVAR: @@ -21189,9 +27175,24 @@ text="list", type=STATEMENT_LIST: text="empty_keylist", type=OOSVAR_KEYLIST: text="list", type=STATEMENT_LIST: +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="for", type=FOR_OOSVAR: + text="key_and_value_variables", type=FOR_VARIABLES: + text="key_variables", type=FOR_VARIABLES: + text="a", type=NON_SIGIL_NAME. + text="b", type=NON_SIGIL_NAME. + text="b", type=NON_SIGIL_NAME. + text="empty_keylist", type=OOSVAR_KEYLIST: + text="list", type=STATEMENT_LIST: + mlr -n put -v for ((a,a,c), d in @*) {} mlr: duplicate for-loop boundvar "a". Boundvars: "a", "a", "c", "d". +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="for", type=FOR_OOSVAR: @@ -21204,9 +27205,25 @@ text="list", type=STATEMENT_LIST: text="empty_keylist", type=OOSVAR_KEYLIST: text="list", type=STATEMENT_LIST: +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="for", type=FOR_OOSVAR: + text="key_and_value_variables", type=FOR_VARIABLES: + text="key_variables", type=FOR_VARIABLES: + text="a", type=NON_SIGIL_NAME. + text="a", type=NON_SIGIL_NAME. + text="c", type=NON_SIGIL_NAME. + text="d", type=NON_SIGIL_NAME. + text="empty_keylist", type=OOSVAR_KEYLIST: + text="list", type=STATEMENT_LIST: + mlr -n put -v for ((a,b,a), d in @*) {} mlr: duplicate for-loop boundvar "a". Boundvars: "a", "b", "a", "d". +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="for", type=FOR_OOSVAR: @@ -21219,9 +27236,25 @@ text="list", type=STATEMENT_LIST: text="empty_keylist", type=OOSVAR_KEYLIST: text="list", type=STATEMENT_LIST: +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="for", type=FOR_OOSVAR: + text="key_and_value_variables", type=FOR_VARIABLES: + text="key_variables", type=FOR_VARIABLES: + text="a", type=NON_SIGIL_NAME. + text="b", type=NON_SIGIL_NAME. + text="a", type=NON_SIGIL_NAME. + text="d", type=NON_SIGIL_NAME. + text="empty_keylist", type=OOSVAR_KEYLIST: + text="list", type=STATEMENT_LIST: + mlr -n put -v for ((a,b,c), a in @*) {} mlr: duplicate for-loop boundvar "a". Boundvars: "a", "b", "c", "a". +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="for", type=FOR_OOSVAR: @@ -21234,9 +27267,25 @@ text="list", type=STATEMENT_LIST: text="empty_keylist", type=OOSVAR_KEYLIST: text="list", type=STATEMENT_LIST: +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="for", type=FOR_OOSVAR: + text="key_and_value_variables", type=FOR_VARIABLES: + text="key_variables", type=FOR_VARIABLES: + text="a", type=NON_SIGIL_NAME. + text="b", type=NON_SIGIL_NAME. + text="c", type=NON_SIGIL_NAME. + text="a", type=NON_SIGIL_NAME. + text="empty_keylist", type=OOSVAR_KEYLIST: + text="list", type=STATEMENT_LIST: + mlr -n put -v for ((a,b,b), d in @*) {} mlr: duplicate for-loop boundvar "b". Boundvars: "a", "b", "b", "d". +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="for", type=FOR_OOSVAR: @@ -21249,9 +27298,25 @@ text="list", type=STATEMENT_LIST: text="empty_keylist", type=OOSVAR_KEYLIST: text="list", type=STATEMENT_LIST: +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="for", type=FOR_OOSVAR: + text="key_and_value_variables", type=FOR_VARIABLES: + text="key_variables", type=FOR_VARIABLES: + text="a", type=NON_SIGIL_NAME. + text="b", type=NON_SIGIL_NAME. + text="b", type=NON_SIGIL_NAME. + text="d", type=NON_SIGIL_NAME. + text="empty_keylist", type=OOSVAR_KEYLIST: + text="list", type=STATEMENT_LIST: + mlr -n put -v for ((a,b,c), b in @*) {} mlr: duplicate for-loop boundvar "b". Boundvars: "a", "b", "c", "b". +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="for", type=FOR_OOSVAR: @@ -21264,9 +27329,25 @@ text="list", type=STATEMENT_LIST: text="empty_keylist", type=OOSVAR_KEYLIST: text="list", type=STATEMENT_LIST: +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="for", type=FOR_OOSVAR: + text="key_and_value_variables", type=FOR_VARIABLES: + text="key_variables", type=FOR_VARIABLES: + text="a", type=NON_SIGIL_NAME. + text="b", type=NON_SIGIL_NAME. + text="c", type=NON_SIGIL_NAME. + text="b", type=NON_SIGIL_NAME. + text="empty_keylist", type=OOSVAR_KEYLIST: + text="list", type=STATEMENT_LIST: + mlr -n put -v for ((a,b,c), c in @*) {} mlr: duplicate for-loop boundvar "c". Boundvars: "a", "b", "c", "c". +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="for", type=FOR_OOSVAR: @@ -21279,6 +27360,20 @@ text="list", type=STATEMENT_LIST: text="empty_keylist", type=OOSVAR_KEYLIST: text="list", type=STATEMENT_LIST: +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="for", type=FOR_OOSVAR: + text="key_and_value_variables", type=FOR_VARIABLES: + text="key_variables", type=FOR_VARIABLES: + text="a", type=NON_SIGIL_NAME. + text="b", type=NON_SIGIL_NAME. + text="c", type=NON_SIGIL_NAME. + text="c", type=NON_SIGIL_NAME. + text="empty_keylist", type=OOSVAR_KEYLIST: + text="list", type=STATEMENT_LIST: + ================================================================ DSL BREAK/CONTINUE IN SINGLE WHILE/DO-WHILE @@ -31049,6 +37144,8 @@ NR=4,b=wye OOSVAR-FROM-SREC ASSIGNMENT mlr put -v @v = $* /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=OOSVAR_FROM_FULL_SREC_ASSIGNMENT: @@ -31056,7 +37153,19 @@ text="list", type=STATEMENT_LIST: text="v", type=STRING_LITERAL. text="$*", type=FULL_SREC. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=OOSVAR_FROM_FULL_SREC_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + text="$*", type=FULL_SREC. + + mlr put -v @v[1] = $* /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=OOSVAR_FROM_FULL_SREC_ASSIGNMENT: @@ -31065,7 +37174,20 @@ text="list", type=STATEMENT_LIST: text="1", type=STRNUM_LITERAL. text="$*", type=FULL_SREC. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=OOSVAR_FROM_FULL_SREC_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + text="$*", type=FULL_SREC. + + mlr put -v @v[$2] = $* /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=OOSVAR_FROM_FULL_SREC_ASSIGNMENT: @@ -31074,7 +37196,20 @@ text="list", type=STATEMENT_LIST: text="2", type=FIELD_NAME. text="$*", type=FULL_SREC. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=OOSVAR_FROM_FULL_SREC_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + text="2", type=FIELD_NAME. + text="$*", type=FULL_SREC. + + mlr put -v NR == 3 {@v = $*} /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="cond", type=CONDITIONAL_BLOCK: @@ -31087,7 +37222,24 @@ text="list", type=STATEMENT_LIST: text="v", type=STRING_LITERAL. text="$*", type=FULL_SREC. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="cond", type=CONDITIONAL_BLOCK: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="3", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_FROM_FULL_SREC_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + text="$*", type=FULL_SREC. + + mlr put -v NR == 3 {@v[1] = $*} /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="cond", type=CONDITIONAL_BLOCK: @@ -31101,7 +37253,25 @@ text="list", type=STATEMENT_LIST: text="1", type=STRNUM_LITERAL. text="$*", type=FULL_SREC. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="cond", type=CONDITIONAL_BLOCK: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="3", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_FROM_FULL_SREC_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + text="$*", type=FULL_SREC. + + mlr put -v NR == 3 {@v[$2] = $*} /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="cond", type=CONDITIONAL_BLOCK: @@ -31115,6 +37285,22 @@ text="list", type=STATEMENT_LIST: text="2", type=FIELD_NAME. text="$*", type=FULL_SREC. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="cond", type=CONDITIONAL_BLOCK: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="3", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_FROM_FULL_SREC_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + text="2", type=FIELD_NAME. + text="$*", type=FULL_SREC. + + mlr --oxtab put -q @v = $*; end {emitp @v } ./reg_test/input/abixy-het v:a pan v:b wye @@ -31316,6 +37502,8 @@ v:yyy 0.976181385699006 SREC-FROM-OOSVAR ASSIGNMENT mlr put -v $* = @v /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=FULL_SREC_FROM_OOSVAR_ASSIGNMENT: @@ -31323,7 +37511,19 @@ text="list", type=STATEMENT_LIST: text="oosvar_keylist", type=OOSVAR_KEYLIST: text="v", type=STRING_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=FULL_SREC_FROM_OOSVAR_ASSIGNMENT: + text="$*", type=FULL_SREC. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + + mlr put -v $* = @v[1] /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=FULL_SREC_FROM_OOSVAR_ASSIGNMENT: @@ -31332,7 +37532,20 @@ text="list", type=STATEMENT_LIST: text="v", type=STRING_LITERAL. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=FULL_SREC_FROM_OOSVAR_ASSIGNMENT: + text="$*", type=FULL_SREC. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + + mlr put -v $* = @v[$2] /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=FULL_SREC_FROM_OOSVAR_ASSIGNMENT: @@ -31341,7 +37554,20 @@ text="list", type=STATEMENT_LIST: text="v", type=STRING_LITERAL. text="2", type=FIELD_NAME. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=FULL_SREC_FROM_OOSVAR_ASSIGNMENT: + text="$*", type=FULL_SREC. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + text="2", type=FIELD_NAME. + + mlr put -v NR == 3 {$* = @v } /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="cond", type=CONDITIONAL_BLOCK: @@ -31354,7 +37580,24 @@ text="list", type=STATEMENT_LIST: text="oosvar_keylist", type=OOSVAR_KEYLIST: text="v", type=STRING_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="cond", type=CONDITIONAL_BLOCK: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="3", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=FULL_SREC_FROM_OOSVAR_ASSIGNMENT: + text="$*", type=FULL_SREC. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + + mlr put -v NR == 3 {$* = @v[1] } /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="cond", type=CONDITIONAL_BLOCK: @@ -31368,7 +37611,25 @@ text="list", type=STATEMENT_LIST: text="v", type=STRING_LITERAL. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="cond", type=CONDITIONAL_BLOCK: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="3", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=FULL_SREC_FROM_OOSVAR_ASSIGNMENT: + text="$*", type=FULL_SREC. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + + mlr put -v NR == 3 {$* = @v[$2]} /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="cond", type=CONDITIONAL_BLOCK: @@ -31382,6 +37643,22 @@ text="list", type=STATEMENT_LIST: text="v", type=STRING_LITERAL. text="2", type=FIELD_NAME. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="cond", type=CONDITIONAL_BLOCK: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="3", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=FULL_SREC_FROM_OOSVAR_ASSIGNMENT: + text="$*", type=FULL_SREC. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + text="2", type=FIELD_NAME. + + mlr put @v[NR] = $a; NR == 7 { @v = $*} ; $* = @v ./reg_test/input/abixy-het 1=pan 1=pan,2=eks @@ -31399,6 +37676,8 @@ a=eks,b=zee,iii=7,x=0.6117840605678454,y=0.1878849191181694,8=zee,10=pan OOSVAR-FROM-OOSVAR ASSIGNMENT mlr put -v @u = @v /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=OOSVAR_ASSIGNMENT: @@ -31407,7 +37686,20 @@ text="list", type=STATEMENT_LIST: text="oosvar_keylist", type=OOSVAR_KEYLIST: text="v", type=STRING_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="u", type=STRING_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + + mlr put -v @u = @v[1] /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=OOSVAR_ASSIGNMENT: @@ -31417,7 +37709,21 @@ text="list", type=STATEMENT_LIST: text="v", type=STRING_LITERAL. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="u", type=STRING_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + + mlr put -v @u[2] = @v /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=OOSVAR_ASSIGNMENT: @@ -31427,7 +37733,21 @@ text="list", type=STATEMENT_LIST: text="oosvar_keylist", type=OOSVAR_KEYLIST: text="v", type=STRING_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="u", type=STRING_LITERAL. + text="2", type=STRNUM_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + + mlr put -v @u[2] = @v[1] /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="=", type=OOSVAR_ASSIGNMENT: @@ -31438,7 +37758,22 @@ text="list", type=STATEMENT_LIST: text="v", type=STRING_LITERAL. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="u", type=STRING_LITERAL. + text="2", type=STRNUM_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + + mlr put -v begin { @u = @v } /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -31449,7 +37784,24 @@ text="list", type=STATEMENT_LIST: text="oosvar_keylist", type=OOSVAR_KEYLIST: text="v", type=STRING_LITERAL. +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="u", type=STRING_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr put -v begin { @u = @v[1] } /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -31461,7 +37813,25 @@ text="list", type=STATEMENT_LIST: text="v", type=STRING_LITERAL. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="u", type=STRING_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr put -v begin { @u[2] = @v } /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -31473,7 +37843,25 @@ text="list", type=STATEMENT_LIST: text="oosvar_keylist", type=OOSVAR_KEYLIST: text="v", type=STRING_LITERAL. +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="u", type=STRING_LITERAL. + text="2", type=STRNUM_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr put -v begin { @u[2] = @v[1] } /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="begin", type=BEGIN: @@ -31486,7 +37874,26 @@ text="list", type=STATEMENT_LIST: text="v", type=STRING_LITERAL. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="u", type=STRING_LITERAL. + text="2", type=STRNUM_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr put -v NR == 3 { @u = @v } /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="cond", type=CONDITIONAL_BLOCK: @@ -31500,7 +37907,25 @@ text="list", type=STATEMENT_LIST: text="oosvar_keylist", type=OOSVAR_KEYLIST: text="v", type=STRING_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="cond", type=CONDITIONAL_BLOCK: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="3", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="u", type=STRING_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + + mlr put -v NR == 3 { @u = @v[1] } /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="cond", type=CONDITIONAL_BLOCK: @@ -31515,7 +37940,26 @@ text="list", type=STATEMENT_LIST: text="v", type=STRING_LITERAL. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="cond", type=CONDITIONAL_BLOCK: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="3", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="u", type=STRING_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + + mlr put -v NR == 3 { @u[2] = @v } /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="cond", type=CONDITIONAL_BLOCK: @@ -31530,7 +37974,26 @@ text="list", type=STATEMENT_LIST: text="oosvar_keylist", type=OOSVAR_KEYLIST: text="v", type=STRING_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="cond", type=CONDITIONAL_BLOCK: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="3", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="u", type=STRING_LITERAL. + text="2", type=STRNUM_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + + mlr put -v NR == 3 { @u[2] = @v[1] } /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="cond", type=CONDITIONAL_BLOCK: @@ -31546,7 +38009,27 @@ text="list", type=STATEMENT_LIST: text="v", type=STRING_LITERAL. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="cond", type=CONDITIONAL_BLOCK: + text="==", type=OPERATOR: + text="NR", type=CONTEXT_VARIABLE. + text="3", type=STRNUM_LITERAL. + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="u", type=STRING_LITERAL. + text="2", type=STRNUM_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + + mlr put -v end { @u = @v } /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="end", type=END: @@ -31557,7 +38040,24 @@ text="list", type=STATEMENT_LIST: text="oosvar_keylist", type=OOSVAR_KEYLIST: text="v", type=STRING_LITERAL. +ANALYZED AST: + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="u", type=STRING_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr put -v end { @u = @v[1] } /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="end", type=END: @@ -31569,7 +38069,25 @@ text="list", type=STATEMENT_LIST: text="v", type=STRING_LITERAL. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="u", type=STRING_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr put -v end { @u[2] = @v } /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="end", type=END: @@ -31581,7 +38099,25 @@ text="list", type=STATEMENT_LIST: text="oosvar_keylist", type=OOSVAR_KEYLIST: text="v", type=STRING_LITERAL. +ANALYZED AST: + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="u", type=STRING_LITERAL. + text="2", type=STRNUM_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr put -v end { @u[2] = @v[1] } /dev/null +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="end", type=END: @@ -31594,6 +38130,23 @@ text="list", type=STATEMENT_LIST: text="v", type=STRING_LITERAL. text="1", type=STRNUM_LITERAL. +ANALYZED AST: + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="u", type=STRING_LITERAL. + text="2", type=STRNUM_LITERAL. + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="v", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + + mlr put -q @s += $i; @t=@s; end{dump; emitp@s; emitp @t} ./reg_test/input/abixy { "s": 55, @@ -36011,6 +42564,8 @@ mlr --from ./reg_test/input/abixy put -v print "local4 = ".emm; } +RAW AST: + AST ROOT: text="list", type=STATEMENT_LIST: text="f", type=FUNC_DEF: @@ -36129,6 +42684,142 @@ text="list", type=STATEMENT_LIST: text="emm", type=BOUND_VARIABLE. text=">", type=FILE_WRITE: text="stdout", type=STDOUT: + +ANALYZED AST: + +FUNCTION DEFINITION: +text="f", type=FUNC_DEF: + text="f", type=NON_SIGIL_NAME: + text="x", type=NON_SIGIL_NAME. + text="list", type=STATEMENT_LIST: + text="return_value", type=RETURN_VALUE: + text="**", type=OPERATOR: + text="x", type=BOUND_VARIABLE. + text="2", type=STRNUM_LITERAL. + +FUNCTION DEFINITION: +text="g", type=FUNC_DEF: + text="g", type=NON_SIGIL_NAME: + text="y", type=NON_SIGIL_NAME. + text="list", type=STATEMENT_LIST: + text="return_value", type=RETURN_VALUE: + text="+", type=OPERATOR: + text="y", type=BOUND_VARIABLE. + text="1", type=STRNUM_LITERAL. + +SUBROUTINE DEFINITION: +text="s", type=SUBR_DEF: + text="s", type=NON_SIGIL_NAME: + text="a", type=NON_SIGIL_NAME. + text="b", type=NON_SIGIL_NAME. + text="c", type=NON_SIGIL_NAME. + text="list", type=STATEMENT_LIST: + text="print", type=PRINT: + text=".", type=OPERATOR: + text=".", type=OPERATOR: + text="a", type=BOUND_VARIABLE. + text="b", type=BOUND_VARIABLE. + text="c", type=BOUND_VARIABLE. + text=">", type=FILE_WRITE: + text="stdout", type=STDOUT: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="a", type=STRING_LITERAL. + text="0", type=STRNUM_LITERAL. + text="local", type=LOCAL: + text="ell", type=BOUND_VARIABLE. + text="1", type=STRNUM_LITERAL. + text="print", type=PRINT: + text=".", type=OPERATOR: + text="local1 = ", type=STRNUM_LITERAL. + text="ell", type=BOUND_VARIABLE. + text=">", type=FILE_WRITE: + text="stdout", type=STDOUT: + +BEGIN-BLOCK: +text="begin", type=BEGIN: + text="list", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="b", type=STRING_LITERAL. + text="0", type=STRNUM_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="c", type=STRING_LITERAL. + text="0", type=STRNUM_LITERAL. + text="print", type=PRINT: + text=".", type=OPERATOR: + text="local3 = ", type=STRNUM_LITERAL. + text="ell", type=BOUND_VARIABLE. + text=">", type=FILE_WRITE: + text="stdout", type=STDOUT: + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="emit", type=EMIT: + text="emit", type=EMIT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="a", type=STRING_LITERAL. + text="stream", type=STREAM: + text="local", type=LOCAL: + text="emm", type=BOUND_VARIABLE. + text="2", type=STRNUM_LITERAL. + text="print", type=PRINT: + text=".", type=OPERATOR: + text="local2 = ", type=STRNUM_LITERAL. + text="emm", type=BOUND_VARIABLE. + text=">", type=FILE_WRITE: + text="stdout", type=STDOUT: + +END-BLOCK: +text="end", type=END: + text="list", type=STATEMENT_LIST: + text="emit", type=EMIT: + text="emit", type=EMIT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="b", type=STRING_LITERAL. + text="stream", type=STREAM: + text="emit", type=EMIT: + text="emit", type=EMIT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="c", type=STRING_LITERAL. + text="stream", type=STREAM: + text="print", type=PRINT: + text=".", type=OPERATOR: + text="local4 = ", type=STRNUM_LITERAL. + text="emm", type=BOUND_VARIABLE. + text=">", type=FILE_WRITE: + text="stdout", type=STDOUT: + +MAIN BLOCK: +text="main_block", type=STATEMENT_LIST: + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="a", type=STRING_LITERAL. + text="+", type=OPERATOR: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="a", type=STRING_LITERAL. + text="1", type=STRNUM_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="b", type=STRING_LITERAL. + text="+", type=OPERATOR: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="b", type=STRING_LITERAL. + text="2", type=STRNUM_LITERAL. + text="=", type=OOSVAR_ASSIGNMENT: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="c", type=STRING_LITERAL. + text="+", type=OPERATOR: + text="oosvar_keylist", type=OOSVAR_KEYLIST: + text="c", type=STRING_LITERAL. + text="3", type=STRNUM_LITERAL. + local1 = 1 local3 = a=pan,b=pan,i=1,x=0.3467901443380824,y=0.7268028627434533