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-de...@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@lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
> 
> 
> 
> 
> 

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to