Skip to content
https://abc.microfintool.com/

Mobile & Accessories

Smartphone Reviews, Specs, Comparisons & Electronics Guides

  • Welcome to ABC Tool: Your Ultimate Portal for Smartphones and Accessories
  • PRIVACY POLICY
  • Blog
  • Contact
graemeg/blaise: A modern, self-hosting Object Pascal compiler built for the 2020s. Zero legacy, full ARC, and unified UTF-8. · GitHub

graemeg/blaise: A modern, self-hosting Object Pascal compiler built for the 2020s. Zero legacy, full ARC, and unified UTF-8. · GitHub

Posted on May 8, 2026October 10, 2026 By Muhammad Safdar No Comments on graemeg/blaise: A modern, self-hosting Object Pascal compiler built for the 2020s. Zero legacy, full ARC, and unified UTF-8. · GitHub
Blog

Everything you need to know about graemeg blaise a modern self hosting.

[ad_1]

Repository files navigation

The Pascal you love, reimagined for the modern era.

Blaise is a next-generation Object Pascal compiler built from the ground up to eliminate decades of legacy baggage. It prioritizes developer productivity, memory safety, and high-performance execution.

The Object Pascal ecosystem has two options: Embarcadero Delphi (proprietary, Windows-first) and Free Pascal (open source but carrying 30 years of accumulated complexity — five language modes, five string types, and thousands of include files).

This compiler takes a different approach:

  • One language mode. No {$mode} switches; no legacy dialect support.

  • One string type. UTF-8 reference-counted string. RawBytes for binary data.

  • One memory model. Automatic reference counting applies uniformly to strings, classes, and interfaces. No manual/auto split between TObject and TInterfacedObject; [Weak] breaks cycles. Free is retained as a synonym for immediate release.

  • Clean interfaces. No COM GUIDs; interface dispatch via compile-time vtable mapping.

  • Reified generics. Monomorphization at compile time — no type erasure.

  • Modern build system. PasBuild with project.xml; no makefiles.

  • First-class debugger. OPDF is the default debug format; DWARF is not required.

The result — A modern, cross-platform Object Pascal compiler targeting native code via QBE (and eventually LLVM). Single language mode, single string type, zero-GUID interfaces, reified generics, and first-class OPDF debug format support.

  • Self-Hosting: Yes. Blaise currently bootstraps and recompiles itself with byte-for-byte exact matches.

  • Testing: 1200+ tests and growing (Test-Driven Development from day one).

  • Backends: Currently utilizing a QBE backend, with an LLVM backend in active development.

Phase Goal Status

1

Bootstrap pipeline — Hello World on Linux x86_64 via PasBuild

Complete ✅

2

Type system — classes, records, ARC, exceptions

Complete ✅

3

Generics + zero-GUID interfaces

Complete ✅

4

OPDF debug info emission

Complete ✅

5

Self-hosting + LLVM + Windows + macOS ARM64

In-Progress

6

LSP + VS Code extension

Planned

7

Migration analyser for FPC/Delphi codebases

Planned

What Is Dropped From Classic Pascal

Feature Reason for removal

ShortString, AnsiString, WideString, UnicodeString

Replaced by a single UTF-8 reference-counted string type

with statement

Source of hard-to-diagnose symbol resolution bugs; breaks static analysis

Old-style object types

Use record (stack/value) or class (heap/reference) instead

COM-style interface GUIDs

Interface dispatch via compile-time vtable; GUIDs are unnecessary complexity

Multiple language modes

One dialect, maintained well, beats five dialects maintained poorly

assign, reset, rewrite, blockread

Replaced by a stream-based I/O RTL

TObject vs TInterfacedObject split

One unified class model under automatic reference counting; [Weak] breaks cycles

The core architecture is still being finalised, so the project is not yet accepting code contributions. Feedback on language design, syntax choices, and the future direction of Blaise is very welcome — please use the Discussions tab on GitHub.

This project uses PasBuild’s multi-module layout. Each subdirectory with a project.xml is an independent module; the root project.xml is the aggregator.

project.xml                       Root aggregator (packaging=pom)
│
├── compiler/                     The compiler binary (packaging=application)
│   ├── project.xml
│   └── src/
│       ├── main/pascal/          uLexer, uParser, uAST, uCodeGenQBE, ...
│       └── test/pascal/          FPTest test suite for compiler units
│
├── rtl/                          Runtime library (packaging=library)
│   ├── project.xml
│   └── src/
│       ├── main/pascal/          System.pas, SysUtils.pas, Classes.pas, ...
│       └── test/pascal/          FPTest test suite for RTL units
│
├── tools/
│   └── migration-analyser/       FPC/Delphi migration report tool (packaging=application)
│       ├── project.xml           depends on compiler module
│       └── src/
│           ├── main/pascal/
│           └── test/pascal/
│
├── vendor/qbe/                   Vendored QBE backend source (pinned, built from source)
└── docs/                         Design documents and specifications

PasBuild compiles each module to its own target/ subdirectory. Build output is never committed to the repository.

  • Free Pascal Compiler 3.2.2 or later (stable; 3.3.x development snapshots are not required)

  • PasBuild

  • A C compiler (gcc or clang) for building the vendored QBE backend

  • GNU ld or lld (Linux); ld (macOS)

PasBuild resolves the module dependency order automatically and compiles rtl → compiler → tools/migration-analyser.

