home bbs files messages ]

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 1,482 of 2,753   
   Torben =?iso-8859-1?Q?=C6gidius?= M to andresj   
   Re: Writing a compiler   
   23 Oct 08 15:25:15   
   
   From: torbenm@pc-003.diku.dk   
      
   andresj  writes:   
      
      
   > The next part is where I need more help in: how to convert this tree   
   > into assembly language.   
   >   
   > * Is there any documentation on this part of writing a compiler?   
      
   You can download my book "Basics of Compiler Design" for free from   
   http://www.diku.dk/~torbenm/~Basics . It has chapters on type checking   
   and code generation, which should help you to get all the way from   
   syntax tree to symbolic aaembly language.  I suggest you use existing   
   assemblers and linkers for generating binaries.   
      
   Mind you, the book describes principles and contains no code that you   
   can copy-paste into your own compiler.  So, "some assembly required".   
      
   	Torben   
      
   --- 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