[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: do you use the pre-processor?
- From: Richard Sun <scritch@...>
- Date: Wed, 10 May 2000 14:30:36 -0700
our code uses $if more mostly debugging stuff...
> -----Original Message-----
> From: Luiz Henrique de Figueiredo [mailto:firstname.lastname@example.org]
> Sent: Wednesday, May 10, 2000 2:32 PM
> To: Multiple recipients of list
> Subject: do you use the pre-processor?
> Continuing our quest for simplifying Lua, we are considering
> trimming the
> More precisely, we'd keep $debug, $nodebug, $endinput, but
> would remove
> $if, $else, $end. So, the pre-processor would be back to its
> old self of
> simply a set of pragmas that have immediate effect.
> Conditional parts add complexity to the lexer (and the
> language; see a recent
> message about $ inside [[...]] strings), but the benefits are
> not obvious.
> For instance, $if VAR has a misleading requirement that VAR
> needs to be defined
> (or not) *before* the chunk starts.
> So, would the removal of $if, $else, $end break lots of existing code?