Re: The semicolon habit (was: Q: Definition of a scripting lang.)

plong@perf.com (Paul Long)
Thu, 11 May 1995 18:09:31 GMT

          From comp.compilers

Related articles
[13 earlier articles]
Re: The semicolon habit (was: Q: Definition of a scripting lang.) tchannon@black.demon.co.uk (Tim Channon) (1995-05-04)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) ok@cs.rmit.edu.au (1995-05-04)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) bevan@cs.man.ac.uk (1995-05-10)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) bevan@cs.man.ac.uk (1995-05-10)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) monnier@di.epfl.ch (Stefan Monnier) (1995-05-11)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) cef@geodesic.com (Charles Fiterman) (1995-05-11)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) plong@perf.com (1995-05-11)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) stidev@gate.net (1995-05-12)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) rabin@CS.YALE.EDU (1995-05-12)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) plong@perf.com (1995-05-12)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) bevan@cs.man.ac.uk (1995-05-15)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) bevan@cs.man.ac.uk (1995-05-15)
Re: The semicolon habit (was: Q: Definition of a scripting lang.) Charles.Fiterman@bluebird.uchicago.edu (1995-05-28)
| List of all articles for this month |

Newsgroups: comp.compilers
From: plong@perf.com (Paul Long)
Keywords: C++, syntax
Organization: Performance Computing Inc., Beaverton, OR
References: 95-05-014 95-05-068
Date: Thu, 11 May 1995 18:09:31 GMT

> bevan@cs.man.ac.uk (Stephen J Bevan) writes:
>Indeed, that's why I dislike compilers that only give line numbers. I
>much prefer character position or failing that line -and- column.


I've written parsers both ways. One problem with specifying the character
position is what to do in the presence of macro expansion. Do you indicate
the position in the original source or in the expanded source. Either way can
lead to confusion.


Paul Long
plong@perf.com
--


Post a followup to this message

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