Ralph Sommerer
Research - OberonScript


Oberon Script is a scripting language and runtime system for building interactive Web Client applications. It consists of a compiler that translates the full Oberon language into JavaScript code, and a small runtime system that detects and compiles at load-time script sections written in Oberon Script.

It is a complete re-implementation from scratch of an earlier compiler that I built while being with Microsoft Research in Cambridge. For legal reasons I was unable to take the code with me but I cleared the code by MSR's legal department for publication via Microsoft Research's code posting tool. However, I left MSR before completing the process, hence the complete rewrite.


The code of the compiler is available in its current, far from final version in source code (obviously...) for personal, non-commercial and non-governmental use. The usual disclaimers apply.

A very minimal documentation is also available. I may merge it some time with the prettyprinted HTML version below.

V2.0beta [JavaScript] [HTML color coded] [Docu] July 6, 2007


  • Oberon Day 2007, ETH Zürich, Switzerland, June 29, 2007
  • Joint Modular Languages Conference (JMLC 2006), Oxford, UK, September 13-15, 2006


Ralph Sommerer: Oberon Script: A Lightweight Compiler and Runtime System for the Web, Proceedings of the 7th Joint Modular Languages Conference, JMLC 2006, Oxford, UK, September 13-15, 2006, LNCS Vol 4228, Springer, 2006 [also available as MSR Technical Report 2006-50]