[comp.compilers] OCCAM

mrm@Eng.Sun.COM (Marianne Mueller) (03/23/91)

Are there any free software or public domain occam compilers?
[This has come up a few times before.  Nobody's ever reported anything other
than the Inmos compilers. -John]
-- 
Send compilers articles to compilers@iecc.cambridge.ma.us or
{ima | spdcc | world}!iecc!compilers.  Meta-mail to compilers-request.

dww@math.fu-berlin.de (Debora Weber-Wulff) (03/26/91)

I found the following while looking for a logo interpreter for
suns:

This is just a lex and yacc front end (since we had such a
wonderful discussion about whether it was possible to do
this or not a while back!) written by
> Peter Polkinghorne ( pjmp@uk.co.gec-rl-hrc or ...!mcvax!ukc!hrc63!pjmp )
> GEC Hirst Research Centre, East Lane, Wembley, Middlesex, UK
who is not intending to maintain the grammar, it is just offered
as an example of using lex and yacc on occam. But he hopes someone
out there will produce a back-end someday soon!

I found it on the following machine

wuarchive.wustl.edu               (128.252.135.4)
under mirrors/unix-c/languages

I just tried to check the connection though, and it said
that the disk that holds the archive had just died. 

-- 
Debora Weber-Wulff
snail: FU Berlin, ZI Fachdidaktiken, Habelschwerdter Allee 45, W-1000 Berlin 33
email: weberwu@inf.fu-berlin.de, dww@math.fu-berlin.de
[Despite a note when you connect that the disk for /mirrors has died, the file
/mirrors/unix-c/languages.occam/occam.tar-z is in fact there and contains two
yacc occam parsers. -John]
-- 
Send compilers articles to compilers@iecc.cambridge.ma.us or
{ima | spdcc | world}!iecc!compilers.  Meta-mail to compilers-request.

adrianho@barkley.berkeley.edu (Adrian J Ho) (03/27/91)

This may not quite be what the original poster asked for (I lost the
original posting), but a search via archie lists the following sites
with a full OCCAM system.  From the README:

>        OCCAM system for UNIX 4.2bsd
>        ----------------------------
>
>Description:
>------------
>
>This directory contains a beta site version of an OCCAM system.
>It includes a compiler for standard Occam with a few extensions (specified
>in the user manual). The compiler produces Vax/Tahoe assembler code.
>Also included is a library of runtime routines acting as the parallel
>machine simulator. Strong tracing options on the simulator's activities
>are provided.

Two things to note though:

1) This package is rather old.

2) I remember picking this package up a couple of years ago, and it churns
out (to my knowledge) ONLY Vax/Tahoe assembler code (as stated above).  If
you're willing to try porting it to another architecture, more power to
you.  8-)

The sites are:

Host cs.utah.edu   (128.110.4.21)
Last updated 12:04 26 Mar 1991

    Location: /pub
      FILE      rw-r--r--    101131  Nov  9 10:18   occam.tar.Z

Host apple.com   (130.43.2.2)
Last updated 05:05 22 Mar 1991

    Location: /pub/ArchiveVol1/unix_lang
      FILE      rw-r--r--    101131  Jan  6 09:25   occam.tar.Z

Host hpserv1.cs.uit.no   (128.39.70.50)
Last updated 18:22  8 Mar 1991

    Location: /pub/languages
      FILE      rw-r--r--    101131  Feb  2  1989   occam.tar.Z

Host jyu.fi   (128.214.7.5)
Last updated 22:22  7 Mar 1991

    Location: /pub/misc/occam
      FILE      rwxr-xr-x    101131  Aug 12  1988   occam.tar.Z

Host walhalla.informatik.uni-dortmund.de   (129.217.64.63)
Last updated 23:14  6 Mar 1991

    Location: /pub/programming/languages
      FILE      rw-rw-r--    101131  Feb 28  1989   occam.tar.Z

Host watserv1.waterloo.edu   (129.97.129.140)
Last updated 23:10  6 Mar 1991

    Location: /languages
      FILE      rw-r--r--    101131  Nov  1  1988   occam.tar.Z

Good luck!

-----------------------------------------------------------------------------
Adrian Ho, EECS (pronounced "eeks!") Dept.		Phone: (415) 642-5563
UC Berkeley					adrianho@barkley.berkeley.edu
-- 
Send compilers articles to compilers@iecc.cambridge.ma.us or
{ima | spdcc | world}!iecc!compilers.  Meta-mail to compilers-request.