4 ms·
I too would prefer := or even =!
by sgillen 5y ago
I too would prefer := or even =!
- asddubs 5y agoor <= which vhdl does (it differentiates between variables and signals so it uses both := and <=)
- samatman 5y agoWhat's stopped me from using this syntax in the past is that it means LTE in basically any language I can think of. One can certainly design a grammar where it's unambiguous, I have in fact, but it still doesn't look right to me.
- mst 5y agoR uses <- which is less ambiguous at the cost of no longer having an equals sign in it.
- Dylan16807 5y agoThat sounds like a benefit to me, not a cost.
- lostmsu 5y agoThat also means they have to use spaces? Otherwise what is the difference between x <- 1 and x < -1?