Re:Fractran: Computer architecture based on the multiplicati...
by theamk on Monday September 16, 2024 @12:59PM
(#41558083)
I assume you'd prefer to use "/" or "รท" instead?
">" is not a division, it's a rewrite operator, and in the page, it's only used with symbolic representation. I would not call "y div1 /" better than "y div1 >", it's special notation either way. And having special symbol makes it easier to understand when are we talking about regular math vs rewrite rules.
(Alternatively, if you meant "why not some other Unicode symbol": I am guessing author wants something easy to type, I can relate)
Re:Fractran: Computer architecture based on the multiplicati...
by cvoss on Monday September 16, 2024 @01:06PM
(#41558151)
Because the fraction represents a rewrite rule, which is the fundamental unit of computation in this language. Instances of the denominator factors are replaced with instances of the numerator factors.
Some people read x/y as a rewrite already (like programming language nerds). Others don't, and it makes sense to me to use a more intuitive, directed symbol to denote the action.
FWIW, `>` has not one but many meanings across programming languages.
Re:Fractran: Computer architecture based on the multiplicati...
by entaloneralie on Monday September 16, 2024 @03:52PM
(#41559947)
Because the denumerator is to the left side.
For example, this machine takes two numbers and they are the numerator and denominator. Why on earth use ">" for the separator? That already has a mathematical meaning.