Recent

Author Topic: How was FPC Compiler Built?  (Read 3590 times)

schuler

  • Full Member
  • ***
  • Posts: 223
How was FPC Compiler Built?
« on: October 10, 2017, 11:59:14 pm »
 :) Hi,
Is there any documentation about how FPC was built and its structure? I had a look at the source code but I couldn't figure after spending 30 min (may be, I haven't spent enough time).

With a bit of luck, I might be able to fix bugs instead of reporting bugs.

 :) Happy coding to everyone  :)

Almir.Bispo

  • Jr. Member
  • **
  • Posts: 91
  • CSV Comp DB is the Best NoSQL
    • CSV Comp DB (NoSQL)
CSV Comp DB Developer {Pascal Lover}

Leledumbo

  • Hero Member
  • *****
  • Posts: 8746
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: How was FPC Compiler Built?
« Reply #2 on: October 11, 2017, 07:12:34 am »
This is your primary source regarding how to build fpc from source (its customization, etc.), while this talks about the compiler architecture. The latter is incomplete and might not be up to date, primarily since the introduction of JVM target, which serves as a testbed for code generator split, high level (targets another abstract machine language) and low level (targets real machine code). Otherwise, as far as I can see it is align with the code.

schuler

  • Full Member
  • ***
  • Posts: 223
Re: How was FPC Compiler Built?
« Reply #3 on: October 11, 2017, 07:34:44 am »
Lele, thank you so much!!!

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: How was FPC Compiler Built?
« Reply #4 on: October 11, 2017, 10:41:01 am »
while this talks about the compiler architecture. 

I've typeset an earllier version of that document in latex once: PDF

 

TinyPortal © 2005-2018