Oberonc (Oberon-07 compiler for the JVM): Difference between revisions
Content added Content deleted
(Created page) |
(Added notes about DEFINITION modules) |
||
Line 1: | Line 1: | ||
{{implementation|Oberon-07}} |
{{implementation|Oberon-07}} |
||
'''oberonc''' is an [[Oberon-07]] compiler targeting the JVM |
'''oberonc''' is an [[Oberon-07]] compiler targeting the JVM.<br/> |
||
⚫ | |||
It is available on GitHub: [https://github.com/lboasso/oberonc https://github.com/lboasso/oberonc] |
It is available on GitHub: [https://github.com/lboasso/oberonc 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.<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]]. |
Revision as of 13:48, 12 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 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.