OBNC: An Oberon Compiler
2025-05-17
OBNC is a compiler for Niklaus Wirth's Oberon programming language, implementing the final 2016 version. It translates Oberon source code to C, which is then compiled and linked using the host OS's C compiler and linker. Released under the GNU General Public License (compiler) and Mozilla Public License (libraries), OBNC offers flexibility for project licensing. The package includes the compiler, build tools, documentation generator, a basic library, and an extended library (ext) adding features like command-line argument access and environment variable handling. It's implemented in C, works on POSIX-compliant systems, and requires the Boehm-Demers-Weiser garbage collector. A pre-compiled Windows version is available.
Development