[Jprogramming] linear representation/ formatter recommended change
'Pascal Jasmin' via Programming
programming at jsoftware.com
Fri Jun 17 17:18:31 UTC 2016
The basic proposal is that for dyadic verbs, that an extra space (2 total) appears between it and its y operand.
The formatting would apply to specific tines in forks and hooks as well. lr/formatter is most useful in returning tacit definitions, but returns it in a formatted way. (linearized style (Linda calls it simple J) has formatting generally explicitly given, so is less affected).
A _ is used to show extra space for email purposes.
(X f_ +/@v adv3 adv2 Adv1) NB. interpreter knows adverbs form 3 total verb phrases, but reader may not know
2 +_ 4 would seem pretty annoying to write, but its also doesn't get captured in a lr either (result would)
2 +/@(v A) A A C(5 v C {. at +_ +)_ ]
does have useful clarity provided by extra space.
(X g_ X f_ ])
More information about the Programming
mailing list