
mlr --opprint put -v @s = NR; $t = @s; $u=@["s"]; $v = $t - $u ./reg-test/input/abixy
AST:

AST ROOT:
text="block", type=STATEMENT_BLOCK:
    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=STRING_LITERAL.
    text="=", type=SREC_ASSIGNMENT:
        text="v", type=FIELD_NAME.
        text="-", type=OPERATOR:
            text="t", type=FIELD_NAME.
            text="u", type=FIELD_NAME.

BLOCKED AST:

MAIN BLOCK:
text="main_block", type=STATEMENT_BLOCK: subframe_var_count=1 max_subframe_depth=1 max_var_depth=1
    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=STRING_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
wye wye 3  0.20460330576630303 0.33831852551664776 3  3  0
eks wye 4  0.38139939387114097 0.13418874328430463 4  4  0
wye pan 5  0.5732889198020006  0.8636244699032729  5  5  0
zee pan 6  0.5271261600918548  0.49322128674835697 6  6  0
eks zee 7  0.6117840605678454  0.1878849191181694  7  7  0
zee wye 8  0.5985540091064224  0.976181385699006   8  8  0
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
AST:

AST ROOT:
text="block", type=STATEMENT_BLOCK:
    text="=", type=OOSVAR_ASSIGNMENT:
        text="oosvar_keylist", type=OOSVAR_KEYLIST:
            text="t", type=STRING_LITERAL.
            text="u", type=STRING_LITERAL.
        text="NR", type=CONTEXT_VARIABLE.
    text="=", type=SREC_ASSIGNMENT:
        text="tu", type=FIELD_NAME.
        text="oosvar_keylist", type=OOSVAR_KEYLIST:
            text="t", type=STRING_LITERAL.
            text="u", type=STRING_LITERAL.
    text="emitp", type=EMITP:
        text="emitp", type=EMITP:
            text="all", type=ALL.
        text="stream", type=STREAM:

BLOCKED AST:

MAIN BLOCK:
text="main_block", type=STATEMENT_BLOCK: subframe_var_count=1 max_subframe_depth=1 max_var_depth=1
    text="=", type=OOSVAR_ASSIGNMENT:
        text="oosvar_keylist", type=OOSVAR_KEYLIST:
            text="t", type=STRING_LITERAL.
            text="u", type=STRING_LITERAL.
        text="NR", type=CONTEXT_VARIABLE.
    text="=", type=SREC_ASSIGNMENT:
        text="tu", type=FIELD_NAME.
        text="oosvar_keylist", type=OOSVAR_KEYLIST:
            text="t", type=STRING_LITERAL.
            text="u", type=STRING_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
a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797,tu=2
t:u=3
a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776,tu=3
t:u=4
a=eks,b=wye,i=4,x=0.38139939387114097,y=0.13418874328430463,tu=4
t:u=5
a=wye,b=pan,i=5,x=0.5732889198020006,y=0.8636244699032729,tu=5
t:u=6
a=zee,b=pan,i=6,x=0.5271261600918548,y=0.49322128674835697,tu=6
t:u=7
a=eks,b=zee,i=7,x=0.6117840605678454,y=0.1878849191181694,tu=7
t:u=8
a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006,tu=8
t:u=9
a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059,tu=9
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
AST:

AST ROOT:
text="block", type=STATEMENT_BLOCK:
    text="=", type=OOSVAR_ASSIGNMENT:
        text="oosvar_keylist", type=OOSVAR_KEYLIST:
            text="t", type=STRING_LITERAL.
            text="u", type=STRING_LITERAL.
        text="NR", type=CONTEXT_VARIABLE.
    text="=", type=SREC_ASSIGNMENT:
        text="tu", type=FIELD_NAME.
        text="oosvar_keylist", type=OOSVAR_KEYLIST:
            text="t", type=STRING_LITERAL.
            text="u", type=STRING_LITERAL.
    text="emitp", type=EMITP:
        text="emitp", type=EMITP:
            text="@*", type=FULL_OOSVAR.
        text="stream", type=STREAM:

BLOCKED AST:

