Category:Oberon-07: Difference between revisions

From Rosetta Code
Content added Content deleted
m (Added link to the changes from Oberon to Oberon-07)
(Added link to an example of the extended WHILE loop and some more notes)
Line 10: Line 10:
{{stub}}
{{stub}}


'''Oberon-07''' is a revision of the Oberon language by Niklaus Wirth. Oberon-07 is based on Wirth's original Oberon language (not [[Oberon-2]]), Wirth lists the changes [https://people.inf.ethz.ch/wirth/Oberon/Oberon07.pdf here]. The changes are largely aimed at simplification - in the defining document, Wirth quotes Einstein: "Make it as simple as possible, but not simpler".<br/><br/>
'''Oberon-07''' is a revision of the Oberon language by Niklaus Wirth. Oberon-07 is based on Wirth's original Oberon language (not [[Oberon-2]]), Wirth lists the changes [https://people.inf.ethz.ch/wirth/Oberon/Oberon07.pdf here], which are largely aimed at simplification - in [https://people.inf.ethz.ch/wirth/Oberon/Oberon07.Report.pdf his defining document], Wirth quotes Einstein: "Make it as simple as possible, but not simpler".<br/><br/>


Oberon-07 contains a WHILE loop that allows multiple conditions and statements - similar to the loop in [[wp:Guarded_Command_Language|Edsgar Dijkstra's Guarded Command Language]], though with different syntax and without non-determinism.
Oberon-07 contains a WHILE loop that allows multiple conditions and statements - similar to the loop in [[wp:Guarded_Command_Language|Edsgar Dijkstra's Guarded Command Language]], though with different syntax and without non-determinism. See [[Loops/N_plus_one_half#Oberon-07]] for an example.
<br/><br/>

In addition to the samples below, many of the [[Oberon-2]] samples should work with Oberon-07, particularly if the Oberon-07 compiler you are using allows LONGINT as a synonym for INTEGER (LONGINT, SHORTINT, LONGREAL and SHORTREAL were dropped from Oberon-07).
===The language===
[https://people.inf.ethz.ch/wirth/Oberon/Oberon07.Report.pdf Wirth's Oberon-07 document]<br/>
===Oberon commpilers===
[https://oberon07.com/compilers.xhtml A list of Oberon-07 compilers and some other Wirth compilers]<br/>

Revision as of 13:55, 27 April 2024

Language
Oberon-07
This programming language may be used to instruct a computer to perform a task.
Garbage collected: Yes
Parameter passing methods: By reference, By value
Type safety: Safe
Type strength: Strong
Type compatibility: Structural
Type expression: Explicit
Type checking: Static
See Also:


Listed below are all of the tasks on Rosetta Code which have been solved using Oberon-07.
This page is a stub. It needs more information! You can help Rosetta Code by filling it in!

Oberon-07 is a revision of the Oberon language by Niklaus Wirth. Oberon-07 is based on Wirth's original Oberon language (not Oberon-2), Wirth lists the changes here, which are largely aimed at simplification - in his defining document, Wirth quotes Einstein: "Make it as simple as possible, but not simpler".

Oberon-07 contains a WHILE loop that allows multiple conditions and statements - similar to the loop in Edsgar Dijkstra's Guarded Command Language, though with different syntax and without non-determinism. See Loops/N_plus_one_half#Oberon-07 for an example.

In addition to the samples below, many of the Oberon-2 samples should work with Oberon-07, particularly if the Oberon-07 compiler you are using allows LONGINT as a synonym for INTEGER (LONGINT, SHORTINT, LONGREAL and SHORTREAL were dropped from Oberon-07).

Subcategories

This category has only the following subcategory.