Oberonc (Oberon-07 compiler for the JVM): Difference between revisions

From Rosetta Code
Content added Content deleted
(Added JVM link)
m (→‎Definition modules: Make link look nicer)
 
Line 8: Line 8:
'''oberonc''' implements a DEFINITION module extension to the language, that allows Oberon-07 code to call methods written in [[Java]] or other languages that compile to JVM bytecode, e.g.: [[Kotlin]]. This facility is used by the compiler to implement the Oberon-07 runtime library.<br/>
'''oberonc''' implements a DEFINITION module extension to the language, that allows Oberon-07 code to call methods written in [[Java]] or other languages that compile to JVM bytecode, e.g.: [[Kotlin]]. This facility is used by the compiler to implement the Oberon-07 runtime library.<br/>
<br/>
<br/>
An example of a DEFINITION module being used in a Rosetta Code task to call Java code from Oberon-07 can be seen in [[Sleeping_Beauty_problem#Oberon-07|Sleeping_Beauty_problem#Oberon-07]].
An example of a DEFINITION module being used in a Rosetta Code task to call Java code from Oberon-07 can be seen in [[Sleeping_Beauty_problem#Oberon-07|Sleeping Beauty problem#Oberon-07]].

Latest revision as of 11:03, 14 May 2024

Oberonc (Oberon-07 compiler for the JVM) is an implementation of Oberon-07. Other implementations of Oberon-07.

oberonc is an Oberon-07 compiler targeting the Java Virtual Machine (JVM).

It is available on GitHub: https://github.com/lboasso/oberonc

Definition modules

oberonc implements a DEFINITION module extension to the language, that allows Oberon-07 code to call methods written in Java or other languages that compile to JVM bytecode, e.g.: Kotlin. This facility is used by the compiler to implement the Oberon-07 runtime library.

An example of a DEFINITION module being used in a Rosetta Code task to call Java code from Oberon-07 can be seen in Sleeping Beauty problem#Oberon-07.