Re: Generating a simple hand-coded like recursive descent parser

Walter Banks <walter@bytecraft.com>
19 Dec 2006 11:22:55 -0500

          From comp.compilers

Related articles
[32 earlier articles]
Re: Generating a simple hand-coded like recursive descent parser chris.dollin@hp.com (Chris Dollin) (2006-12-19)
Re: Generating a simple hand-coded like recursive descent parser ajo@andrew.cmu.edu (Arthur J. O'Dwyer) (2006-12-19)
Re: Generating a simple hand-coded like recursive descent parser 148f3wg02@sneakemail.com (Karsten Nyblad) (2006-12-19)
Re: Generating a simple hand-coded like recursive descent parser ik@unicals.com (Ivan A. Kosarev) (2006-12-19)
Re: Generating a simple hand-coded like recursive descent parser boldyrev@cgitftp.uiggm.nsc.ru (Ivan Boldyrev) (2006-12-19)
Re: Generating a simple hand-coded like recursive descent parser DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-12-19)
Re: Generating a simple hand-coded like recursive descent parser walter@bytecraft.com (Walter Banks) (2006-12-19)
Re: Generating a simple hand-coded like recursive descent parser cfc@shell01.TheWorld.com (Chris F Clark) (2006-12-19)
Re: Generating a simple hand-coded like recursive descent parser bobduff@shell01.TheWorld.com (Robert A Duff) (2006-12-22)
Re: Generating a simple hand-coded like recursive descent parser bobduff@shell01.TheWorld.com (Robert A Duff) (2006-12-23)
Re: Generating a simple hand-coded like recursive descent parser DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-12-23)
Re: Generating a simple hand-coded like recursive descent parser boldyrev@cgitftp.uiggm.nsc.ru (Ivan Boldyrev) (2006-12-23)
| List of all articles for this month |

From: Walter Banks <walter@bytecraft.com>
Newsgroups: comp.compilers
Date: 19 Dec 2006 11:22:55 -0500
Organization: Compilers Central
References: 06-09-029 06-09-042 06-09-048 06-09-060 06-09-078 06-09-093 06-12-064 06-12-066 06-12-070
Keywords: code, comment
Posted-Date: 19 Dec 2006 11:22:55 EST

"Arthur J. O'Dwyer" wrote:


> whereas no human would ever write
>
> x * y;
>
> in its meaning of "multiply x and y, and then discard the result".


In the general case I would agree. As I read this message I was
writing a multibyte multiply routine for a 8 bit processor. This
routine uses the sideffects of the x*y; namely the 16 bit result that
is returned in a pair of registers which I go on to use.


w..
[Sounds like fun, but it also is most definitely not C. -John]


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.