Newsgroups: comp.lang.dylan,comp.lang.lisp,comp.lang.scheme
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!oitnews.harvard.edu!purdue!haven.umd.edu!news.umbc.edu!eff!news.duke.edu!news.mathworks.com!tank.news.pipex.net!pipex!uknet!newsfeed.ed.ac.uk!edcogsci!jeff
From: jeff@cogsci.ed.ac.uk (Jeff Dalton)
Subject: Re: Parenthesized syntax challenge
Message-ID: <DGJr5o.8LB@cogsci.ed.ac.uk>
Organization: Centre for Cognitive Science, Edinburgh, UK
References: <44aa9a$j5h@miso.cs.uq.edu.au> <ppotts-2809951909280001@198.11.57.140> <MARCOXA.95Oct4094304@lox.icsi.berkeley.edu> <453po8$175@Yost.com> <458pq6$cnr@sand.cis.ufl.edu> <45e460$p5m@scotsman.ed.ac.uk> <813401251snz@wildcard.demon.co.uk>
Date: Mon, 16 Oct 1995 15:02:46 GMT
Lines: 23
Xref: glinda.oz.cs.cmu.edu comp.lang.dylan:5423 comp.lang.lisp:19531 comp.lang.scheme:14016

Cyber Surfer <cyber_surfer@wildcard.demon.co.uk> writes:

>In article <45e460$p5m@scotsman.ed.ac.uk>
>           jeff@festival.ed.ac.uk "J W Dalton" writes:

>> But, perhaps without too much loss, you could have an infix syntax
>> for programs that got turned into lists (rather like Prolog's infix
>> syntax is turned into terms).  If, for instance, * was a binary,
>> infix operator, A * B would be turned into (* A B); and * would
>> be interpreted this way everywhere, even in the arguments to
>> macros.

>This is how I'd like to see it done, if Lisp could have a "standard"
>alternative parser. I'd like it if it could be done entirely using
>operator precedence. I love Prolog's ability to define precedence
>for symbols, without losing any of the simplicity of using terms.

>Has anyone done this for Common Lisp? 

There's cgol, though it's not quite what you want.  (I'm pretty sure
it's in the FAQ.)

-- jeff
