[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [NOISE] Curly braces [was Re: Curl]
> Date: Thu, 29 Nov 2001 22:02:17 -0800 (PST)
> From: Morgan McGuire <morgan3d@yahoo.com>
>
> > Personally, I'd like to see a lisp that has some (optional) notion of
> > an end tag e.g.
> >
> > (if (< a b)
> > (display "less")
> > (display "more")
> > @end-if)
>
> The poor man's version is of course:
>
> {if (< a b)
> (display "less")
> (display "more")
> } ; if
>
> But that isn't as good for having the parser check it, and it seems to
> offend Schemers (which is a good enough reason for doing it in its own
> right).
>
> I had a lot of success using a Scheme variant which did basically what
> you suggested as a teaching language. Students had a better time
> lining up their parens and keeping track of what nesting level they
> were exiting.
>
> -m
>
Don't keep us in suspense; which scheme variant?
Mike