Here is a Blackbox port of Hanspeter Mossenbock's Coco/R Compiler Compiler:
http://espc22.murdoch.edu.au/~stewart/blackbox
This can best be described as a "conservative" port of Coco/R. Since the
original code did not use type-bound parameters, it is almost entirely
compatible with the syntax of Component Pascal. However, it is written for
a classical Oberon system (System 3/V4?) and so relies on modules that are
not part of BCF.
Instead of re-writing Coco, I have implemented equivalents of the Oberon
Text modules that use BlackBox TextModels. This means that the entire port
requires only a few changes to the original source files. These are:
1) Aliasing the original imported modules for their substitutes. Re-naming
modules to conform to the BlackBox sub-system model.
2) Implementing an equivalent of COPY.
3) Re-naming the scanner and parser frame files. Changing the naming of
output modules so that they can be generated in another subsystem (rather
than at the top level).
An additional advantage of this approach is that future versions of Coco/R
will be trivial to port in the same way. However, the current Oberon-2
version seems to be in its final form. I'm sure that this approach could
also be used to port software from other Oberon systems.
Enjoy!
Stewart
-- Stewart Greenhill, http://espc22.murdoch.edu.au/~stewart