[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

begin




One more thing... I want to change the syntax of BEGIN as follows:

  <expr>  ::=  (begin <block> <optional end>)
  <block>  ::=  <definition>* <expr>+
  <optional end>  ::=  end | <empty>

This is for compatibility with Algol 60, which allows declarations at the
beginning of begin...end blocks, and ends them with END.

(sequence ...) of course would only do the sequential execution part of
this, like ; in Algol 60, so it wouldn't allow definitions.  So sequence
could be used like progn 'compile is in Maclisp.

Jonathan