[fpc-devel] Compiler development guides

J. Gareth Moreton gareth at moreton-family.com
Tue Aug 18 15:32:04 CEST 2020


Writing compilers is a pretty specialised undertaking, so general guides are rather hard to come by.  
For FPC, your best bet is to study the source code of something that already exists, make notes and 
build from there.

Gareth aka. Kit


On Tue 18/08/20 14:39 , Florian Klämpfl via fpc-develfpc-devel at lists.freepascal.org sent:
> Am 18.08.20 um 14:46 schrieb Dmitriy Pomerantsev via fpc-devel:
> 
> > Hello. Are there any guides for those who want
> to try adding something 
> > to the compiler? 
> 
> 
> 
> No, there aren't.
> 
> 
> 
> > For example, I would like to try making a new
> backend. 
> > Is there some example template, etc? Or just
> other backend code examples?
> 
> 
> Best is to use an existing backend and ask questions here.
> 
> _______________________________________________
> 
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
> 
> 
> 
> 
> 



More information about the fpc-devel mailing list