Compilers
-
Hi, I was wondering if anybody knew anything about the back-end of a compiler. I have been looking everywhere for different code generation techniques and can't seem to find any reliable sources--all tutorials I found stop at parsing (which I am all too familiar with, now). All I really need is a few methods of implementation (or even a theory, if nothing else). Any info or links to 'programming compilers' articles would be most appriciated! Thanks!
-
Hi, I was wondering if anybody knew anything about the back-end of a compiler. I have been looking everywhere for different code generation techniques and can't seem to find any reliable sources--all tutorials I found stop at parsing (which I am all too familiar with, now). All I really need is a few methods of implementation (or even a theory, if nothing else). Any info or links to 'programming compilers' articles would be most appriciated! Thanks!
There is a book called "Compilers" written by "Alfred V Aho" will be pretty much useful to you I hope.:)
-
There is a book called "Compilers" written by "Alfred V Aho" will be pretty much useful to you I hope.:)
Thanks for the comment! :) I do, however, own that book already; but if I hadn't, then your reply would have been the very best advice given so far and would have been extremely helpful for me (though it still can be to anyone else who hasnt yet read it!) You see, I'm working on a very large project of my own involving compilers and translators, and was wondering if there was any more ideas/concepts and methods of the back-end and code generation. As of now, I'm experimenting with translating data from one format to another (which, in these experiments, isn't always going to be associated with computer languages). This is why I would like to have a look at some other methods out there, to see what other algorithms exist that just may be even the slightest more dynamic than what I know now .. Anyone know if any other [more dynamic] methods exist other than the common practice? Thanks! :)