Re: How do you create a grammar for a multi-language language?

"Robin Vowels" <robin51@dodo.com.au>
Mon, 7 Mar 2022 13:39:33 +1100

          From comp.compilers

Related articles
How do you create a grammar for a multi-language language? costello@mitre.org (Roger L Costello) (2022-03-03)
Re: How do you create a grammar for a multi-language language? costello@mitre.org (Roger L Costello) (2022-03-05)
Re: How do you create a grammar for a multi-language language? ak@akkartik.com (Kartik Agaram) (2022-03-05)
Re: How do you create a grammar for a multi-language language? gah4@u.washington.edu (gah4) (2022-03-05)
Re: How do you create a grammar for a multi-language language? DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2022-03-06)
Re: How do you create a grammar for a multi-language language? gah4@u.washington.edu (gah4) (2022-03-06)
Re: How do you create a grammar for a multi-language language? gah4@u.washington.edu (gah4) (2022-03-06)
Re: How do you create a grammar for a multi-language language? robin51@dodo.com.au (Robin Vowels) (2022-03-07)
Re: How do you create a grammar for a multi-language language? DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2022-03-07)
Re: How do you create a grammar for a multi-language language? gah4@u.washington.edu (gah4) (2022-03-06)
| List of all articles for this month |
From: "Robin Vowels" <robin51@dodo.com.au>
Newsgroups: comp.compilers
Date: Mon, 7 Mar 2022 13:39:33 +1100
Organization: Compilers Central
References: <AdgvBM3tabuoXFasQLiTikka5cGndQ==> 22-03-004 22-03-008
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="17392"; mail-complaints-to="abuse@iecc.com"
Keywords: parse, PL/I
Posted-Date: 06 Mar 2022 22:08:18 EST

From: "gah4" <gah4@u.washington.edu>
Sent: Sunday, March 06, 2022 4:10 PM
>
> The C preprocessor, originally a separate pass, but now usually implemented
> together with the rest of the C compiler, processes its statements, and passes
> everything else through. It does that well enough, that it is commonly used
> with Fortran. (The traditional version, not the newer one.)


IBM's PL/I has a preprocessor that accepts a subset of PL/I.
The finished text is then passed to the compiler.


XPL processes such text as it goes, handling the text processing
before passing it to the compiler.


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.