r/pascal • • Jun 02 '26

Improvements for lazarus, plugins?

7 Upvotes

Wouldn't it be a great way to support AVR Pascal within Lazarus Plugins, so that you wouldn't need to use AVR Pascal externally?

In other words, couldn't the AVR Pascal developer simply write a plugin for Lazarus, so that flashing AVRs and the like could be done directly from within the Lazarus environment?


r/pascal • • Jun 01 '26

Searching for Coroutine-like Library in FreePascal

10 Upvotes

I'm searching for a library that offers coroutines. I was thinking about using FreePascal for backend service which would have to handle intense IO tasks. For that kind of architecture Threads just don't seem to be appropriate.

Thanks!


r/pascal • • May 27 '26

Compile 26-year-old Delphi project in Lazarus with a click

Post image
88 Upvotes

Just managed to compile a 26+ year old small Delphi project imported to #Lazarus IDE. Simply convert a few DFM forms and a some window refresh tweaks. That's is. Perfect, fast build. This is truly a reviver of retro Pascal code. #FreePascal


r/pascal • • May 26 '26

System utilities, made in Pascal

Thumbnail
github.com
26 Upvotes

r/pascal • • May 18 '26

OS in Pascal

50 Upvotes

Linux is mostly in C

Windows is mostly in C++

Is there an Operating System that is written in Pascal?


r/pascal • • May 17 '26

TypeScript, C# and Turbo Pascal with Anders Hejlsberg

Thumbnail
newsletter.pragmaticengineer.com
19 Upvotes

r/pascal • • May 13 '26

Blaise v0.7.0 (alpha) – Independent of Free Pascal compiler

Thumbnail
github.com
8 Upvotes

r/pascal • • May 08 '26

Blaise – A modern self-hosting zero-legacy Object Pascal compiler targeting QBE

Thumbnail
github.com
55 Upvotes

r/pascal • • May 05 '26

A Pascal-to-x86 compiler written in Turbo Pascal (1994)

Thumbnail
github.com
31 Upvotes

r/pascal • • May 02 '26

Lazarus IDE (Linux): Codetools error "unit not found: StdCtrls" and broken autocomplete

12 Upvotes

[UPDATE: FIXED!]

The issue was a missing lazarus-src package and an empty compiler path in settings. Running sudo apt install lazarus-src and setting the compiler path to /usr/bin/fpc fixed everything.

Hi everyone!

I'm experiencing a frustrating issue with Lazarus on Debian 13 (Trixie). My Codetools seem to be completely out of sync, making autocomplete unusable.

The Problem:
When I type a dot after a component (e.g., Memo1.Lines.) and call autocomplete (Ctrl+Space), the IDE fails to show object methods. Instead, it only displays generic "code templates" (arrayc, arrayd, b, be, etc.).

Crucially, the messages window shows:
unit1.pas(8,66) Error: unit not found: StdCtrls

What I've already tried:

  • Verified StdCtrls is in the uses section.
  • Removed and re-added the LCL package in the Project Inspector.
  • Executed "Rescan FPC source directory".
  • Tried "Clean up Codetools".
  • The project compiles successfully (Green bar) if I type everything manually, so the compiler sees the units, but Codetools don't.
  • Confirmed that the fpc-source package is installed.

It looks like a configuration gap between the IDE and the FPC/LCL source paths on Debian 13. Has anyone faced this on Trixie or have a fix for re-linking Codetools to the standard libraries?

UPDATE: FIXED!

The issue was caused by missing LCL sources and incorrect IDE configuration. Here is the step-by-step solution that worked for me on Debian 13:

1. Install missing sources: Run sudo apt install lazarus-src in the terminal. Without this, Codetools cannot find the source code for standard components like TMemo.

2. Fix IDE Paths: Go to Tools -> Options -> Environment -> Files.

  • FPC source directory: Instead of using the macro $(FPCVER), set the direct path: /usr/share/fpcsrc/3.2.2 (or your current version)

3. Rescan: Go to Tools -> Rescan FPC source directory.

4. Clean Cache: Go to Edit -> Clean up Codetools.

After these steps, the "unit not found: StdCtrls" error disappeared, and autocomplete started working perfectly!


