Oberon Report Update 2016-05-03

Topics related to the use of Oberon language features
Post Reply
augustk
Posts: 54
Joined: Mon Sep 05, 2011 5:21 pm
Location: Sweden

Oberon Report Update 2016-05-03

Post by augustk » Sun May 08, 2016 7:26 pm

1. The real number scale factor "D" is deleted in the grammar in the appendix. Now it's consistent with the syntax in section 3 where only "E" is valid.

2. There is no semicolon after a module identifier. (Currently the grammar in the appendix is not updated).

https://www.inf.ethz.ch/personal/wirth/ ... Report.pdf

augustk
Posts: 54
Joined: Mon Sep 05, 2011 5:21 pm
Location: Sweden

Re: Oberon Report Update 2016-05-03

Post by augustk » Mon May 09, 2016 8:48 pm

As of 2016-05-08 the semicolon after the import list has also been dropped.

cfbsoftware
Site Admin
Posts: 493
Joined: Fri Dec 31, 2010 12:30 pm
Contact:

Re: Oberon Report Update 2016-05-03

Post by cfbsoftware » Mon May 09, 2016 10:11 pm

My conclusion is that the EBNF in the Appendix is correct. The wrong semicolon was originally removed in Section 11 and has not been restored yet - otherwise the example in Section 11 would be incorrect.

cfbsoftware
Site Admin
Posts: 493
Joined: Fri Dec 31, 2010 12:30 pm
Contact:

Re: Oberon Report Update 2016-05-03

Post by cfbsoftware » Tue May 10, 2016 8:31 am

The corrected version which has restored the semicolon after the module ident in Section 11 can now be downloaded from:

http://people.inf.ethz.ch/wirth/Oberon/ ... Report.pdf

augustk
Posts: 54
Joined: Mon Sep 05, 2011 5:21 pm
Location: Sweden

Re: Oberon Report Update 2016-05-03

Post by augustk » Tue May 10, 2016 8:36 am

cfbsoftware wrote:My conclusion is that the EBNF in the Appendix is correct. The wrong semicolon was originally removed in Section 11 and has not been restored yet - otherwise the example in Section 11 would be incorrect.
Yes, you are correct. I never noticed the previous error with the extra semicolon in section 11. :oops: Now the report is correct, however. It would have been a bit drastic of Wirth to drop the semicolon requirement in the syntax.

Post Reply