Privacy Policy & Imprint

Lazarus Mag 2026

Pascal programming tips and
fresh components from the FreePascal community


PDF Viewer in Pascal / Lazarus

A PDF Reader in pure Pascal that can render the PDF to a TForm or to an image, or extract the PDF's text to a .TXT file.

Unleashed Pascal (compiler + IDE)

... is a fork (2026) of FreePascal and Lazarus that introduces modern language features as optional extensions, without compromising compatibility with existing Pascal code.

AI Integration for the Lazarus IDE

With a package you can display a side panel in the Lazarus develop­ment environ­ment that assists you while coding. It uses a local LLM.

"Pixie": HTML / CSS renderer for Lazarus

A new (2026) open source HTML/CSS rendering engine with its own HTML5 parser, CSS3 tokeniser/parser, and a layout engine. It renders a HTML string into a Lazarus control (TPixieHtmlView) with full mouse interaction, scrolling, links, hover/active states, and form controls.

JavaScript in FreePascal

A new (2026) open-source "drop of JavaScript" in FreePascal. It imple­ments a modern subset of ECMAScript.

TLS stack for Pascal

OpenSSL becomes unnecessary: TlsLib4Pascal is a new TLS library for Object Pascal. It provides a fully managed TLS 1.2 + TLS 1.3 stack.

Use Ollama and LM Studio in Pascal project

How to connect your Lazarus application to LLMs using Ollama and LM Studio.

AI image generation (VLM engine)

Envision brings state-of-the-art image generation — running down­load­ed open-weight models like FLUX2 and Z-Image — straight into your Delphi, FPC, or Lazarus projects, written in pure Object Pascal with zero external dependencies and hand-tuned x86_64 assembly for blazing CPU performance. Unlike Ollama or LM Studio, which are ready-made apps built around LLM chat (with image generation still an experimental, macOS-only side feature riding on C/C++ backends), Envision is a native Pascal engine you compile directly into your own application — no Python, no llama.cpp, no separate runtime to ship.
https://github.com/hshatti/Envision

AI: MCP for FreePascal

In the MCP (Model Context Protocol), the server exposes tools and data for an AI to use, while the client — the AI application itself, like Claude — connects to that server and calls on those capabi­lities. MCP for Free­Pascal, the official freepascal.org project, implements the server side natively in Pascal, letting FPC-based tooling speak directly to any MCP-compatible AI client.
https://gitlab.com/freepascal.org/mcp

.WebP image reader and writer

Pure Pascal WebP for Delphi & Lazarus – load, save, and animate WebP images with zero external DLLs or third-party binaries: just drop in the unit and you're ready to go. Whether static images or animated WebPs, `TWebpImage`, `TWebPAnimate`, and `TWebPAnimation` give you a lightweight, cross-platform (Windows & Linux) solution in pure Pascal code.
https://github.com/Xelitan/Pure-Pascal-Webp-for-Delphi-Lazarus-Free-Pascal/

JPEG XL encoder/decoder

Tis pure-Pascal JPEG XL encoder/decoder brings you compression that beats WebP outright — up to 60% smaller than classic JPEG, with no bloated dependencies and no external DLLs, just clean native code for Delphi and Lazarus. One `uses JxlImageX` and you're already ahead of the curve, delivering sharper images at smaller sizes straight from your VCL/LCL app.
https://github.com/Xelitan/JPEG-XL-encoder-decoder-in-pure-Pascal-for-Free-Pascal-Delphi-Lazarus

MP3 audio decoder/encoder in pure Pascal

TXelAudio is a dependency-free Pascal library that reads and writes a huge range of audio formats — MP3, WAV, OGG, AIFF, CAF, FLAC, plus tracker formats like XM, MOD, IT and S3M — all without needing any external DLLs. On top of straightforward format conversion, it packs in handy extras like waveform drawing, peak detection, fading, normalizing and playback, making it a compact all-in-one audio toolkit for your Lazarus/FreePascal projects.
https://github.com/Xelitan/TAudio---audio-library-in-pure-Pascal

"RunFormula" - Formula Interpreter

RunFormula turns plain-text formulas into live results in your Lazarus / FreePascal apps — parsing math, physics, and unit-aware expressions with full dimension checking and automatic conversion. Lightweight, dependency-free, and script-extensible, it's the fast way to add a scripting engine to your project without writing a parser yourself.
https://github.com/runnfla/RunFormula

Cryptography library for Object Pascal

CryptoLib4Pascal brings production-grade, enterprise-ready cryptogra­phy to Delphi and FreePascal/Lazarus developers, covering everything from AES-GCM and ChaCha20-Poly1305 to ECDSA, EdDSA, RSA, and Argon2. It even future-proofs your applications with NIST-standardized post-quantum algorithms (ML-KEM, ML-DSA, SLH-DSA) and full X.509 certificate support, so you're ready for the next generation of security threats. Released under the permissive MIT License and battle-tested across Windows, Linux, macOS, and more, it's a comprehensive, free toolkit for building secure Object Pascal applications with confidence.
https://github.com/Xor-el/CryptoLib4Pascal

inter-process communication (cross-platform)

