Re: c++ interpreter
From: Phlip (phlip_cpp_at_yahoo.com)
Date: 04/06/04
- Next message: Jorge Rivera: "Re: [Q]Object:formal definition and description?"
- Previous message: Martin Ambuhl: "Re: Tracking the "memory growth" of a process"
- In reply to: Buster: "Re: c++ interpreter"
- Next in thread: Buster: "Re: c++ interpreter"
- Reply: Buster: "Re: c++ interpreter"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 5 Apr 2004 16:32:29 -0700
Buster wrote:
> [Re. other replies.] OK, you got me. But what I'm trying to get at is
> that quote - "C++ can't use this feature" - what's that about? There are
> syntax errors in C++.
Consider object.method(), where method does not exist yet. The Java
perspective in the Eclipse editor can underline "method" in pink, the same
way a word processor indicates misspelled words.
A C++ perspective couldn't do that because a #define may have screwed with
object or method. Only a real compilation can find syntax errors. Compilers
tune to quickly compile a lot of code - not to instantly compile one file,
just to find its syntax errors. So C++ (presently) cannot use advanced
syntax highlighting to provide the earliest possible feedback.
--
Phlip
http://www.xpsd.org/cgi-bin/wiki?TestFirstUserInterfaces
- Next message: Jorge Rivera: "Re: [Q]Object:formal definition and description?"
- Previous message: Martin Ambuhl: "Re: Tracking the "memory growth" of a process"
- In reply to: Buster: "Re: c++ interpreter"
- Next in thread: Buster: "Re: c++ interpreter"
- Reply: Buster: "Re: c++ interpreter"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|