Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.compilers > #3157
| From | gah4 <gah4@u.washington.edu> |
|---|---|
| Newsgroups | comp.compilers |
| Subject | Re: Wrestling with phase 1 of a C compiler |
| Date | 2022-09-12 13:01 -0700 |
| Organization | Compilers Central |
| Message-ID | <22-09-005@comp.compilers> (permalink) |
| References | <22-09-001@comp.compilers> <22-09-004@comp.compilers> |
On Monday, September 12, 2022 at 12:46:47 PM UTC-7, christoph...@compiler-resources.com wrote: (snip) > C is a nice small imperative language. It's fine for expressing those > kinds of semantics. The C preprocessor is both simple and powerful, but it > doesn't change the nature of C. You cannot really do "compilation" in the > C preprocessor. On of the earlier languages I knew, and maybe still favorite, is PL/I. PL/I does have a powerful preprocessor, though I don't know so many actually using its power. It even has preprocessor procedures, if you need them. The most use of the power I have seen, is one for unrolling DO loops, which unrolls smaller loops, but not larger ones, with either a preprocessor %DO, or a real DO. I do remember, though, first knowing abuot no preprocessor in Java, and the trend of PL/I to C to Java, in decreasing preprocessor power. [PL/I had its charms but I wouldn't want to write functional code in it, either. -John]
Back to comp.compilers | Previous | Next — Previous in thread | Next in thread | Find similar
Wrestling with phase 1 of a C compiler luser droog <luser.droog@gmail.com> - 2022-09-07 09:47 -0700
Re: Wrestling with phase 1 of a C compiler luser droog <luser.droog@gmail.com> - 2022-09-09 20:47 -0700
Re: Wrestling with phase 1 of a C compiler luser droog <luser.droog@gmail.com> - 2022-09-11 20:15 -0700
Wrestling with phase 1 of a C compiler Christopher F Clark <christopher.f.clark@compiler-resources.com> - 2022-09-12 21:45 +0300
Re: Wrestling with phase 1 of a C compiler gah4 <gah4@u.washington.edu> - 2022-09-12 13:01 -0700
Re: Wrestling with phase 1 of a C compiler Christopher F Clark <christopher.f.clark@compiler-resources.com> - 2022-09-13 14:55 +0300
Re: Wrestling with phase 1 of a C compiler gah4 <gah4@u.washington.edu> - 2022-09-14 15:40 -0700
Re: source languages, was Wrestling with phase 1 of a C compiler George Neuner <gneuner2@comcast.net> - 2022-09-14 16:03 -0400
Re: Wrestling with phase 1 of a C compiler luser droog <luser.droog@gmail.com> - 2022-09-14 14:31 -0700
Re: Wrestling with phase 1 of a C compiler luser droog <luser.droog@gmail.com> - 2022-09-15 20:11 -0700
csiph-web