On Tuesday, 15 October 2019 at 18:02:28 UTC, Mario Kröplin wrote:
https://github.com/linkrope/oberon2d
is a simple tool that translates source code from Oberon to D.
It was intended to be thrown away after the resurrection of a
single Oberon project.
(So, don't expect too much.)
But then, Bastiaan Veelo presented a very similar problem at
DConf 2017.
I'm a bit late, but I hope this could help.
The example shows, by the way, that Oberon uses floored
division while D uses the more common truncated division.
What is truncated remainder ever useful for, anyways? All I know
it as is "that broken remainder I have to work around when
writing graphics code."