Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!visix!ip2020!adamksh From: adamksh@ip2020.Berkeley.EDU (Adam Kao (KSh)) Newsgroups: comp.lang.misc Subject: Re: a < b < c revisited Message-ID: <1991Apr23.151839.13663@visix.com> Date: 23 Apr 91 15:18:39 GMT References: <3195@enea.se> <474@data.UUCP> <3237@enea.se> Sender: news@visix.com Reply-To: adamksh@ip2020.Berkeley.EDU (Adam Kao (KSh)) Organization: Visix Software Inc., Reston, VA Lines: 21 In article <3237@enea.se>, sommar@enea.se (Erland Sommarskog) writes: |> Also sprach Ken Dickey (kend@data.UUCP): |> >Of course, it is *much* easier to generalize a prefix grammar... |> So how do you compactly express a < b <= c with a prefix |> grammar? Algebraic version: ( <.<= a b c ) Visual version: ( O--@ a b c ) Verbal version: ( range-with-max a b c ) Adam