[fpc-devel] Compiler development guides
J. Gareth Moreton
gareth at moreton-family.com
Wed Aug 19 08:12:10 CEST 2020
Sorry, I didn't mean to imply you were a
novice, just a slight warning to be prepared
when you dive into the code!
Some documentation would be nice for the
compiler, but I'm not sure where to begin
there except maybe with outlining the
individual compiler stages (creating nodes,
simplifying nodes, building target-specific
assembly language, peephole optimisation
etc.)
Gareth aka. Kit
On Tue 18/08/20 16:26 , "Dmitriy
Pomerantsev" pda2 at yandex.ru sent:
> Thanks for the warning, but I'm not new
in programming. Just not familiar
> with the Free Pascal source code. Dmitriy
Pomerantsev. 18.08.2020, 17:47,
> "J. Gareth Moreton via fpc-devel" :
>
> 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
>
More information about the fpc-devel
mailing list