Skip to content

Suggested / historical D. and D.R display formats. #129

Answered by MitchBradley
SirWumpus asked this question in Q&A
Discussion options

You must be logged in to vote

The typical implementation is is terms of <#, i.e. : d. ( d -- ) tuck dabs <# #s rot sign #> type space ;. #s is in turn a loop over #, which is often implemented via the factor : mu/mod (s d# n1 -- rem d#quot ) >r 0 r@ um/mod r> swap >r um/mod r> ;

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@SirWumpus
Comment options

Answer selected by SirWumpus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
clarification Rationale or explanation to the Forth standard implementation How to implement a Forth system
2 participants