selfhost(pyvm): MiniVmPrints – prefer JSON route early-return (ok==1) to avoid fallback loops; keep default behavior unchanged elsewhere
This commit is contained in:
10
apps/tests/dev_scan_digits.nyash
Normal file
10
apps/tests/dev_scan_digits.nyash
Normal file
@ -0,0 +1,10 @@
|
||||
using selfhost.vm.scan as MiniVmScan
|
||||
|
||||
static box Main {
|
||||
main(args) {
|
||||
local s = "xx42yy"
|
||||
print(new MiniVmScan().read_digits(s, 2))
|
||||
return 0
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user