Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.compilers > #2648
| Path | csiph.com!tncsrv06.tnetconsulting.net!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end |
|---|---|
| From | gah4 <gah4@u.washington.edu> |
| Newsgroups | comp.compilers |
| Subject | Re: macros of yore, was TeX syntax? |
| Date | Fri, 9 Apr 2021 18:39:39 -0700 (PDT) |
| Organization | Compilers Central |
| Lines | 24 |
| Sender | news@iecc.com |
| Approved | comp.compilers@iecc.com |
| Message-ID | <21-04-009@comp.compilers> (permalink) |
| References | <07-02-024@comp.compilers> <21-04-002@comp.compilers> <21-04-004@comp.compilers> <21-04-007@comp.compilers> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| Injection-Info | gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="39203"; mail-complaints-to="abuse@iecc.com" |
| Keywords | macros |
| Posted-Date | 09 Apr 2021 21:57:42 EDT |
| X-submission-address | compilers@iecc.com |
| X-moderator-address | compilers-request@iecc.com |
| X-FAQ-and-archives | http://compilers.iecc.com |
| In-Reply-To | <21-04-007@comp.compilers> |
| Xref | csiph.com comp.compilers:2648 |
Show key headers only | View raw
On Friday, April 9, 2021 at 4:20:27 PM UTC-7, Rock Brentwood wrote: > (His original aim is much more doable now, by the way, than in the 1980's, > because the *forward* advancement of C from the 1980's to C99 actually entails > a dramatic *simplification* of what's needed for a "cfront" like utility, and > much of what went into the original is no longer needed, on that account. You > can almost even write up a utility as a simple editor script, now! ... Except > for exception-handling. Most people forget, translation is a *contravariant* > function of source language - it simplifies when source language complexifies. > So things become *more* doable, not less!) I have recently been working with another macro processor from the 1970's, which is written using a set of macros, and converted to standard Fortran 66. Among others, the macros implement IF-THEN-ELSE structures and the usual DO-WHILE and and DO-UNTIL loops. I recently realized, though haven't done it yet, that I can rewrite the macros to generate Fortran 90 structured if and looping constructs. I did that some years ago with the MORTRAN macros, which also are designed to generate standard Fortran 66 code. But yes, it is interesting to look at what can be done with old programs and modern tools.
Back to comp.compilers | Previous | Next — Previous in thread | Find similar
Re: TeX syntax? Rock Brentwood <rockbrentwood@gmail.com> - 2021-04-04 14:08 -0500
Re: TeX syntax? gah4 <gah4@u.washington.edu> - 2021-04-05 04:21 -0700
Re: TeX syntax? gah4 <gah4@u.washington.edu> - 2021-04-05 13:29 -0700
Re: TeX syntax? ... In-stream/parallel parsing & intelligent handling of macros Rock Brentwood <rockbrentwood@gmail.com> - 2021-04-09 15:18 -0700
Re: macros of yore, was TeX syntax? gah4 <gah4@u.washington.edu> - 2021-04-09 18:39 -0700
csiph-web