Weird Language Features

Richard Heathfield binary at eton.powernet.co.uk
Sun Feb 18 12:42:35 EST 2001


Dave Cross wrote:
> 
> [Please watch the replies on this message as it's heavily
> cross-posted]

Noted.

> 
> I'm doing some comparisons on programming language features and I'd be
> very interested to know how you would handle the following scenarios
> in your programming language of choice.
> 
> 1/ The programmer calls a function that doesn't actually exist within
> the application (or libraries).

In ISO conforming C, he can't. End of story.

> 2/ Can ou filter the input source code before compilation (or
> interpretation) in some way so that language keywords could be changed
> for other strings?

Again in ISO conforming C...

#define ALIAS original

e.g.

#define voiture auto /* :-) */


-- 
Richard Heathfield
"Usenet is a strange place." - Dennis M Ritchie, 29 July 1999.
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
K&R answers, C books, etc: http://users.powernet.co.uk/eton



More information about the Python-list mailing list