Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.compilers > #3351
| From | William Fahle <billfahle@gmail.com> |
|---|---|
| Newsgroups | comp.compilers |
| Subject | Re: Are there different programming languages that are compiled to the same intermediate language? |
| Date | 2023-01-30 02:00 -0800 |
| Organization | Compilers Central |
| Message-ID | <23-01-086@comp.compilers> (permalink) |
| References | <Adkz+TvWa4zLl8W9Qd6ovtClKZpZrA==> <23-01-078@comp.compilers> |
On Sunday, January 29, 2023 at 10:58:58 AM UTC-6, Roger L Costello wrote: > Sally is concerned. She asks herself: > > - With either approach, how do I prove that my mapping is correct? > - For approach 1, how do I prove that the Intermediate_Code_1 that I generate > is correct for my programming language? > - For approach 2, how do I prove that the instance of Programming_Language_1 > that I generate is semantically equivalent to my Programming_Language_2 > instance?" > > What is the answer to Sally's questions? > > /Roger > [I think the answer either way is that you don't, and you try to have a test > suite that is as comprehensive as possible. -John] This is Post's Correspondence Problem, which has been proven to be equivalent to the Halting Problem, thus uncomputable. [Remember that while the halting problem is insoluble in general, it's often soluble in specific cases, e.g. "halt" or "foo: goto foo". Nevertheless, I would be quite surprised if anyone could prove a non-toy translator correct. -John]
Back to comp.compilers | Previous | Next — Previous in thread | Next in thread | Find similar
Are there different programming languages that are compiled to the same intermediate language? Roger L Costello <costello@mitre.org> - 2023-01-29 15:49 +0000
Re: Are there different programming languages that are compiled to the same intermediate language? Thomas Koenig <tkoenig@netcologne.de> - 2023-01-29 22:14 +0000
Re: Are there different programming languages that are compiled to the same intermediate language? arnold@freefriends.org (Aharon Robbins) - 2023-01-30 08:03 +0000
Re: Are there different programming languages that are compiled to the same intermediate language? William Fahle <billfahle@gmail.com> - 2023-01-30 02:00 -0800
Re: Are there different programming languages that are compiled to the same intermediate language? Roger L Costello <costello@mitre.org> - 2023-01-30 14:36 +0000
Re: Are there different programming languages that are compiled to the same intermediate language? Kaz Kylheku <864-117-4973@kylheku.com> - 2023-01-30 17:36 +0000
Re: Are there different programming languages that are compiled to the same intermediate language? gah4 <gah4@u.washington.edu> - 2023-01-31 22:59 -0800
Re: Are there different programming languages that are compiled to the same intermediate language? gah4 <gah4@u.washington.edu> - 2023-02-02 16:24 -0800
Re: Are there different programming languages that are compiled to the same intermediate language? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2023-02-03 11:44 +0000
Re: OoO, VLIW, Are there different programming languages that are compiled to the same intermediate language? gah4 <gah4@u.washington.edu> - 2023-02-03 19:13 -0800
Re: OoO, VLIW, Are there different programming languages that are compiled to the same intermediate language? gah4 <gah4@u.washington.edu> - 2023-02-04 02:55 -0800
Re: OoO, VLIW, Are there different programming languages that are compiled to the same intermediate language? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2023-02-07 08:35 +0000
Re: OoO, VLIW, Are there different programming languages that are compiled to the same intermediate language? gah4 <gah4@u.washington.edu> - 2023-02-08 01:04 -0800
csiph-web