Re: Intelligent macros .vs. BITS

This is a discussion on Re: Intelligent macros .vs. BITS within the pl1 forums in Programming Languages category; "glen herrmannsfeldt" <gah @ ugcs.caltech.edu> wrote in message news:4YydnW8d2e7_k37anZ2dnUVZ_sKqnZ2d @ comcast.com. .. > The PL/I macro processor is probably more featured than > it needs to be. Symbol replacement and conditional compilation, > the two main features of the C preprocessor, are likely the most > used and most useful. The macro facility of PL/I has many uses: 1. generating constants at compile time; 2. insertion of debugging code; 3. replacement of names; 4. inline of code; 5. unrolling of loops; 6. language translation; to mention a few. To see some extensive uses, see Barnes' book....

Go Back   Application Development Forum > Programming Languages > pl1

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 03-26-2008, 07:45 AM
robin
Guest
 
Default Re: Intelligent macros .vs. BITS

"glen herrmannsfeldt" <gah@ugcs.caltech.edu> wrote in message
news:4YydnW8d2e7_k37anZ2dnUVZ_sKqnZ2d@comcast.com. ..

> The PL/I macro processor is probably more featured than
> it needs to be. Symbol replacement and conditional compilation,
> the two main features of the C preprocessor, are likely the most
> used and most useful.


The macro facility of PL/I has many uses:
1. generating constants at compile time;
2. insertion of debugging code;
3. replacement of names;
4. inline of code;
5. unrolling of loops;
6. language translation;
to mention a few.

To see some extensive uses, see Barnes' book.


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 04:14 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.