pascal-pipes-faa is a battle-tested, cross-platform IPC library for Delphi 12+ and FPC/Lazarus that lets you switch between local named pipes, TCP, and encrypted TLS/mTLS connections with a single property change — no rewrites required. It ships with synchronous RPC, topic-based pub/sub with wildcards and retained messages, automatic reconnection, and thread-safe dispatch modes, backed by an extensive test suite and real-world sample apps ranging from secure chat to networked games.
https://github.com/fabianoallex/pascal-pipes-faa

Node-based visual editor

LazNodeEditor brings professional, Blueprint-style visual scripting to your Lazarus applications — drag, connect, and orchestrate logic with a polished node graph editor that just works, no external dependencies required. Whether you're building a shader editor, game logic system, or automation tool, this MIT-licensed, cross-platform component (Windows & Linux) gives you undo/redo, JSON persistence, and full extensibility right out of the box.
https://github.com/CynicRus/LazNodeEditor

XRechnung, ZUGFeRD and Factur-X

XRechnung-for-Delphi lets you write and read XRechnung, ZUGFeRD, Factur-X, and Peppol BIS Billing e-invoices directly in Delphi or FreePascal — no external tools like Mustang, PDFtk, or Java required, even for extracting invoices embedded in ZUGFeRD PDFs. It's free under GPL v3.0, or available under a commercial license for closed-source use.
https://github.com/LandrixSoftware/XRechnung-for-Delphi

Database administration tool

TurboBird is a free, open-source administration tool built on Lazarus/FreePascal for Firebird, the powerful SQL database descended from Borland's legendary InterBase. Manage tables, triggers, stored procedures, UDRs, packages and more through one intuitive interface — with a visual query designer and multi-version Firebird client support that keeps you productive across every project.
https://github.com/scozzaro/TurboBird_for_laz_48

I like Object Pascal

Pascal is a beautiful programming language because of its clear and structured syntax, which closely resembles natural English. It was designed with readability and maintainability in mind. Strong typing in Pascal helps catch errors early, leading to more reliable and secure code. Its elegance lies in its simplicity and focus on clean program structure. Pascal encourages disciplined programming practices, which is why it's still valued in education and certain professional domains today.

String Types

In Pascal-based programming languages like Delphi and FreePascal, various string types are available to handle different encoding and memory management needs. These range from legacy types like `ShortString` to modern, reference-counted types like `AnsiString` and `UnicodeString`. Each type differs in how it stores characters, supports encodings such as UTF-8 or UTF-16, and interacts with system APIs. Choosing the appropriate string type is crucial for ensuring correct character handling, performance, and compatibi­lity — especially across platforms like Windows and Linux. This overview explains the characteris­tics, use cases, and technical details of each string type available in modern Pascal environ­ments.

Free eBook for Pascal beginners

"FreePascal From Square One" is a free eBook that teaches pro­gram­ming in Pascal from the ground up, with a special focus on beginners. While the first part introduces core pro­gram­ming concepts, the second half dives deep into the Pascal lan­guage itself. It covers data types, control struc­tures, procedures, func­tions, string handling, file I/O, and modular pro­gram­ming using units. The book includes clear explana­tions, practical code examples, and guidance on using the Lazarus IDE with Free­Pascal. Ideal for self-learners, it’s avail­able as a free PDF down­load from the author’s website.

Free introduction to the IDE

The eBook "Introduction to the Lazarus IDE" was published in 2024. The author provides free excerpts from the first part of his book as PDF files. He has also produced several videos to go with it, which you can watch on YouTube.

Lazarus via fpcUpDeluxe auf macOS installieren

Zuerst die "Xcode Command Line Tools" installie­ren (ent­hält Linker von Apple für macOS). Dazu den Terminal (Console) öffnen, indem man die Taste [Cmd] + Leertaste drückt. Dies öffnet die Spot­light-Suche, dort "Terminal" eingeben, dann im Terminal ...
xcode-select --install

fpcUpDeluxe runterladen:
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/
Dort für M1+ (Apple Silicon) runterladen: fpcupdeluxe-aarch64-darwin-cocoa.zip

Beim Öffnen der Datei erscheint "Die Datei ist be­schädigt". Das stimmt nicht, die Datei muss erst ent­sperrt werden. Dazu im Terminal (s.o.) zum Download-Ordner navi­gie­ren, z.B. mittels: pwd, ls, cd .., cd Downloads, u.ä.

Quarantäne-Attribut entfernen, gegen die "beschädigt"-Meldung:
xattr -cr fpcupdeluxe-aarch64-darwin-cocoa.zip

Die Datei entpacken oder den Dateiname an­passen, falls es keine .app, sondern es nur eine aus­führ­bare Datei ohne Endung ist.
Die Datei ausführbar machen (meist bei .app nicht erforder­lich, aber schadet nicht):
chmod +x fpcupdeluxe-aarch64-darwin-cocoa

Letztlich Lazarus mittels fpcUpDeluxe installie­ren.




You

If you have a small Pascal project or your own Pascal unit that you’d like to publish, showcase, and host here, just send me an email.
Scroll to Top