Chapter 2 Further Reading
Official Documentation
-
Free Pascal Reference Guide https://www.freepascal.org/docs-html/ref/ref.html The authoritative reference for the Free Pascal language. Chapter 1 covers program structure, which directly relates to the
program...begin...end.skeleton we explored in this chapter. -
Free Pascal User's Guide https://www.freepascal.org/docs-html/user/user.html Covers compiler options, configuration files, and platform-specific details. See Chapter 3 ("Compiler Usage") for a comprehensive list of
fpccommand-line flags. -
Lazarus IDE Documentation (Wiki) https://wiki.lazarus-ide.org/ The community-maintained wiki is the best resource for Lazarus setup, configuration, and troubleshooting. Start with the "Getting Started" section.
Books
-
Jeff Duntemann, Free Pascal from Square One (free PDF) A gentle introduction to Free Pascal that covers installation and first programs in its opening chapters. Duntemann's explanations of the compilation process are clear and beginner-friendly. Available free from the author's website.
-
Marco Cantu, Object Pascal Handbook (free PDF from Embarcadero) While focused on Delphi, the first two chapters cover Object Pascal fundamentals and the compilation model in a way that directly applies to Free Pascal. An excellent companion reference.
Online Resources
-
Free Pascal and Lazarus Wiki — Installing Free Pascal https://wiki.freepascal.org/Installing_Free_Pascal Platform-specific installation instructions with screenshots. Covers edge cases and unusual configurations not addressed in this chapter.
-
Lazarus IDE Wiki — IDE Overview https://wiki.lazarus-ide.org/Lazarus_IDE_Tools A comprehensive tour of the Lazarus IDE: editor features, debugger, form designer, and project management.
-
Free Pascal Subreddit (r/freepascal) https://www.reddit.com/r/freepascal/ Active community for installation help, code questions, and project showcases. A good place to ask if you encounter an unusual setup problem.
-
Lazarus Forum https://forum.lazarus-ide.org/ The official Lazarus community forum. The "Beginners" section is particularly welcoming and the search function can help you find solutions to common setup problems.
Conceptual Background
-
Brian W. Kernighan and Dennis M. Ritchie, The C Programming Language (1978) The origin of the "Hello, World!" tradition. While written for C, the first chapter's discussion of compilation, linking, and execution applies to Pascal as well.
-
Niklaus Wirth, "A Brief History of Software Engineering" (IEEE Annals of the History of Computing, 2008) Wirth reflects on the principles behind Pascal and the evolution of programming languages. Provides context for why Pascal's compilation model was designed the way it was.
-
Alfred V. Aho, Monica S. Lam, Ravi Sethi, and Jeffrey D. Ullman, Compilers: Principles, Techniques, and Tools (the "Dragon Book") The definitive textbook on compiler design. For readers curious about what happens inside
fpcduring compilation (lexical analysis, parsing, code generation). Advanced reading — not required for this course, but fascinating.
Tools
-
Notepad++ (Windows) — https://notepad-plus-plus.org/ Free text editor with Pascal syntax highlighting built in.
-
Visual Studio Code — https://code.visualstudio.com/ Free editor with Pascal extensions available (search for "Pascal" or "OmniPascal" in the Extensions Marketplace). Provides syntax highlighting, code snippets, and basic code intelligence.
-
Free Pascal — fpDoc https://www.freepascal.org/docs.html The Free Pascal documentation tool. If you want to explore the full documentation set (RTL, FCL, LCL), this is your starting point.