Hi all,
this is me, Sven Schubert, 25 yo German and student of 'Software-Engineering' at the Institute of Technology Carlow, Ireland. My final year project is to come up with a Pascal compiler for the Parrot VM (www.parrotcode.org).
While researching ways on how to do my project (i.e. write a new compiler from scratch or modifiy existing OSS-compilers to target Parrot), of course GPC was one of the open-source compilers I looked at. Now, I'm not exactly literate in compiler building and I could use some guidance regarding where to look at in GPC.
Naturally, I'm looking for the Backend module of GPC, that would translate the intermediate representation into whatever its target language is. Because I guess, thats where I would have to start changing things (c:
Can anyone point me, what part of the GPC source to look at? Anyone done anything similar in the past? As I'm still researching, I could use some third-party opinion on the feasability of modifying GPC instead of writing a new Pascal compiler from scratch.
Any suggestions welcome.
Thanks & cheers, Danke und viele Gruesse,
Sven.