[comp.compilers] Toy compilers for classes

noro@tame.cs.umd.edu (Masami Noro) (03/03/90)

Hi, I am looking for a toy compiler which is for a class for
compiler theory. The language must be simple enough to be
understood by junior level students who have already taken basic
programming cources. I guess, PL/CS (educational version of
PL/I), subset of C or Pascal which just has integer and character
types, etc.

The compiler must be a multiple-pass one. One of the purpose of
using it is to teach them what is a token file, an intermediate
code, etc. Hence, it should consist of multiple passes. An
optimization pass is not necessarily required, but preferable if
there is. I need one running on UNIX 4.2bsd, Sun-Unix, or Ultrix.
No system-V please unless it is portable to one of those. If it
produces VAX code, it will be the most preferable one, but not
necessarily.

If anyone has any idea on that like "I know the book which has
source code for a such compiler", "Our department uses one of
such compilers for education", etc., Please give me e-mail at the
address
	noro@mimsy.umd.edu
Any suggestions and notices will be appreciated and very very
welcome.

ThanX in advance

Masami Noro (noro@mimsy.umd.edu)
-- 
Send compilers articles to compilers@esegue.segue.boston.ma.us
{spdcc | ima | lotus}!esegue.  Meta-mail to compilers-request@esegue.
Please send responses to the author of the message, not the poster.