Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!umd5!uvaarpa!babbage!mac3n From: mac3n@babbage.acc.virginia.edu (Alex Colvin) Newsgroups: comp.lang.misc Subject: Re: Block Closure Message-ID: <254@babbage.acc.virginia.edu> Date: 20 Apr 88 14:37:02 GMT References: <2853@enea.se> <2400014@otter.hple.hp.com> <918@rlgvax.UUCP> <5100@aw.sei.cmu.edu> Organization: University of Virginia Lines: 13 An other way to do this block overture/closure is to use the production stmt -> stmt ; stmt or its nearest equivalent in your favorite notation. This just gives ";" a high precedence. Then blocks have to be explicitly cut off, e.g. if A then if B then S1; S2 = if A then (if B then S1; S2) /= if A then (if B then S1); S2 Or you could require all syntax to be fully bracketed, as is LISP.