Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.compilers > #1736
| From | Walter Banks <walter@bytecraft.com> |
|---|---|
| Newsgroups | comp.compilers |
| Subject | Re: New experimental back end for C/C++ compiler targeting CLI |
| Date | 2016-08-30 13:44 -0400 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <16-08-014@comp.compilers> (permalink) |
| References | <16-08-007@comp.compilers> <16-08-008@comp.compilers> <16-08-009@comp.compilers> <16-08-011@comp.compilers> <16-08-012@comp.compilers> |
On 2016-08-29 9:21 PM, Walter Banks wrote: > On 2016-08-29 1:52 PM, BartC wrote: >> I've played with source-to-source translators, and never managed >> to deal with comments properly and in the end gave up. ... > > How we handled the comments on the asm to asm translation was put > the whole sourceline into in our case a C statement // comment with > enough parsing information to tie it as well to the generated code. A > filter (In our case a compiler pragma) reprocessed the listing line. > It could have been done with a small post processing program quite > easily. > > It proved quite workable. Something else to think about for comments. The source level debugging format we often use ties generated code to both source files and listing files. The system I described above uses this information. We have often used this information on many different debug applications after post processing. In the asm to asm translations we have done it is quite strange to see a listing file for an target processor being stepped with a source file of the original processor. I think then same thing could be done with elf dwarf extensions as well. w..
Back to comp.compilers | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
New experimental back end for C/C++ compiler targeting CLI Alexandre <alebencz@gmail.com> - 2016-08-25 10:40 -0300
Re: New experimental back end for C/C++ compiler targeting CLI rockbrentwood@gmail.com - 2016-08-26 12:54 -0700
Re: New experimental back end for C/C++ compiler targeting CLI Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2016-08-29 10:28 +0200
Re: New experimental back end for C/C++ compiler targeting CLI BartC <bc@freeuk.com> - 2016-08-29 18:52 +0100
Re: New experimental back end for C/C++ compiler targeting CLI Walter Banks <walter@bytecraft.com> - 2016-08-29 21:21 -0400
Re: New experimental back end for C/C++ compiler targeting CLI Walter Banks <walter@bytecraft.com> - 2016-08-30 13:44 -0400
Re: New experimental back end for C/C++ compiler targeting CLI BartC <bc@freeuk.com> - 2016-08-30 22:48 +0100
Re: New experimental back end for C/C++ compiler targeting CLI Walter Banks <walter@bytecraft.com> - 2016-08-31 13:24 -0400
Re: New experimental back end for C/C++ compiler targeting CLI Martin Ward <martin@gkc.org.uk> - 2016-09-06 18:09 +0100
Re: New experimental back end for C/C++ compiler targeting CLI Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2016-08-30 13:13 +0200
Re: New experimental back end for C/C++ compiler targeting CLI Walter Banks <walter@bytecraft.com> - 2016-08-29 13:15 -0400
csiph-web