MAIN BLOCK:
text="main_block", type=STATEMENT_BLOCK: subframe_var_count=1 max_subframe_depth=1 max_var_depth=1
    text="=", type=OOSVAR_ASSIGNMENT:
        text="oosvar_keylist", type=OOSVAR_KEYLIST:
            text="t", type=STRING_LITERAL.
            text="u", type=STRING_LITERAL.
        text="NR", type=CONTEXT_VARIABLE.
    text="=", type=SREC_ASSIGNMENT:
        text="tu", type=FIELD_NAME.
        text="oosvar_keylist", type=OOSVAR_KEYLIST:
            text="t", type=STRING_LITERAL.
            text="u", type=STRING_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
a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797,tu=2
t:u=3
a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776,tu=3
t:u=4
a=eks,b=wye,i=4,x=0.38139939387114097,y=0.13418874328430463,tu=4
t:u=5
a=wye,b=pan,i=5,x=0.5732889198020006,y=0.8636244699032729,tu=5
t:u=6
a=zee,b=pan,i=6,x=0.5271261600918548,y=0.49322128674835697,tu=6
t:u=7
a=eks,b=zee,i=7,x=0.6117840605678454,y=0.1878849191181694,tu=7
t:u=8
a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006,tu=8
t:u=9
a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059,tu=9
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
AST:

AST ROOT:
text="block", type=STATEMENT_BLOCK:
    text="=", type=OOSVAR_ASSIGNMENT:
        text="oosvar_keylist", type=OOSVAR_KEYLIST:
            text="s", type=STRING_LITERAL.
        text="x", type=FIELD_NAME.
    text="emitp", type=EMITP:
        text="emitp", type=EMITP:
            text="all", type=ALL.
        text="stream", type=STREAM:

BLOCKED AST:

MAIN BLOCK:
text="main_block", type=STATEMENT_BLOCK: subframe_var_count=1 max_subframe_depth=1 max_var_depth=1
    text="=", type=OOSVAR_ASSIGNMENT:
        text="oosvar_keylist", type=OOSVAR_KEYLIST:
            text="s", type=STRING_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
a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797
s=0.204603
a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776
s=0.381399
a=eks,b=wye,i=4,x=0.38139939387114097,y=0.13418874328430463
s=0.573289
a=wye,b=pan,i=5,x=0.5732889198020006,y=0.8636244699032729
s=0.527126
a=zee,b=pan,i=6,x=0.5271261600918548,y=0.49322128674835697
s=0.611784
a=eks,b=zee,i=7,x=0.6117840605678454,y=0.1878849191181694
s=0.598554
a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006
s=0.031442
a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059
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
AST:

AST ROOT:
text="block", type=STATEMENT_BLOCK:
    text="=", type=OOSVAR_ASSIGNMENT:
        text="oosvar_keylist", type=OOSVAR_KEYLIST:
            text="t", type=STRING_LITERAL.
            text="u", type=STRING_LITERAL.
        text="y", type=FIELD_NAME.
    text="emitp", type=EMITP:
        text="emitp", type=EMITP:
            text="all", type=ALL.
        text="stream", type=STREAM:

BLOCKED AST:

MAIN BLOCK:
text="main_block", type=STATEMENT_BLOCK: subframe_var_count=1 max_subframe_depth=1 max_var_depth=1
    text="=", type=OOSVAR_ASSIGNMENT:
        text="oosvar_keylist", type=OOSVAR_KEYLIST:
            text="t", type=STRING_LITERAL.
            text="u", type=STRING_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
a=eks,b=pan,i=2,x=0.7586799647899636,y=0.5221511083334797
t:u=0.338319
a=wye,b=wye,i=3,x=0.20460330576630303,y=0.33831852551664776
t:u=0.134189
a=eks,b=wye,i=4,x=0.38139939387114097,y=0.13418874328430463
t:u=0.863624
a=wye,b=pan,i=5,x=0.5732889198020006,y=0.8636244699032729
t:u=0.493221
a=zee,b=pan,i=6,x=0.5271261600918548,y=0.49322128674835697
t:u=0.187885
a=eks,b=zee,i=7,x=0.6117840605678454,y=0.1878849191181694
t:u=0.976181
a=zee,b=wye,i=8,x=0.5985540091064224,y=0.976181385699006
t:u=0.749551
a=hat,b=wye,i=9,x=0.03144187646093577,y=0.7495507603507059
t:u=0.952618
a=pan,b=wye,i=10,x=0.5026260055412137,y=0.9526183602969864

