* * *

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

schuler

  • New member
  • *
  • Posts: 47
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: 62
  • CSV Comp DB is the Best NoSQL
    • CSV Comp DB (NoSQL)
CSV Comp DB Developer {Pascal Lover}

Leledumbo

  • Hero Member
  • *****
  • Posts: 7743
  • 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

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

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5875
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

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus