Thread overview | ||||||
---|---|---|---|---|---|---|
|
October 15, 2019 Oberon to D | ||||
---|---|---|---|---|
| ||||
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. |
October 16, 2019 Re: Oberon to D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mario Kröplin | 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." |
October 23, 2019 Re: Oberon to D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mario Kröplin | very sweet! Blog Post please |
October 23, 2019 Re: Oberon to D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mario Kröplin | 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 |
Copyright © 1999-2021 by the D Language Foundation