Make branching more decompilable.

This commit is contained in:
Brad Nelson
2022-07-30 12:33:14 -07:00
parent 8d3af98732
commit fdf8b760d1
6 changed files with 66 additions and 35 deletions

View File

@ -63,6 +63,15 @@ transfer{
[SKIP] [SKIP]' raw-ok boot-prompt free.
$place zplace BUILTIN_MARK
}transfer
( Move branching opcodes to separate vocabulary )
vocabulary internalized internalized definitions
: cleave ' >link xt-transfer ;
cleave begin cleave again cleave until
cleave ahead cleave then cleave if
cleave else cleave while cleave repeat
cleave aft cleave for cleave next
forth definitions
( Make DOES> switch to compile mode when interpreted )