home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.compilers
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!eff!world!iecc!compilers-sender
- From: xjam@cork.CS.Berkeley.EDU (The Crossjammer)
- Subject: Re: Extension Languages
- Reply-To: xjam@cork.CS.Berkeley.EDU (The Crossjammer)
- Organization: University of California, Berserkeley
- Date: Mon, 14 Dec 1992 08:01:40 GMT
- Approved: compilers@iecc.cambridge.ma.us
- Message-ID: <92-12-059@comp.compilers>
- Keywords: design
- References: <92-12-056@comp.compilers>
- Sender: compilers-sender@iecc.cambridge.ma.us
- Lines: 21
-
- marks@iris.mincom.oz.au (Mark Stavar) adds:
- > I have a question relating to extension languages for editors:
-
- > IS there any specific reason why one would choose to utilise an prefix
- > notation language for extensions to an editor as opposed to infix or
- > post-fix?
-
- Most people wouldn't list this as an a priori reason but prefix notation
- is *trivial* to parse. Makes life easier on the language implementor, and
- depending on the community, the users.
-
- Also typical extension languages don't have those fun filled, action
- packed, programming constructs that beg for LR parsing. I would wager that
- even those extension languages that have a Pascal/C heritage could be
- relatively easily turned into a prefix notation and vice versa.
-
- --
- xjam@cork.Berkeley.EDU
- --
- Send compilers articles to compilers@iecc.cambridge.ma.us or
- {ima | spdcc | world}!iecc!compilers. Meta-mail to compilers-request.
-