New Oberon to Lua Transpiler
In case you are interested: I have implemented a transpiler wich is able to translate full Oberon-07 to Lua 5.1 which is then transparently just-in-time compiled and run by LuaJIT. Here is an article about the motivation of the project and some implementation details: https://medium.com/@rochus.keller/implementing-call-by-reference-and-call-by... Here are the source code and precompiled binaries for Linux: https://github.com/rochus-keller/Oberon The test cases in the corresponding subfolder were adopted from OBNC and run successfully. Best R.K.
Hi Rochus, Congratulations for your project, it is an interesting approach. For more test cases feel free to adapt these files: https://github.com/lboasso/oberonc/tree/master/tests/base I am curious to compare the performance of the JVM and LuaJIT, I'll try the Hennessy benchmark with the oberonc compiler. Cheers, Luca On Fri, Oct 11, 2019, 02:55 rochus.keller@bluewin.ch < rochus.keller@bluewin.ch> wrote:
In case you are interested:
I have implemented a transpiler wich is able to translate full Oberon-07 to Lua 5.1 which is then transparently just-in-time compiled and run by LuaJIT.
Here is an article about the motivation of the project and some implementation details: https://medium.com/@rochus.keller/implementing-call-by-reference-and-call-by...
Here are the source code and precompiled binaries for Linux: https://github.com/rochus-keller/Oberon
The test cases in the corresponding subfolder were adopted from OBNC and run successfully.
Best R.K. -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
participants (2)
-
Luca Boasso -
rochus.keller@bluewin.ch