[Oberon] A C++ version of the Lola-2 compiler and an Oberon to C++compiler

Joerg joerg.straube at iaeth.ch
Wed Apr 17 17:05:41 CEST 2019


This is the existing Oberon to C translator called "ofront":
https://github.com/jtempl/ofront

Jörg
-----Original Message-----
From: Oberon <oberon-bounces at lists.inf.ethz.ch> On Behalf Of
rochus.keller at bluewin.ch
Sent: Wednesday, April 17, 2019 4:39 PM
To: oberon at lists.inf.ethz.ch
Subject: Re: [Oberon] A C++ version of the Lola-2 compiler and an Oberon to
C++compiler

@  peter at easthope.ca, Lyall E.

>> From your imagination you create a Lola-2 text specifying hardware
circuitry? 
>> Then translate to C++?  

There are three projects. 

The primary goal is to build an IDE for the Lola-2 hardware description
language with an integrated  Lola-2 compiler.  You find it here:
github.com/rochus-keller/LolaCreator

Then there is a project with the goal to create a C++ version of Wirth's
Lola-2 compiler (written in Oberon) which can be integrated with
LolaCreator. That's this project: https://github.com/rochus-keller/Lolac

And finally there is a tool to analyze and convert Oberon code to equivalent
C++, which is here: https://github.com/rochus-keller/Oberon

So as you see it is not the goal to use C++ as a hardware description
language here; if you're interested in this application of C++ have a look
at https://en.wikipedia.org/wiki/SystemC or the Xilinx or Intel (Altera) HLS
tools which can translate algorithms written in C++ to Verilog.

Also Lola-2 is translated to Verilog. Lolac will be extended in future to
directly generate the intermediate language of Yosys (RTLIL/ILANG).

Best
R.K.
--
Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
https://lists.inf.ethz.ch/mailman/listinfo/oberon



More information about the Oberon mailing list