Re: Empty Alternatives (a.k.a epsilon).

"G. Ken Holman" <gkholman@CraneSoftwrights.com> writes:
> Personally, I like () for epsilon exactly because it does not use any kind of quote.

It’s taken me a little while to come around to "" for the empty string, but I think I’m persuaded.

Using () feels awkward to me. On the one hand, if that’s the way we go, I’d like to say it’s “()” just those two characters, nothing else. But we allow whitespace between most “punctuation” characters so I think it’s weird to say that you can’t put whitespace in there. Damned if you do, damned if you don’t.

--
Norm Tovey-Walsh
Saxonica

Received on Wednesday, 26 August 2026 15:37:03 UTC