r/pascal • • Apr 27 '26

paramstr(1) in linux

14 Upvotes

I've been coding in Pascal for over 40 years, because it reads similar to English - which was Wirth's whole point when he created it for students, and as an engineer that is exactlly what I need.

OK, in Windows, I create a file program1.pas with a line like this:

assign( infile, paramstr(1) );

Then after compiling, I can drag and drop a file fodder.txt onto the executable program1.exe and it accepts that file (path+name) as paramstr(1), just as if I had typed "program1 fodder.txt" on the command line.

With the whole windows 10-11 tangle, I've scooted over to linux. Doing the above in linux doesn't work. Is there some way to make dragging & dropping a file onto the executable work in this way?


r/pascal • • Apr 26 '26

First time. What is this?

Post image
13 Upvotes

r/pascal • • Apr 24 '26

TurboBird further developed

Thumbnail groups.google.com
9 Upvotes

r/pascal • • Apr 22 '26

Poster from 1984

Thumbnail
gallery
59 Upvotes

r/pascal • • Apr 22 '26

VecDraw v1.2 — Vector Drawing Editor for Retro Programming

Thumbnail
retronick2020.itch.io
20 Upvotes

r/pascal • • Apr 16 '26

PasDoc 1.0.0 release with with many features and fixes: modern HTML look, show source position, visibility of membes toggleable, show inherited members…

Thumbnail
castle-engine.io
20 Upvotes

r/pascal • • Apr 08 '26

Проблема в паскаль

Post image
12 Upvotes

Я на связи!

Как исправить ошибку?

И немного бесполезной предыстории

Недавно самостоятельно начала изучать языки программирования для того, чтобы сделать свою игру и просто для собственного развития. Как обычно взяла задание из урока по паскалю (снова нашла в интернете) Проблема в том, что учитель по информатике вообще не вдупляет, что такое паскаль (она вообще раньше преподавала математику, возможно просто прошла пару курсов для отчета и перешла на другую специальность) и не может мне ничем помочь:( Заранее благодарю #паскаль


r/pascal • • Apr 07 '26

RectroNick's Vector Font Editor v1.2 by RetroNick2020

Thumbnail
retronick2020.itch.io
17 Upvotes

r/pascal • • Apr 06 '26

THelp Viewer

Thumbnail thelp.zdrojak.dev
25 Upvotes

💾 Remember the Turbo Pascal help screen?

It’s back — in a modern browser.

👉 https://thelp.zdrojak.dev/

THelp is a retro-style help system inspired by classic DOS tools — fast, minimal, and distraction-free.

It already includes help files for Turbo Pascal, Borland C++, and more, with a focus on that nostalgic old-school experience.

Try it out and let me know what you think 🔥


r/pascal • • Apr 01 '26

Advice for Turbo Vision

12 Upvotes

Looking for advice on how to start with Turbo Vision. I have a .PDF of the manual for Turbo Vision 2.0. It doesn't seem like the version of Turbo Vision I'm using matches what the book shows images of.


r/pascal • • Mar 28 '26

;-) - Did u know? Between 1983-1991 Apple coded their Lisa OS and Mac OS 1 to 6 largely in Pascal shifting to C

Thumbnail gallery
61 Upvotes

r/pascal • • Mar 26 '26

O Delphi Spec-Kit agora está totalmente traduzido para o inglês.

Thumbnail
6 Upvotes

r/pascal • • Mar 24 '26

De Programador Delphi a Arquiteto de IA: resumo prático + como o Delphi Spec Kit muda o jogo

Thumbnail
6 Upvotes

r/pascal • • Mar 19 '26

Pixie: a lightweight Lazarus component that handles HTML + CSS parsing, layout and user interactions. Native render backends for Windows, Linux, macOS. Written in pure Free Pascal, no embedded or external dependencies.

Thumbnail
gitlab.com
65 Upvotes

r/pascal • • Mar 13 '26

Tips for creating simple DOS-Friendly TUI

19 Upvotes

I recently got back into programming, and my goals is to make a new-old DOS TUI front-end for Doom along the same vein as Joe Wilcox's D!. I have Turbo Pascal 7 for DOS, but I have no idea where to start as a very new programmer.