[comp.archives] [comp.lang.functional] Re: concrete syntax

kinnersley@kuhub.cc.ukans.edu (Bill Kinnersley) (01/30/91)

Archive-name: languages/occam/occam/1991-01-28
Archive: watserv1.waterloo.edu:/languages/occam.tar.Z [129.97.129.140]
Original-posting-by: kinnersley@kuhub.cc.ukans.edu (Bill Kinnersley)
Original-subject: Re: concrete syntax (was: "off-side rule")
Reposted-by: emv@ox.com (Edward Vielmetti)

For all of those who've been saying that programming languages such as
Miranda and occam, where leading whitespace is used in place of begin..end
are difficult to implement, not context free, beyond the capability of
lex and yacc, a crime against nature, etc...

You might want to ftp to watserv1.uwaterloo.edu, and pick up the occam
compiler there which uses lex and yacc, and see for yourself how really
*trivial* it is to implement this feature!

--
--Bill Kinnersley