Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!samsung!usc!snorkelwacker!spdcc!esegue!compilers-sender From: Donald.Lindsay@MATHOM.GANDALF.CS.CMU.EDU Newsgroups: comp.compilers Subject: Low-Rent Syntax Keywords: parse,design Message-ID: <1990Aug09.180536.18782@esegue.segue.boston.ma.us> Date: 9 Aug 90 18:05:36 GMT References: <25630@cs.yale.edu> <58091@lanl.gov> <1990Jul26.024449.1777@esegue.segue.boston.ma.us> <1990Jul27.034115.8747@esegue.segue.boston.ma.us> Sender: compilers-sender@esegue.segue.boston.ma.us Reply-To: Donald.Lindsay@MATHOM.GANDALF.CS.CMU.EDU Organization: Carnegie-Mellon University, CS/RI Lines: 20 Approved: compilers@esegue.segue.boston.ma.us In article <1990Jul27.034115.8747@esegue.segue.boston.ma.us> moss@cs.umass.edu (Eliot Moss) writes: >Related to BEGIN/END blocks is the argument over whether the ";" that follows >some statements should be a separator or a terminator... >CLU was actually able to *eliminate* the ";" statement separator/terminator, >through *very* careful syntax design (and maybe it required more than one >token lookahead, too; I don't recall clearly). The Icon language (Arizona) and the Turing language (Toronto) both have "low rent" syntax - that is, the ";" is only needed (as a separator) when one writes multiple statements on a single line. In all other cases, it can be omitted. Is there now a "usual" way to implement this ? Don D.C.Lindsay -- Send compilers articles to compilers@esegue.segue.boston.ma.us {spdcc | ima | lotus| world}!esegue. Meta-mail to compilers-request@esegue.