-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(hog): bytecode versions (#24584)
- Loading branch information
1 parent
b09b469
commit b7105b6
Showing
57 changed files
with
862 additions
and
743 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
["_h", 41, "FishError", 1, 9, 31, 36, 0, 32, "FishError", 2, "HogError", 3, 38, 41, "FoodError", 1, 9, 31, 36, 0, 32, | ||
"FoodError", 2, "HogError", 3, 38, 50, 10, 32, "You forgot to feed your fish", 2, "FishError", 1, 49, 51, 39, 55, 36, 0, | ||
32, "type", 45, 32, "FoodError", 36, 1, 11, 40, 16, 36, 0, 32, "message", 45, 32, "Problem with your food: ", 2, | ||
"concat", 2, 2, "print", 1, 35, 39, 25, 32, "FishError", 36, 1, 11, 40, 16, 36, 0, 32, "message", 45, 32, | ||
"Problem with your fish: ", 2, "concat", 2, 2, "print", 1, 35, 39, 2, 35, 49, 35, 35, 50, 10, 32, | ||
"Your fish are hungry", 2, "FoodError", 1, 49, 51, 39, 55, 36, 0, 32, "type", 45, 32, "FoodError", 36, 1, 11, 40, 16, | ||
36, 0, 32, "message", 45, 32, "Problem with your food: ", 2, "concat", 2, 2, "print", 1, 35, 39, 25, 32, "FishError", | ||
36, 1, 11, 40, 16, 36, 0, 32, "message", 45, 32, "Problem with your fish: ", 2, "concat", 2, 2, "print", 1, 35, 39, 2, | ||
35, 49, 35, 35, 50, 11, 31, 32, "Your fish are hungry", 2, "NotImplementedError", 2, 49, 51, 39, 45, 36, 0, 32, "type", | ||
45, 32, "FoodError", 36, 1, 11, 40, 16, 36, 0, 32, "message", 45, 32, "Problem with your food: ", 2, "concat", 2, 2, | ||
"print", 1, 35, 39, 15, 36, 0, 32, "Unknown problem: ", 2, "concat", 2, 2, "print", 1, 35, 39, 2, 35, 49, 35, 35] | ||
["_H", 1, 41, "FishError", 1, 9, 32, "FishError", 36, 0, 31, 2, "HogError", 3, 38, 41, "FoodError", 1, 9, 32, | ||
"FoodError", 36, 0, 31, 2, "HogError", 3, 38, 50, 10, 32, "You forgot to feed your fish", 2, "FishError", 1, 49, 51, 39, | ||
55, 36, 0, 32, "type", 45, 32, "FoodError", 36, 1, 11, 40, 16, 32, "Problem with your food: ", 36, 0, 32, "message", 45, | ||
2, "concat", 2, 2, "print", 1, 35, 39, 25, 32, "FishError", 36, 1, 11, 40, 16, 32, "Problem with your fish: ", 36, 0, | ||
32, "message", 45, 2, "concat", 2, 2, "print", 1, 35, 39, 2, 35, 49, 35, 35, 50, 10, 32, "Your fish are hungry", 2, | ||
"FoodError", 1, 49, 51, 39, 55, 36, 0, 32, "type", 45, 32, "FoodError", 36, 1, 11, 40, 16, 32, | ||
"Problem with your food: ", 36, 0, 32, "message", 45, 2, "concat", 2, 2, "print", 1, 35, 39, 25, 32, "FishError", 36, 1, | ||
11, 40, 16, 32, "Problem with your fish: ", 36, 0, 32, "message", 45, 2, "concat", 2, 2, "print", 1, 35, 39, 2, 35, 49, | ||
35, 35, 50, 11, 32, "Your fish are hungry", 31, 2, "NotImplementedError", 2, 49, 51, 39, 45, 36, 0, 32, "type", 45, 32, | ||
"FoodError", 36, 1, 11, 40, 16, 32, "Problem with your food: ", 36, 0, 32, "message", 45, 2, "concat", 2, 2, "print", 1, | ||
35, 39, 15, 32, "Unknown problem: ", 36, 0, 2, "concat", 2, 2, "print", 1, 35, 39, 2, 35, 49, 35, 35] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
["_h", 50, 50, 50, 13, 31, 32, "You forgot to feed your fish", 32, "FishError", 2, "HogError", 3, 49, 51, 39, 32, 36, 0, | ||
32, "type", 45, 32, "FoodError", 36, 1, 11, 40, 16, 36, 0, 32, "message", 45, 32, "Problem with your food: ", 2, | ||
["_H", 1, 50, 50, 50, 13, 32, "FishError", 32, "You forgot to feed your fish", 31, 2, "HogError", 3, 49, 51, 39, 32, 36, | ||
0, 32, "type", 45, 32, "FoodError", 36, 1, 11, 40, 16, 32, "Problem with your food: ", 36, 0, 32, "message", 45, 2, | ||
"concat", 2, 2, "print", 1, 35, 39, 2, 35, 49, 35, 35, 51, 39, 48, 36, 0, 32, "type", 45, 32, "FishError", 36, 1, 11, | ||
40, 16, 36, 0, 32, "message", 45, 32, "FishError: ", 2, "concat", 2, 2, "print", 1, 35, 39, 18, 36, 0, 32, "message", | ||
45, 32, "Error: ", 2, "concat", 2, 2, "print", 1, 35, 39, 2, 35, 49, 35, 35, 50, 50, 50, 13, 31, 32, | ||
"You forgot to feed your fish", 32, "FunkyError", 2, "HogError", 3, 49, 51, 39, 32, 36, 0, 32, "type", 45, 32, | ||
"FoodError", 36, 1, 11, 40, 16, 36, 0, 32, "message", 45, 32, "Problem with your food: ", 2, "concat", 2, 2, "print", 1, | ||
35, 39, 2, 35, 49, 35, 35, 51, 39, 55, 36, 0, 32, "type", 45, 32, "FishError", 36, 1, 11, 40, 16, 36, 0, 32, "message", | ||
45, 32, "FishError: ", 2, "concat", 2, 2, "print", 1, 35, 39, 25, 36, 0, 32, "message", 45, 32, ": ", 36, 0, 32, "name", | ||
45, 32, "Error of type ", 2, "concat", 4, 2, "print", 1, 35, 39, 2, 35, 49, 35, 35, 50, 50, 50, 13, 31, 32, | ||
"You forgot to feed your fish", 32, "FishError", 2, "HogError", 3, 49, 51, 39, 32, 36, 0, 32, "type", 45, 32, | ||
"FoodError", 36, 1, 11, 40, 16, 36, 0, 32, "message", 45, 32, "Problem with your food: ", 2, "concat", 2, 2, "print", 1, | ||
35, 39, 2, 35, 49, 35, 35, 51, 39, 55, 36, 0, 32, "type", 45, 36, 0, 32, "message", 45, 32, ": ", 36, 0, 32, "name", 45, | ||
32, "Error of type ", 2, "concat", 4, 2, "print", 1, 35, 39, 25, 32, "FishError", 36, 1, 11, 40, 16, 36, 0, 32, | ||
"message", 45, 32, "FishError: ", 2, "concat", 2, 2, "print", 1, 35, 39, 2, 35, 49, 35, 35] | ||
40, 16, 32, "FishError: ", 36, 0, 32, "message", 45, 2, "concat", 2, 2, "print", 1, 35, 39, 18, 32, "Error: ", 36, 0, | ||
32, "message", 45, 2, "concat", 2, 2, "print", 1, 35, 39, 2, 35, 49, 35, 35, 50, 50, 50, 13, 32, "FunkyError", 32, | ||
"You forgot to feed your fish", 31, 2, "HogError", 3, 49, 51, 39, 32, 36, 0, 32, "type", 45, 32, "FoodError", 36, 1, 11, | ||
40, 16, 32, "Problem with your food: ", 36, 0, 32, "message", 45, 2, "concat", 2, 2, "print", 1, 35, 39, 2, 35, 49, 35, | ||
35, 51, 39, 55, 36, 0, 32, "type", 45, 32, "FishError", 36, 1, 11, 40, 16, 32, "FishError: ", 36, 0, 32, "message", 45, | ||
2, "concat", 2, 2, "print", 1, 35, 39, 25, 32, "Error of type ", 36, 0, 32, "name", 45, 32, ": ", 36, 0, 32, "message", | ||
45, 2, "concat", 4, 2, "print", 1, 35, 39, 2, 35, 49, 35, 35, 50, 50, 50, 13, 32, "FishError", 32, | ||
"You forgot to feed your fish", 31, 2, "HogError", 3, 49, 51, 39, 32, 36, 0, 32, "type", 45, 32, "FoodError", 36, 1, 11, | ||
40, 16, 32, "Problem with your food: ", 36, 0, 32, "message", 45, 2, "concat", 2, 2, "print", 1, 35, 39, 2, 35, 49, 35, | ||
35, 51, 39, 55, 36, 0, 32, "type", 45, 32, "Error of type ", 36, 0, 32, "name", 45, 32, ": ", 36, 0, 32, "message", 45, | ||
2, "concat", 4, 2, "print", 1, 35, 39, 25, 32, "FishError", 36, 1, 11, 40, 16, 32, "FishError: ", 36, 0, 32, "message", | ||
45, 2, "concat", 2, 2, "print", 1, 35, 39, 2, 35, 49, 35, 35] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
["_h", 32, "this is a secure string", 36, 0, 32, "string:", 2, "print", 2, 35, 36, 0, 2, "md5Hex", 1, 32, | ||
"md5Hex(string):", 2, "print", 2, 35, 36, 0, 2, "sha256Hex", 1, 32, "sha256Hex(string):", 2, "print", 2, 35, 32, "1", | ||
32, "string", 32, "more", 32, "keys", 43, 4, 36, 1, 32, "data:", 2, "print", 2, 35, 36, 1, 2, "sha256HmacChainHex", 1, | ||
32, "sha256HmacChainHex(data):", 2, "print", 2, 35, 35, 35] | ||
["_H", 1, 32, "this is a secure string", 32, "string:", 36, 0, 2, "print", 2, 35, 32, "md5Hex(string):", 36, 0, 2, | ||
"md5Hex", 1, 2, "print", 2, 35, 32, "sha256Hex(string):", 36, 0, 2, "sha256Hex", 1, 2, "print", 2, 35, 32, "1", 32, | ||
"string", 32, "more", 32, "keys", 43, 4, 32, "data:", 36, 1, 2, "print", 2, 35, 32, "sha256HmacChainHex(data):", 36, 1, | ||
2, "sha256HmacChainHex", 1, 2, "print", 2, 35, 35, 35] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
["_h", 33, 1234334543, 2, "fromUnixTimestamp", 1, 36, 0, 2, "print", 1, 35, 36, 0, 2, "toString", 1, 2, "print", 1, 35, | ||
36, 0, 2, "toUnixTimestamp", 1, 2, "toInt", 1, 2, "print", 1, 35, 32, "-", 2, "print", 1, 35, 32, "2024-05-03", 2, | ||
["_H", 1, 33, 1234334543, 2, "fromUnixTimestamp", 1, 36, 0, 2, "print", 1, 35, 36, 0, 2, "toString", 1, 2, "print", 1, | ||
35, 36, 0, 2, "toUnixTimestamp", 1, 2, "toInt", 1, 2, "print", 1, 35, 32, "-", 2, "print", 1, 35, 32, "2024-05-03", 2, | ||
"toDate", 1, 36, 1, 2, "print", 1, 35, 36, 1, 2, "toString", 1, 2, "print", 1, 35, 36, 1, 2, "toUnixTimestamp", 1, 2, | ||
"toInt", 1, 2, "print", 1, 35, 32, "-", 2, "print", 1, 35, 32, "2024-05-03T12:34:56Z", 2, "toDateTime", 1, 36, 2, 2, | ||
"print", 1, 35, 36, 2, 2, "toString", 1, 2, "print", 1, 35, 36, 2, 2, "toUnixTimestamp", 1, 2, "toInt", 1, 2, "print", | ||
1, 35, 32, "------", 2, "print", 1, 35, 32, "Europe/Brussels", 36, 2, 2, "toTimeZone", 2, 2, "print", 1, 35, 32, | ||
"Europe/Brussels", 36, 2, 2, "toTimeZone", 2, 2, "toString", 1, 2, "print", 1, 35, 32, "-", 2, "print", 1, 35, 32, | ||
"Europe/Tallinn", 36, 2, 2, "toTimeZone", 2, 2, "print", 1, 35, 32, "Europe/Tallinn", 36, 2, 2, "toTimeZone", 2, 2, | ||
"toString", 1, 2, "print", 1, 35, 32, "-", 2, "print", 1, 35, 32, "America/New_York", 36, 2, 2, "toTimeZone", 2, 2, | ||
"print", 1, 35, 32, "America/New_York", 36, 2, 2, "toTimeZone", 2, 2, "toString", 1, 2, "print", 1, 35, 32, "------", 2, | ||
"print", 1, 35, 34, 1234334543.123, 2, "fromUnixTimestamp", 1, 36, 3, 32, "timestamp: ", | ||
2, "print", 2, 35, 36, 3, 2, "toString", 1, 32, "toString(timestamp): ", 2, "print", 2, 35, 36, 3, | ||
2, "toInt", 1, 32, "toInt(timestamp): ", 2, "print", 2, 35, 36, 3, 2, "toInt", 1, 2, | ||
"toDateTime", 1, 32, "toDateTime(toInt(timestamp)): ", 2, "print", 2, 35, 36, 3, 2, "toInt", 1, 2, | ||
"toDateTime", 1, 2, "toInt", 1, 32, "toInt(toDateTime(toInt(timestamp))): ", 2, "print", 2, 35, 36, 3, 2, "toInt", | ||
1, 2, "toDateTime", 1, 2, "toString", 1, 32, "toString(toDateTime(toInt(timestamp))): ", 2, "print", 2, 35, 36, 3, 2, | ||
"toFloat", 1, 32, "toFloat(timestamp): ", 2, "print", 2, 35, 36, 3, 2, "toFloat", 1, 2, | ||
"toDateTime", 1, 32, "toDateTime(toFloat(timestamp)): ", 2, "print", 2, 35, 36, 3, 2, "toFloat", 1, 2, | ||
"toDateTime", 1, 2, "toFloat", 1, 32, "toFloat(toDateTime(toFloat(timestamp))): ", 2, "print", 2, 35, 36, 3, 2, | ||
"toFloat", 1, 2, "toDateTime", 1, 2, "toString", 1, 32, "toString(toDateTime(toFloat(timestamp))): ", 2, "print", 2, 35, | ||
32, "------", 2, "print", 1, 35, 33, 1234334543123, 2, "fromUnixTimestampMilli", 1, 36, 4, 2, "toString", 1, 32, | ||
"millisTs: ", 2, "print", 2, 35, 36, 4, 2, "toString", 1, 32, | ||
"toString(millisTs): ", 2, "print", 2, 35, 36, 4, 2, "toInt", 1, 32, | ||
"toInt(millisTs): ", 2, "print", 2, 35, 36, 4, 2, "toFloat", 1, 32, | ||
"toFloat(millisTs): ", 2, "print", 2, 35, 36, 4, 2, "toUnixTimestampMilli", 1, 32, | ||
"toUnixTimestampMilli(millisTs): ", 2, "print", 2, 35, 32, "------", 2, "print", 1, 35, 32, "2024-05-03", 2, | ||
"toDate", 1, 36, 5, 2, "print", 1, 35, 36, 5, 2, "toString", 1, 2, "print", 1, 35, 36, 5, 2, "toInt", 1, 2, "print", 1, | ||
35, 35, 35, 35, 35, 35, 35] | ||
1, 35, 32, "------", 2, "print", 1, 35, 36, 2, 32, "Europe/Brussels", 2, "toTimeZone", 2, 2, "print", 1, 35, 36, 2, 32, | ||
"Europe/Brussels", 2, "toTimeZone", 2, 2, "toString", 1, 2, "print", 1, 35, 32, "-", 2, "print", 1, 35, 36, 2, 32, | ||
"Europe/Tallinn", 2, "toTimeZone", 2, 2, "print", 1, 35, 36, 2, 32, "Europe/Tallinn", 2, "toTimeZone", 2, 2, "toString", | ||
1, 2, "print", 1, 35, 32, "-", 2, "print", 1, 35, 36, 2, 32, "America/New_York", 2, "toTimeZone", 2, 2, "print", 1, 35, | ||
36, 2, 32, "America/New_York", 2, "toTimeZone", 2, 2, "toString", 1, 2, "print", 1, 35, 32, "------", 2, "print", 1, 35, | ||
34, 1234334543.123, 2, "fromUnixTimestamp", 1, 32, "timestamp: ", 36, 3, 2, "print", 2, | ||
35, 32, "toString(timestamp): ", 36, 3, 2, "toString", 1, 2, "print", 2, 35, 32, | ||
"toInt(timestamp): ", 36, 3, 2, "toInt", 1, 2, "print", 2, 35, 32, | ||
"toDateTime(toInt(timestamp)): ", 36, 3, 2, "toInt", 1, 2, "toDateTime", 1, 2, "print", 2, 35, 32, | ||
"toInt(toDateTime(toInt(timestamp))): ", 36, 3, 2, "toInt", 1, 2, "toDateTime", 1, 2, "toInt", 1, 2, "print", 2, | ||
35, 32, "toString(toDateTime(toInt(timestamp))): ", 36, 3, 2, "toInt", 1, 2, "toDateTime", 1, 2, "toString", 1, 2, | ||
"print", 2, 35, 32, "toFloat(timestamp): ", 36, 3, 2, "toFloat", 1, 2, "print", 2, 35, 32, | ||
"toDateTime(toFloat(timestamp)): ", 36, 3, 2, "toFloat", 1, 2, "toDateTime", 1, 2, "print", 2, 35, 32, | ||
"toFloat(toDateTime(toFloat(timestamp))): ", 36, 3, 2, "toFloat", 1, 2, "toDateTime", 1, 2, "toFloat", 1, 2, "print", | ||
2, 35, 32, "toString(toDateTime(toFloat(timestamp))): ", 36, 3, 2, "toFloat", 1, 2, "toDateTime", 1, 2, "toString", 1, | ||
2, "print", 2, 35, 32, "------", 2, "print", 1, 35, 33, 1234334543123, 2, "fromUnixTimestampMilli", 1, 32, | ||
"millisTs: ", 36, 4, 2, "toString", 1, 2, "print", 2, 35, 32, | ||
"toString(millisTs): ", 36, 4, 2, "toString", 1, 2, "print", 2, 35, 32, | ||
"toInt(millisTs): ", 36, 4, 2, "toInt", 1, 2, "print", 2, 35, 32, | ||
"toFloat(millisTs): ", 36, 4, 2, "toFloat", 1, 2, "print", 2, 35, 32, | ||
"toUnixTimestampMilli(millisTs): ", 36, 4, 2, "toUnixTimestampMilli", 1, 2, "print", 2, 35, 32, "------", 2, | ||
"print", 1, 35, 32, "2024-05-03", 2, "toDate", 1, 36, 5, 2, "print", 1, 35, 36, 5, 2, "toString", 1, 2, "print", 1, 35, | ||
36, 5, 2, "toInt", 1, 2, "print", 1, 35, 35, 35, 35, 35, 35, 35] |
Oops, something went wrong.