Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.compilers    |    Compiler construction, theory, etc. (Mod    |    2,753 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 2,385 of 2,753    |
|    Walter Banks to BartC    |
|    Re: New experimental back end for C/C++     |
|    29 Aug 16 21:21:46    |
      From: walter@bytecraft.com              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.              w..              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca