An implementation of N. Wirths Oberon 0 language implemented with C# and ANTLR.
The aim is to support both, the RISC instruction set by N. Wirth (long term) and MSIL (current).
The compiler is based on the ANTLR4 parser (C# version).
The current executable code is generated using Roslyn
Current status:
- All language elements are supported
- Support for REAL (Done --> Missing is a lot of library functions)
- Support for STRING (limited)
- Handling of complex type scenarios (
ARRAY OF RECORD
, ...) is limited (see #12)
Starting with 0.60 Oberon 0 can be installed by using the dotnet tool
-command:
dotnet tool install Oberon0.Msil --add-source https://github.com/steven-r/Oberon0Compiler/releases/download/<version>/Oberon0.Msil.nupkg
Use oberon0.msil
to compile and execute code.
s