digitalmars.D.announce - Oberon to D
- Mario =?UTF-8?B?S3LDtnBsaW4=?= (8/8) Oct 15 2019 https://github.com/linkrope/oberon2d
- FeepingCreature (4/14) Oct 16 2019 What is truncated remainder ever useful for, anyways? All I know
- Robert Schadek (1/1) Oct 23 2019 very sweet! Blog Post please
- Bastiaan Veelo (8/16) Oct 23 2019 Thanks for sharing! Your translation module is surprisingly
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.
Oct 15 2019
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."
Oct 16 2019
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.Thanks for sharing! Your translation module is surprisingly concise. As I read up a bit on Oberon, I learned that Nicklaus Wirth is still maintaining his compiler[1]. I wonder what he would think of D. Bastiaan. [1] https://inf.ethz.ch/personal/wirth/news.txt
Oct 23 2019