Skip to content

GunterMueller/OBNC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OBNC

A Oberon-07 to C translator. Forked from http://miasap.se/obnc/.

OBNC

OBNC is a compiler for Niklaus Wirth’s programming language Oberon. It implements the latest version of the language from 2016. OBNC translates source code written in Oberon to the lower-level programming language C. The translated code is then compiled and linked with the C compiler and linker of the host operating system. The build command obnc performs all these tasks and keeps track of which files need to be compiled or recompiled.

OBNC is released under the GNU General Public License.

See the changelog for latest updates. Main Package

The source package obnc contains the compiler with a build tool, a documentation generator and a small basic library of seven modules defined in The Oakwood Guidelines for Oberon-2 Compiler Developers. obnc_0.9.1.tar.gz

Latest: obnc_0.12.0.tar.gz

Obnc is implemented in C and should compile on any POSIX compatible operating system. To build obnc you also need the Boehm-Demers-Weiser garbage collector GC. Further instructions are included in the README file in the root directory of the package.

Note: Output files generated by OBNC version 0.8 or earlier are not compatible with OBNC 0.9. If you have used a previous version you need to recompile your modules (simply delete the generated .obnc directory in your module directories before compilation). Standard Library

The package obnc-libstd complements the basic library with modules for accessing command line arguments and environment variables, printing to the standard error stream and converting numbers to strings and vice versa. obnc-libstd_0.3.1.tar.gz

OBNC-libstd 0.3 requires OBNC 0.9 or later.

Latest: obnc-libstd_0.4.0.tar.gz

OBNC-libstd 0.4 requires OBNC 0.10 or later.

Resources

The Programming Language Oberon
Type compatibility in Oberon
Library module definitions
Getting started with Oberon and OBNC

=========================================================================

OBNC OBNC is a compiler for Niklaus Wirth’s programming language Oberon. It implements the latest version of the language from 2016. OBNC translates source code written in Oberon to the lower-level programming language C. The translated code is then compiled and linked with the C compiler and linker of the host operating system. The build command obnc performs all these tasks and keeps track of which files need to be compiled or recompiled.

The compiler is released under the GNU General Public License while the libraries are released under the Mozilla Public License. With the Mozilla license an Oberon project compiled with OBNC can be released under any license.

See the changelog for latest updates.

Main Package The source package obnc contains the compiler with a build tool, a documentation generator and a small basic library of seven modules defined in The Oakwood Guidelines for Oberon-2 Compiler Developers.

obnc_0.13.0.tar.gz Obnc is implemented in C and should compile on any POSIX compatible operating system. To build obnc you also need the Boehm-Demers-Weiser garbage collector GC. Further instructions are included in the README file in the root directory of the package.

Note: Output files generated by OBNC version 0.12 or earlier are not compatible with OBNC 0.13. If you have used a previous version you need to recompile your modules; simply delete the generated .obnc directory in your module directories before using the new version.

Standard Library The package obnc-libstd complements the basic library with modules for accessing command line arguments and environment variables, printing to the standard error stream and converting numbers to strings and vice versa.

obnc-libstd_0.5.0.tar.gz OBNC-libstd 0.5 requires OBNC 0.10 or later.

obnc-libstd_0.6.0.tar.gz (24 KB)

OBNC-libstd 0.6 requires OBNC 0.14 or later and vice versa.

Documentation Oberon:

The Programming Language Oberon Type compatibility in Oberon Library module definitions OBNC Commands:

obnc obnc-compile obnc-path obncdoc Articles Getting started with Oberon and OBNC Data abstraction in Oberon Books Object-Oriented Programming in Oberon-2 (pdf) Oberon-2 has language support for type-bound procedures (methods), otherwise it is very similar to standard Oberon which OBNC targets (the article Data abstraction in Oberon describes how classes are implemented in standard Oberon). Contact If you have found an error or have suggestions for improvements you can contact karl@miasap.se. The Oberon programming language and OBNC can also be discussed in the Usenet newsgroup comp.lang.oberon.

About

A Oberon-07 to C translator. Forked from http://miasap.se/obnc/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published