s/pascal

🐆 pascal and its successors. modula-2, oberon. ada has its own subspace now: /s/ada

xmpp: tmemorystream@texts.nil.am

🐙 Moderated by: norayr

🌒 Subspaces

📖 Help

❤️ Code of conduct

Sign up

Posts

🐙 norayr [mod]

ulmo 0.10.0 release — so there was this [https link] ulm's oberon system. i first tried it about 20 years ago. i liked it, because it was creating linux binaries that did not depend on c libraries. it was very slow, however, and required lots of memory. my computer with 32mb of ram (yes i was always poor) wasn't able to compile a helloworld. that wasn't what i was thinking proper oberon should be like. in part it was slow, as i recently confirmed, because the build process involved the db....

💬 3 comments · 2 likes · Mar 12 · 8 weeks ago

🚀 stack

Debian removes Free Pscal/Lazarus [https link]

💬 6 comments · Feb 28 · 2 months ago

🐙 norayr [mod]

wirth on language design by commitee — in that paper wirth tells the story of how he was a member of a committee that was working on the dosign of algol 68. he came up with suggestions that were rejected. therefore he decided to not only define his own algol dialect (algol-w) but also to implement a compiler for it. the quote is: Essentially, Algol W had extended Algol 60 with new data types representing double precision floating-point and complex numbers, with bit strings and with dynamic...

💬 1 comment · 2025-10-06 · 7 months ago

👽 TKurtBond

Opaque Types in Modula-2 — My knowledge of Modula-2 is limited to having read Programming in Modula-2 and having written a few toy programs. I'm a little confused about opaque types in Modula-2. They are mentioned in passing in Programming in Modula-2, 4E, Chapter 24, "Definition and Implementation Parts", on page 83. I thought that to make an opaque type, you declared a type in the definition module as [preformatted] and then in the implementation module you finish that declaration as [...

💬 4 comments · 1 like · 2024-12-24 · 1 year ago

🐙 norayr [mod]

how to link pascal and c code (static/shared/dynamic loading)

💬 1 comment · 2024-12-06 · 1 year ago

☯️ dragfyre

I learned Pascal in uni and haven't touched it in ages, but I'm thinking of picking it up again after reading how much less computation-expensive than, say, Python. Does anyone have any suggestions on good ways to get started again? Also, any thoughts about the virtues of Pascal vs. its related languages like, e.g. Ada?

💬 11 comments · 1 like · 2024-10-10 · 2 years ago

👽 TKurtBond

Has anybody looked at Oberon+? [https link] Oberon+ Sometimes I'm looking for something just a little bigger than Oberon-2, and I like some of the ideas from Oberon+, although I'm indifferent to the (optional) new syntax. In particular, the version of generics in Oberon+ looks attractive. There is an article on the approaches considered and the approach actually taken here: [https link] Considering Generics I'd like to never again have to write another linked list implementation just because...

💬 11 comments · 2024-10-03 · 2 years ago

🐙 norayr [mod]

tsoding in pascal

💬 View post · 2024-08-07 · 2 years ago

🐙 norayr [mod]

maemo comics reader app in pascal [gemini link] see this post in /s/maemo with screenshot and links.

💬 2 comments · 2024-07-14 · 2 years ago

🚂 MrSVCD

Pascal News 1974-1983 — I was browsing around on Bitsavers and found a Pascal Newsletter 1974-1983. [http link] I have yet to read any of it but it looks interesting from a historical perspective.

💬 3 likes · 2024-06-30 · 2 years ago

🍀 gritty

Since we're talking Pascal today, does anyone know a good way to persist objects to and from sqlite? Say, TDictionary? Also the documentation on JSON is not good. In Python, you just convert the dict to json and write to the db, then pull it out amd assign back to the dict. Easy. Delphi may have a solution but I'm using Free Pascal.

💬 1 comment · 2024-05-17 · 2 years ago

🚂 MrSVCD

