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

Hans-Peter Diettrich <DrDiettrich1@netscape.net>
Sun, 6 Mar 2022 12:23:23 +0100

          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)
Keywords and Reserved Words christopher.f.clark@compiler-resources.com (Christopher F Clark) (2022-03-08)
[5 later articles]
| List of all articles for this month |

From: Hans-Peter Diettrich <DrDiettrich1@netscape.net>
Newsgroups: comp.compilers
Date: Sun, 6 Mar 2022 12:23:23 +0100
Organization: Compilers Central
References: 22-03-004
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="88645"; mail-complaints-to="abuse@iecc.com"
Keywords: parse, comment
Posted-Date: 06 Mar 2022 12:03:48 EST

On 3/3/22 2:57 PM, Roger L Costello wrote:
> How do you create a grammar for a multi-language language?


A grammar is not required. In 1971 I saw a program source that could
tell the compiler it was compiled with - Fortran or Algol.


DoDi
[I've seen obfuscated programs that will work as shell scripts or
perl programs but I don't think that was what he was asking about.
-John]


Post a followup to this message

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