Proposal: Formatting: spaces in data type symbols
Accepted
This page is dedicated to discussing this specific proposal
ContributeContributions
ruv
[250] Formatting: spaces in data type symbolsProposal2022-08-12 15:04:29
Author
Ruv
Change Log
- 2022-08-12 Initial version
Problem
In Forth-94 no data type symbol contain a space. In Forth-2012 some data type symbols contain spaces, so stack diagrams are worse read.
Some examples
Forth-94
( i*x xt -- j*x )
( n1|u1 n2|u2 -- n3|u3 )
Forth-2012
( i * x xt -- j * x )
( n1 | u1 n2 | u2 -- n3 | u3 )
Solution
Remove spaces from data type symbols.
Proposal
Everywhere in the text of the standard replace u | n, u_ | n_, i * x, j * x, k * x by u|n, u_|n_, i*x, j*x, k*x correspondingly.