Pascal and files. — I am looking for a guide to use text files in freepascal. I am looking to make a gemtext to html tool because it sounds like a good project. The link conversation is going to be a challenge but I am looking forward to it.

💬 10 comments · 1 like · 2024-05-17 · 2 years ago

🐙 norayr [mod]

chromatika — this is the source of my pascal app. i am writing it by using delphi community edition, because it is able to build same source for android and ios, also for windows and macos. the app has 4 hald cluts as resource files. those are taken from real film stocks. to apply hald clut i had to implement the algorithm, and only hald clut implementation took one week. at some point i was desperate, thought i cannot do it. so the 'presets' are chrome, warm, cold, landscape. those are...

💬 9 comments · 2024-05-12 · 2 years ago

🍀 gritty

I finally discovered Single Window mode for Lazarus and I like it quite a bit more.

💬 11 comments · 2024-05-10 · 2 years ago

🍀 gritty

If I pick up a delphi book, by say, Marco Cantu, will this help me with the non graphical portions of free pascal? I guess my driving question here is, should I bother reading up on Delphi, or will it confuse me since they may have diverged far enough away. I know there's Delphi mode in FPC, but I'd like to learn just one, and there's more documentation on Delphi.

💬 6 comments · 2024-04-27 · 2 years ago

🚀 eddos

Why did Wirth's languages never see widespread adoption besides Pascal? Even Pascal is not used much nowadays outside of Delphi and Lazarus. I tried Pascal myself and I found it to be a nice language structurally, but I also found it to be missing basic features that relate to writing the language itself (example: not being able to insert newlines into strings like you would do in C via '\n'). I also don't like how much "modern" Pascal is centered around just 2 compilers: FreePascal and...

💬 43 comments · 1 like · 2024-04-25 · 2 years ago

🐙 norayr [mod]

1992-06-27: Modula-3 Users' Group meeting report: part 4 of 4 (breakout sessions)

💬 View post · 2024-04-14 · 2 years ago · #modula-3

🍀 gritty

I've been enjoying using Pascal for my Farkle game, but one recent annoyance is timezones. On Linux I can't find a function that properly respects the local timezone of the machine. universaltolocal() doesn't work because tzoffset() is always 0. I just have to manually set the offset, but I feel like I shouldn't have to. Anyways, other than that, it's been fun.

💬 9 comments · 1 like · 2024-04-12 · 2 years ago

🐙 norayr [mod]

The costs and benefits of interfaces

💬 View post · 2024-04-11 · 2 years ago

🐙 norayr [mod]

Memory safety and Object Pascal

💬 1 comment · 1 like · 2024-04-10 · 2 years ago

🐙 norayr [mod]

is pascal a memory safe language?

💬 6 comments · 2024-03-25 · 2 years ago

🍀 gritty

anyone have a good guide for integrating sqlite3 without Lazarus or forms? I found a simple example but I wanted a bit of description on the units and their functions.

💬 1 comment · 1 like · 2024-02-27 · 2 years ago

🐙 norayr [mod]

packaging pascal for different operating systems. — in one of pascal projects i found a script to package for different operating systems: [https link] the script. even linus pointed it out in one of his q&a sessions that he doesn't know for which distribution his diving related software has to be packaged. and apparently it's possible to have some abstraction to package simultaneosly for different, not only distributions, but operating systems. i feel pascal software is not appreciated in...

💬 View post · 2024-02-23 · 2 years ago

🍀 gritty

so this subspace got me looking into pascal, and as a non professional programmer it's fairly easy to understand. I might make some of my CGI scripts with it in the future. edit: I figured out how to print a "20" line: writeLn('20 text/gemini; charset=utf-8'#13#10);

💬 2 comments · 2 likes · 2024-02-17 · 2 years ago

🐙 norayr [mod]

write palmos software with freepascal

💬 1 like · 2024-02-16 · 2 years ago

Next page

Page 1 of 2

Options

🗣️ Sort by activity

🔥 Sort by hotness

Gemini feed

Atom feed