
mlr --from ./reg-test/input/abixy put 
  $* = {
    "a": $a,
    "x": $x,
  }

a=pan,x=0.3467901443380824
a=eks,x=0.7586799647899636
a=wye,x=0.20460330576630303
a=eks,x=0.38139939387114097
a=wye,x=0.5732889198020006
a=zee,x=0.5271261600918548
a=eks,x=0.6117840605678454
a=zee,x=0.5985540091064224
a=hat,x=0.03144187646093577
a=pan,x=0.5026260055412137

mlr --from ./reg-test/input/xyz345 put func f(): int { return 999 } $y=f()
x=3,y=999,z=5

mlr --from ./reg-test/input/xyz345 put func f(): int { return 999 } $y=f(,)

mlr --from ./reg-test/input/xyz345 put func f(a,):  int { return a*2 } $y=f(NR)
x=3,y=2,z=5

mlr --from ./reg-test/input/xyz345 put func f(a,,): int { return a*2 } $y=f(NR)

mlr --from ./reg-test/input/xyz345 put func f(int a,):  int { return a*2 } $y=f(NR)
x=3,y=2,z=5

mlr --from ./reg-test/input/xyz345 put func f(int a,,): int { return a*2 } $y=f(NR)

mlr --from ./reg-test/input/xyz345 put subr s()      { print 999  } call s()
999
x=3,y=4,z=5

mlr --from ./reg-test/input/xyz345 put subr s()      { print 999  } call s(,)

mlr --from ./reg-test/input/xyz345 put subr s(a,)   { print a*2 } call s(NR)
2
x=3,y=4,z=5

mlr --from ./reg-test/input/xyz345 put subr s(a,,)  { print a*2 } call s(NR)

mlr --from ./reg-test/input/xyz345 put subr s(int a,)   { print a*2 } call s(NR)
2
x=3,y=4,z=5

mlr --from ./reg-test/input/xyz345 put subr s(int a,,)  { print a*2 } call s(NR)

mlr --from ./reg-test/input/xyz345 put $y=log10($x)
x=3,y=0.4771212547196624,z=5

mlr --from ./reg-test/input/xyz345 put $y=log10($x,)
x=3,y=0.4771212547196624,z=5

mlr --from ./reg-test/input/xyz345 put $y=log10($x,,)

mlr --from ./reg-test/input/xyz345 put $y=log10(,$x)

mlr --from ./reg-test/input/xyz345 put $y=pow($x,2)
x=3,y=9,z=5

mlr --from ./reg-test/input/xyz345 put $y=pow($x,2,)
x=3,y=9,z=5

