mirror of
https://github.com/remko/waforth
synced 2025-01-18 22:26:39 +01:00
README tweak
This commit is contained in:
parent
537f2b2b98
commit
5b920e7620
1 changed files with 3 additions and 2 deletions
|
@ -59,9 +59,10 @@ macros for convenience.
|
||||||
The interpreter runs a loop that processes commands, and switches to and from
|
The interpreter runs a loop that processes commands, and switches to and from
|
||||||
compiler mode.
|
compiler mode.
|
||||||
|
|
||||||
Contrary to some other Forth systems, this system doesn't use a strict threading system
|
Contrary to some other Forth systems, this system doesn't use direct threading
|
||||||
for executing code. WebAssembly doesn't allow unstructured jumps, let alone dynamic jumps.
|
for executing code. WebAssembly doesn't allow unstructured jumps, let alone dynamic jumps.
|
||||||
Instead, each word is implemented as a single WebAssembly function, and the system uses
|
Instead, WAForth uses subroutine threading, where each word is implemented as a single
|
||||||
|
WebAssembly function, and the system uses
|
||||||
calls and indirect calls (see below) to execute words.
|
calls and indirect calls (see below) to execute words.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue