[e-lang] Proposed grammar simplifications
Kevin Reid
kpreid at attglobal.net
Tue May 31 12:32:51 EDT 2005
Dean Tribble <tribble at e-dean.com> wrote:
> Deprecate the HideExpr (just a brace enclosed sequence of expressions).
> There are about 5 occurences in esrc, and 15 overall in esrc, e-on-cl,
> and my code. There are several ways to get a nested scope. Using the
> most efficient syntax for enclosing a block to represent it seems like a
> waste, and the potential for HideExprs makes several other minor grammar
> issues ambiguous (like optionally ending lists of things with a comma).
Only 15? I suspect you didn't count E-on-CL's updoc scripts, where I use
it primarily to reduce the chance of accidental coupling between tests.
What "way to get a nested scope" do you recommend?
The obvious one is thunk { ... } ().
if (true) { ... } would work, but is Wrong.
--
Kevin Reid <http://homepage.mac.com/kpreid/>
More information about the e-lang
mailing list