Warning: this is an htmlized version! The original is across this link, and the conversion rules are here.
```Lua 5.1.5  Copyright (C) 1994-2012 Lua.org, PUC-Rio
> dofile "newrect.lua"
> ZHA.fromspec("12L1RRR2RL1"):PP():print()
{ "L"={0=0, 1=-1, 2=-2, 3=-1, 4=0, 5=1, 6=2, 7=1, 8=2, 9=1, 10=2},
"R"={0=0, 1=1, 2=0, 3=-1, 4=0, 5=1, 6=2, 7=3, 8=4, 9=3, 10=2},
"maxl"={0=2, 1=2, 2=2, 3=2, 4=3, 5=4, 6=4},
"maxr"={0=1, 1=1, 2=6, 3=6, 4=6},
"maxx"=4,
"maxy"=10,
"minl"={0=0, 1=0, 2=2, 3=2, 4=2, 5=2, 6=2},
"minr"={0=0, 1=0, 2=0, 3=4, 4=5},
"minx"=-2,
"spec"="12L1RRR2RL1",
"top"={1=2, 2=10},
"topl"=4,
"topr"=6,
"widths"="12211112221"
}
46
45  36
35  26
34  25
24
23
22
21
20  11
10  01
00
> ZHA.fromspec("123LLR432L1"):PP():print()
{ "L"={0=0, 1=-1, 2=-2, 3=-3, 4=-4, 5=-3, 6=-4, 7=-3, 8=-2, 9=-3, 10=-2},
"R"={0=0, 1=1, 2=2, 3=1, 4=0, 5=1, 6=2, 7=1, 8=0, 9=-1, 10=-2},
"maxl"={0=4, 1=5, 2=5, 3=6, 4=6},
"maxr"={0=2, 1=2, 2=4, 3=4, 4=4, 5=4, 6=4},
"maxx"=2,
"maxy"=10,
"minl"={0=0, 1=0, 2=0, 3=2, 4=2},
"minr"={0=0, 1=0, 2=0, 3=0, 4=0, 5=1, 6=3},
"minx"=-4,
"spec"="123LLR432L1",
"top"={1=-2, 2=10},
"topl"=6,
"topr"=4,
"widths"="12333343221"
}
64
63  54
53  44
52  43  34
51  42  33  24
41  32  23
40  31  22
30  21  12
20  11  02
10  01
00
> ZHA.fromspec("123RRL432R1"):PP():print()
{ "L"={0=0, 1=-1, 2=-2, 3=-1, 4=0, 5=-1, 6=-2, 7=-1, 8=0, 9=1, 10=2},
"R"={0=0, 1=1, 2=2, 3=3, 4=4, 5=3, 6=4, 7=3, 8=2, 9=3, 10=2},
"maxl"={0=2, 1=2, 2=4, 3=4, 4=4, 5=4, 6=4},
"maxr"={0=4, 1=5, 2=5, 3=6, 4=6},
"maxx"=4,
"maxy"=10,
"minl"={0=0, 1=0, 2=0, 3=0, 4=0, 5=1, 6=3},
"minr"={0=0, 1=0, 2=0, 3=2, 4=2},
"minx"=-2,
"spec"="123RRL432R1",
"top"={1=2, 2=10},
"topl"=4,
"topr"=6,
"widths"="12333343221"
}
46
45  36
44  35
43  34  25
42  33  24  15
32  23  14
22  13  04
21  12  03
20  11  02
10  01
00
>
> ```