Similarly, `slurp` and `spew` help move bulk data between the stack and heap.
User interactions were also targeted. The included `printf` function provides a
Similarly, `slurp` and `spew` help move bulk data between the stack and heap.
User interactions were also targeted. The included `printf` function provides a
-variety of substitutions to ease user interactions. For user input, `get user
-string` and `atoi` allow easy creation of basic user interfaces.
+variety of substitutions to ease user interactions. For user input,
+`get user string` and `atoi` allow easy creation of basic user interfaces.
The library includes a variety of bitwise logic functions as well as heap
manipulation functions and a handful of math functions including a random
The library includes a variety of bitwise logic functions as well as heap
manipulation functions and a handful of math functions including a random
10000 ----- random (math.pvvs)
10001 ----- absolute value (math.pvvs)
10010 ----- greatest common divisor (math.pvvs)
10000 ----- random (math.pvvs)
10001 ----- absolute value (math.pvvs)
10010 ----- greatest common divisor (math.pvvs)
00000000 0xxxxxxx - reserved for stdlib function entry points
00000000 1xxxxxxx - available for use in user programs
0xxxxxxx xxxxxxxx - reserved for private use by stdlib
00000000 0xxxxxxx - reserved for stdlib function entry points
00000000 1xxxxxxx - available for use in user programs
0xxxxxxx xxxxxxxx - reserved for private use by stdlib
-Within that reservation, heap[0] is used by `random` and the block
-heap[1]-heap[15] by the stack rotation subroutines which time-share
+Within that reservation, `heap[0]` is used by `random` and the block
+`heap[1]`-`heap[15]` by the stack rotation subroutines which time-share
the mismatch between the VVhitespace language's sign-magnitude representation
of integers and the interpreter's internal twos-complement representation, bit
arrays with a leading `1` (i.e. negative numbers) may appear quite different
the mismatch between the VVhitespace language's sign-magnitude representation
of integers and the interpreter's internal twos-complement representation, bit
arrays with a leading `1` (i.e. negative numbers) may appear quite different
## Extending Heap Reservation ##
By default, the stdlib uses the first 16 heap addresses. All heap access (other
## Extending Heap Reservation ##
By default, the stdlib uses the first 16 heap addresses. All heap access (other
Edit these functions to increase the stdlib's heap reservation.
The remainder of the stdlib is written to automatically use the new allocation.
Edit these functions to increase the stdlib's heap reservation.
The remainder of the stdlib is written to automatically use the new allocation.