OXFORD UNIVERSITY COMPUTING LABORATORY

Software packages

This page documents a software package available on the Computing Laboratory network, under the Solaris 2 operating system (on both Sparc and Intel architectures).

obc - Oberon-2 compiler

Obc is a portable compiler that translates the programming language Oberon-2 into machine-independent bytecode.

The compiler was written by Mike Spivey to support the first-year course Procedural Programming.


Obc is maintained by Mike Spivey, not by the support staff.

Version v1.3

This is the default version. It offers line-count profiling, more Oberon-2 language features, and a new, more compact, binary format for executable bytecode files.

The package includes the commands obc, obprof and obdump. obc and obprof are available in the default search path (in /usr/local/bin), and obdump is available after giving the command "use obc".

Documentation

  • Manual pages (from v1.2):
    • obc - Oberon-2 compiler
    • obprof - Oberon-2 profiler
    • obdump - Oberon-2 line-count profiler
  • Library modules - documented in the user's manual, available in PostScript form.


Version v1.0

This is an old version. The package includes the commands obc and obprof, which are available after giving the command "use v1.0 obc".

The library modules (including source code) can be found under /usr/local/lib/obc.

Documentation

  • Manual pages:
    • obc - Oberon-2 compiler
    • obprof - Oberon-2 profiler
  • Library modules - documented in the laboratory manual for the course Procedural Programming


See also

  • o2c - Oberon-2 to C compiler


Other available packages | The package system
[Oxford Spires]



Oxford University Computing Laboratory Courses Research People About us News