Declare -- was Re: [E-Lang] ERTP-aware MintMaker

Chris Hibbert hibbert@netcom.com
Mon, 19 Feb 2001 13:52:54 -0700


The one problem I see with Dean's proposal to use 
  def foo
 as the syntax for the "I'll define it later, but I'm declaring it now"
construct has to do with another feature of E I haven't gotten
comfortable with yet.  How does this work with no line terminator
symbol?  Is it possible for the code on the next line to be ambiguously
legal as either the content of the definition or as a separate expression?

Hmmm.  maybe not;   All the examples I can find are either "def foo :=
..." or "def bar { ...".

It does look, however, like the human reader has to look to the start of
the next line to determine what's going on.

Chris