pasbuild compile -p debug      # includes -g -gl -Criot -gh
pasbuild compile -p release    # includes -O2 -CX -XX -Xs
pasbuild compile -m blaise-compiler

Once built, the compiler binary is at compiler/target/blaise.

# Compile a single file
compiler/target/blaise --source Hello.pas --output Hello

# Compile via project.xml
compiler/target/blaise --project project.xml --config debug --output myapp

# Emit QBE IR (useful for debugging the compiler itself)
compiler/target/blaise --source Hello.pas --emit-ir

Apache License v2.0 with Runtime Library Exception. See LICENSE.


Built with ❤️ for the Pascal community by Graeme.

About

A modern, self-hosting Object Pascal compiler built for the 2020s. Zero legacy, full ARC, and unified UTF-8.

Resources

License

Stars

Watchers

Forks

You can’t perform that action at this time.

[ad_2]
Source link

More on graemeg blaise modern self hosting object

Stay tuned for updates on graemeg blaise modern self hosting object as the story develops. Related: Mobile & Accessories.

Graemeg blaise a modern self hosting: Key Details Explained

graemeg/blaise: A modern, self-hosting Object Pascal compiler built for the 2020s. Zero legacy, full ARC, and unified UTF-8. · GitHub — let’s break down what actually matters here. This one stands out because it touches the things buyers care about most: performance, features, and value for money. If you’re comparing options right now, it’s worth keeping on your shortlist.

Looking at the bigger picture, this fits into a wider trend where brands compete harder with every release cycle. Expect more details to surface as things develop, including confirmed specifications and pricing from official sources.

Should You Keep Following This?

If you follow mobile tech closely, the answer is yes. Developments like this could influence your next purchase decision, so it’s worth tracking. Bookmark this page — we’ll keep the coverage fresh as the story evolves.

More updates on graemeg blaise a modern self hosting will follow as graemeg blaise a modern self hosting develops further.

Frequently Asked Questions

What is the Blaise compiler?

Blaise is a next-generation Object Pascal compiler built from the ground up to eliminate legacy baggage, prioritizing developer productivity, memory safety, and high-performance execution with one language mode, one UTF-8 string type, and full automatic reference counting.

How does Blaise differ from Delphi and Free Pascal?

Unlike Embarcadero Delphi (proprietary, Windows-first) and Free Pascal (five language modes, five string types), Blaise has one language mode with no mode switches, one UTF-8 reference-counted string type, no COM GUIDs, reified generics via compile-time monomorphization, and a modern PasBuild build system with project.xml.

Is the Blaise compiler self-hosting?

Yes. Blaise currently bootstraps and recompiles itself with byte-for-byte exact matches, and has over 1,200 tests developed with test-driven development from day one.

What backends does Blaise target?

Blaise currently uses a QBE backend targeting native code, with an LLVM backend in active development. Phase 5, covering self-hosting plus LLVM, Windows, and macOS ARM64, is in progress.

Views: 101

Post navigation

❮ Previous Post: One of Android’s best Apple Watch alternatives
Next Post: Nintendo is raising Switch 2 prices ❯

You may also like

Galaxy S23 owners say Samsung did them dirty by leaving out this feature in One UI 8.5 update
Blog
Galaxy S23 owners say Samsung did them dirty by leaving out this feature in One UI 8.5 update
May 25, 2026
Tech giant Oracle cuts 21,000 jobs as it embraces AI
Blog
Tech giant Oracle cuts 21,000 jobs as it embraces AI
June 23, 2026
Netflix is testing a new AI-powered voice search in the US
Blog
Netflix is testing a new AI-powered voice search in the US
May 8, 2026
Shade lands M to let creative teams search their video libraries in plain English
Blog
Shade lands $14M to let creative teams search their video libraries in plain English
April 23, 2026

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • OnePlus 16 Launch Date, Price, Specs: Everything Confirmed for 2026
  • Best 5G Phones 2026 for USA, UK & Europe (Every Budget)
  • Best Foldable Phones 2026: Z Fold 8 vs Pixel 11 Pro Fold vs Razr
  • Google Pixel 10 Review (2026): Still Worth $799?
  • iPhone 16 vs iPhone 17: Should You Upgrade in 2026? (Honest Answer)

Recent Comments

  1. I Hiked Using Robot Legs in the Grand Canyon. I Didn’t Even Need My Cane - Mobile & Accessories on Can Using the Hypershell Exoskeleton on a Bike Replace an E-Bike? I Tested It to Find Out
  2. The media starts receiving the first Trump Mobile T1 Phone units, launch is imminent - Mobile & Accessories on The Competitive Moat That AI Can’t Replicate
  3. Samsung’s giant The Frame Pro TV is $1,500 off until midnight - Mobile & Accessories on All Your Wearables Have One Glaring Weakness. What Can You Do About It?
  4. iPhone 18: Everything We Know About Apple's Most Ambitious Lineup Yet - Mobile & Accessories on This magnetic Qi 2.2 power bank is perfect for the iPhone 17 and it’s on sale right now
  5. Do Camera Sensor Sizes Matter? - Mobile & Accessories on Xiaomi 18 Pro set for a screen upgrade that Samsung fans will be very familiar with

Archives

  • October 2026
  • June 2026
  • May 2026
  • April 2026

Categories

  • Blog
  • Mobiles

Copyright © 2026 Mobile & Accessories.

Theme: Oceanly News by ScriptsTown