Skip to content

Commit 4efa3fb

Browse files
committedDec 13, 2024·
Commit BCH_2026 tests
1 parent 3075c46 commit 4efa3fb

File tree

52 files changed

+681
-24
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+681
-24
lines changed
 

‎.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ src/lib/vmb-tests/export
1717
src/lib/vmb-tests/generated/.vmb-*
1818
src/lib/vmb-tests/generated/**/*bench.csv
1919
src/lib/vmb-tests/generated/bch_chip_*
20-
src/lib/vmb-tests/generated/bch_2026_*
2120

2221
src/lib/bin/**/*.html
2322
src/lib/bin/**/*.js

‎src/lib/vm/instruction-sets/bch/2026/bch-2026-descriptions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { OpcodeDescriptionsBch2023 } from '../2023/bch-2023-descriptions.js';
55
* beyond those present in `BCH_2025_05`.
66
*/
77
export enum OpcodeDescriptionsBch2026Additions {
8-
OP_EVAL = 'Pop the top item from the stack as bytecode. Preserve the active bytecode at the top of the control stack, then evaluate the bytecode as if it were the active bytecode (without modifying the stack, alternate stack, or other evaluation context). When the evaluation is complete, restore the original bytecode and continue evaluation after the OP_EVAL instruction. If the bytecode is malformed, error.',
8+
OP_EVAL = 'Pop the top item from the stack as bytecode. Preserve the active bytecode at the top of the control stack, then evaluate the stack-provided bytecode as if it were the active bytecode (without modifying the stack, alternate stack, or other evaluation context). When the evaluation is complete, restore the original bytecode and continue evaluation after the OP_EVAL instruction. If the bytecode is malformed, error.',
99
OP_BEGIN = 'Push the current instruction pointer index to the control stack as an integer (to be read by OP_UNTIL).',
1010
OP_UNTIL = 'Pop the top item from the control stack (if the control value is not an integer, error). Add the difference between the control value and the current instruction pointer index to the repeated bytes counter, if the sum of the repeated bytes counter and the active bytecode length is greater than the maximum bytecode length, error. Pop the top item from the stack, if the value is not truthy, move the instruction pointer to the control value (and re-evaluate the OP_BEGIN).',
1111
}

0 commit comments

Comments
 (0)
Please sign in to comment.