www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Oberon to D

reply Mario =?UTF-8?B?S3LDtnBsaW4=?= <linkrope github.com> writes:
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
next sibling parent FeepingCreature <feepingcreature gmail.com> writes:
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
prev sibling next sibling parent Robert Schadek <rschadek symmetryinvestments.com> writes:
very sweet! Blog Post please
Oct 23 2019
prev sibling parent Bastiaan Veelo <Bastiaan Veelo.net> writes:
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