-
Notifications
You must be signed in to change notification settings - Fork 3
Statusline
Bushmills edited this page Jan 25, 2022
·
4 revisions
An experimental status line display has now been hooked up to the "newquery$" word which is compiled from library during yoda launch.
The status line may look like this:
yoda version 0.5.7 flags:fIs base:10 depth:3 rdepth:0 files:17 unresolved:0 bits:63 6 20 -5
The possibly more obscure item on statusline are described in the following rundown of its components:
-
yoda version 0.5.7- evident, supposedly
-
flags:fIs- enable/disable state of forwardsrefs, instant resolving and shell.
- Capitals represent enabled, lowercase letters indicate disabled.
- change state of forward references with with +f -f
- change state of instant resolving with with +i -i
- change state of shell with with +s -s
-
base:10- evident
-
depth:3- count of items on stack
-
rdepth:0- count of items on return stack
-
files:17- count of included files
- see by executing
files
-
unresolved:0- unresolved words count
- see by executing
.unresolvedorwords
-
bits:63- width of an integer in bits.
- Set in yoda.conf
-
6 20 -5- A stack dump of the top max 9 items.
- Respects base, so status line may become too long for a single line with binary numbers or lots of large numbers with different radix.