|
|
@ -137,49 +137,49 @@ func dump(n node, prefix string, w io.Writer) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var hlist = nodeList{
|
|
|
|
var hlist = nodeList{
|
|
|
|
lNode{"PlusOne", 0, 36271, func() {}},
|
|
|
|
lNode{"PlusOne", 0, 36271, func() { panic("not implemented: PlusOne") }},
|
|
|
|
lNode{"FieldPathEncodeFinish", 39, 25474, func() {}},
|
|
|
|
lNode{"FieldPathEncodeFinish", 39, 25474, func() { panic("not implemented: FieldPathEncodeFinish") }},
|
|
|
|
lNode{"PushOneLeftDeltaNRightNonZeroPack6Bits", 11, 10530, func() {}},
|
|
|
|
lNode{"PushOneLeftDeltaNRightNonZeroPack6Bits", 11, 10530, func() { panic("not implemented: PushOneLeftDeltaNRightNonZeroPack6Bits") }},
|
|
|
|
lNode{"PlusTwo", 1, 10334, func() {}},
|
|
|
|
lNode{"PlusTwo", 1, 10334, func() { panic("not implemented: PlusTwo") }},
|
|
|
|
lNode{"PlusN", 4, 4128, func() {}},
|
|
|
|
lNode{"PlusN", 4, 4128, func() { panic("not implemented: PlusN") }},
|
|
|
|
lNode{"PushOneLeftDeltaOneRightNonZero", 8, 2942, func() {}},
|
|
|
|
lNode{"PushOneLeftDeltaOneRightNonZero", 8, 2942, func() { panic("not implemented: PushOneLeftDeltaOneRightNonZero") }},
|
|
|
|
lNode{"PopAllButOnePlusOne", 29, 1837, func() {}},
|
|
|
|
lNode{"PopAllButOnePlusOne", 29, 1837, func() { panic("not implemented: PopAllButOnePlusOne") }},
|
|
|
|
lNode{"PlusThree", 2, 1375, func() {}},
|
|
|
|
lNode{"PlusThree", 2, 1375, func() { panic("not implemented: PlusThree") }},
|
|
|
|
lNode{"PlusFour", 3, 646, func() {}},
|
|
|
|
lNode{"PlusFour", 3, 646, func() { panic("not implemented: PlusFour") }},
|
|
|
|
lNode{"PopAllButOnePlusNPack6Bits", 32, 634, func() {}},
|
|
|
|
lNode{"PopAllButOnePlusNPack6Bits", 32, 634, func() { panic("not implemented: PopAllButOnePlusNPack6Bits") }},
|
|
|
|
lNode{"PushOneLeftDeltaNRightZero", 9, 560, func() {}},
|
|
|
|
lNode{"PushOneLeftDeltaNRightZero", 9, 560, func() { panic("not implemented: PushOneLeftDeltaNRightZero") }},
|
|
|
|
lNode{"PushOneLeftDeltaOneRightZero", 7, 521, func() {}},
|
|
|
|
lNode{"PushOneLeftDeltaOneRightZero", 7, 521, func() { panic("not implemented: PushOneLeftDeltaOneRightZero") }},
|
|
|
|
lNode{"PushOneLeftDeltaNRightNonZero", 10, 471, func() {}},
|
|
|
|
lNode{"PushOneLeftDeltaNRightNonZero", 10, 471, func() { panic("not implemented: PushOneLeftDeltaNRightNonZero") }},
|
|
|
|
lNode{"PushNAndNonTopological", 26, 310, func() {}},
|
|
|
|
lNode{"PushNAndNonTopological", 26, 310, func() { panic("not implemented: PushNAndNonTopological") }},
|
|
|
|
lNode{"PopAllButOnePlusNPack3Bits", 31, 300, func() {}},
|
|
|
|
lNode{"PopAllButOnePlusNPack3Bits", 31, 300, func() { panic("not implemented: PopAllButOnePlusNPack3Bits") }},
|
|
|
|
lNode{"NonTopoPenultimatePlusOne", 37, 271, func() {}},
|
|
|
|
lNode{"NonTopoPenultimatePlusOne", 37, 271, func() { panic("not implemented: NonTopoPenultimatePlusOne") }},
|
|
|
|
lNode{"PushOneLeftDeltaNRightNonZeroPack8Bits", 12, 251, func() {}},
|
|
|
|
lNode{"PushOneLeftDeltaNRightNonZeroPack8Bits", 12, 251, func() { panic("not implemented: PushOneLeftDeltaNRightNonZeroPack8Bits") }},
|
|
|
|
lNode{"PopAllButOnePlusN", 30, 149, func() {}},
|
|
|
|
lNode{"PopAllButOnePlusN", 30, 149, func() { panic("not implemented: PopAllButOnePlusN") }},
|
|
|
|
lNode{"NonTopoComplexPack4Bits", 38, 99, func() {}},
|
|
|
|
lNode{"NonTopoComplexPack4Bits", 38, 99, func() { panic("not implemented: NonTopoComplexPack4Bits") }},
|
|
|
|
lNode{"NonTopoComplex", 36, 76, func() {}},
|
|
|
|
lNode{"NonTopoComplex", 36, 76, func() { panic("not implemented: NonTopoComplex") }},
|
|
|
|
lNode{"PushOneLeftDeltaZeroRightZero", 5, 35, func() {}},
|
|
|
|
lNode{"PushOneLeftDeltaZeroRightZero", 5, 35, func() { panic("not implemented: PushOneLeftDeltaZeroRightZero") }},
|
|
|
|
lNode{"PushOneLeftDeltaZeroRightNonZero", 6, 3, func() {}},
|
|
|
|
lNode{"PushOneLeftDeltaZeroRightNonZero", 6, 3, func() { panic("not implemented: PushOneLeftDeltaZeroRightNonZero") }},
|
|
|
|
lNode{"PopOnePlusOne", 27, 2, func() {}},
|
|
|
|
lNode{"PopOnePlusOne", 27, 2, func() { panic("not implemented: PopOnePlusOne") }},
|
|
|
|
lNode{"PopNAndNonTopographical", 35, 1, func() {}},
|
|
|
|
lNode{"PopNAndNonTopographical", 35, 1, func() { panic("not implemented: PopNAndNonTopographical") }},
|
|
|
|
|
|
|
|
|
|
|
|
// all the other operations have weights of 0 in clarity, which makes no
|
|
|
|
// all the other operations have weights of 0 in clarity, which makes no
|
|
|
|
// sense.
|
|
|
|
// sense.
|
|
|
|
lNode{"PopNPlusN", 34, 1, func() {}},
|
|
|
|
lNode{"PopNPlusN", 34, 1, func() { panic("not implemented: PopNPlusN") }},
|
|
|
|
lNode{"PopNPlusOne", 33, 1, func() {}},
|
|
|
|
lNode{"PopNPlusOne", 33, 1, func() { panic("not implemented: PopNPlusOne") }},
|
|
|
|
lNode{"PopOnePlusN", 28, 1, func() {}},
|
|
|
|
lNode{"PopOnePlusN", 28, 1, func() { panic("not implemented: PopOnePlusN") }},
|
|
|
|
lNode{"PushN", 25, 1, func() {}},
|
|
|
|
lNode{"PushN", 25, 1, func() { panic("not implemented: PushN") }},
|
|
|
|
lNode{"PushThreePack5LeftDeltaN", 24, 1, func() {}},
|
|
|
|
lNode{"PushThreePack5LeftDeltaN", 24, 1, func() { panic("not implemented: PushThreePack5LeftDeltaN") }},
|
|
|
|
lNode{"PushThreeLeftDeltaN", 23, 1, func() {}},
|
|
|
|
lNode{"PushThreeLeftDeltaN", 23, 1, func() { panic("not implemented: PushThreeLeftDeltaN") }},
|
|
|
|
lNode{"PushTwoPack5LeftDeltaN", 22, 1, func() {}},
|
|
|
|
lNode{"PushTwoPack5LeftDeltaN", 22, 1, func() { panic("not implemented: PushTwoPack5LeftDeltaN") }},
|
|
|
|
lNode{"PushTwoLeftDeltaN", 21, 1, func() {}},
|
|
|
|
lNode{"PushTwoLeftDeltaN", 21, 1, func() { panic("not implemented: PushTwoLeftDeltaN") }},
|
|
|
|
lNode{"PushThreePack5LeftDeltaOne", 20, 1, func() {}},
|
|
|
|
lNode{"PushThreePack5LeftDeltaOne", 20, 1, func() { panic("not implemented: PushThreePack5LeftDeltaOne") }},
|
|
|
|
lNode{"PushThreeLeftDeltaOne", 19, 1, func() {}},
|
|
|
|
lNode{"PushThreeLeftDeltaOne", 19, 1, func() { panic("not implemented: PushThreeLeftDeltaOne") }},
|
|
|
|
lNode{"PushTwoPack5LeftDeltaOne", 18, 1, func() {}},
|
|
|
|
lNode{"PushTwoPack5LeftDeltaOne", 18, 1, func() { panic("not implemented: PushTwoPack5LeftDeltaOne") }},
|
|
|
|
lNode{"PushTwoLeftDeltaOne", 17, 1, func() {}},
|
|
|
|
lNode{"PushTwoLeftDeltaOne", 17, 1, func() { panic("not implemented: PushTwoLeftDeltaOne") }},
|
|
|
|
lNode{"PushThreePack5LeftDeltaZero", 16, 1, func() {}},
|
|
|
|
lNode{"PushThreePack5LeftDeltaZero", 16, 1, func() { panic("not implemented: PushThreePack5LeftDeltaZero") }},
|
|
|
|
lNode{"PushThreeLeftDeltaZero", 15, 1, func() {}},
|
|
|
|
lNode{"PushThreeLeftDeltaZero", 15, 1, func() { panic("not implemented: PushThreeLeftDeltaZero") }},
|
|
|
|
lNode{"PushTwoPack5LeftDeltaZero", 14, 1, func() {}},
|
|
|
|
lNode{"PushTwoPack5LeftDeltaZero", 14, 1, func() { panic("not implemented: PushTwoPack5LeftDeltaZero") }},
|
|
|
|
lNode{"PushTwoLeftDeltaZero", 13, 1, func() {}},
|
|
|
|
lNode{"PushTwoLeftDeltaZero", 13, 1, func() { panic("not implemented: PushTwoLeftDeltaZero") }},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var htree = makeTree(hlist)
|
|
|
|
var htree = makeTree(hlist)
|
|
|
|