Skip to content

An implementation of N. Wirths Oberon 0 language implemented with C# and ANTLR. Currently compiler output is generated as MSIL code

License

Notifications You must be signed in to change notification settings

steven-r/Oberon0Compiler

Repository files navigation

Oberon-0 Compiler

CI/CD: Build status Master: Build status

QUality GitHub license GitHub release

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)

Use Oberon0Msil.exe to compile and execute code.

About

An implementation of N. Wirths Oberon 0 language implemented with C# and ANTLR. Currently compiler output is generated as MSIL code

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published