Discussion:
An Oberon-07 compiler for the ESP32
(too old to reply)
Guy T.
2020-03-22 12:04:56 UTC
Permalink
Hello all,

Just to let you know that I'm in the process of building an Oberon-07 compiler for the ESP32 chip, based on the Project Oberon compiler. Still a work in progress but a good part of the compiler is working well. It took me around 4 weeks (full time effort) to develop and I'm in the debugging phase since 3 weeks (part time).

You can find it here: https://github.com/turgu1/esp32-oberon-compiler

Cheers!

Guy
Wendel Wang
2020-11-13 15:57:34 UTC
Permalink
Post by Guy T.
Hello all,
Just to let you know that I'm in the process of building an Oberon-07 compiler for the ESP32 chip, based on the Project Oberon compiler. Still a work in progress but a good part of the compiler is working well. It took me around 4 weeks (full time effort) to develop and I'm in the debugging phase since 3 weeks (part time).
You can find it here: https://github.com/turgu1/esp32-oberon-compiler
Cheers!
Guy
Hi Guy.

How is this getting on?
Also, can I ask a stupid question? I am not knowledgeable in bare-metal at all, why do you have to write a compiler for ESP32? I thought that OBNC can tartget everything that has a C compiler.
Guy T.
2020-11-14 16:48:23 UTC
Permalink
Hello Wendel,

The ESP32 Oberon compiler is able to compile for the ESP32. I've written/imported many test cases that are working fine. When I left the development, some header files from ESP-IDF have been translated to Oberon.

There is still work to do to translate other parts but also to get it able to take as many header files as possible from the ESP-IDF. I've put the project on pause as I'm working on another prioritized project. I hope to complete the effort after Christmas time. Still not sure if the translation is doable as the SDK is very large, time will tell. A better alternative would be an automated 'just in time' translator embedded in the compiler.

The OBNC would have been an alternative. In fact, I'm using it to compile the compiler on a Linux machine... I've done this project as a way to build a compiler from the last Niklaus Wirth source codeversion. It is a learning effort. The result is useable but may require further tests.

Cheers!

Guy
Post by Wendel Wang
Post by Guy T.
Hello all,
Just to let you know that I'm in the process of building an Oberon-07 compiler for the ESP32 chip, based on the Project Oberon compiler. Still a work in progress but a good part of the compiler is working well. It took me around 4 weeks (full time effort) to develop and I'm in the debugging phase since 3 weeks (part time).
You can find it here: https://github.com/turgu1/esp32-oberon-compiler
Cheers!
Guy
Hi Guy.
How is this getting on?
Also, can I ask a stupid question? I am not knowledgeable in bare-metal at all, why do you have to write a compiler for ESP32? I thought that OBNC can tartget everything that has a C compiler.
Loading...