Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

For #DecemberAdventure today, I'm porting a bit of #Pascal to #Uxntal

Uncategorized
1 1 10

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • I've been musing on #OOP style.

    Uncategorized oop pascal objectpascal
    5
    0 Votes
    5 Posts
    13 Views
    @thelastpsion - I don't know Pascal, but in Python you have static and class methods which can be used for this sort of thing.Python conventions do encourage using plain methods rather than making everything a class by default though. You could maybe extract an inner module (rather than an inner class) if you had several such methods and wanted to encapsulate them from the rest of the class.
  • 0 Votes
    6 Posts
    22 Views
    Day 17: A violent storm tossed us around all night and kept us up, so I'm going kick back today and take it easy.I did write a tiny bit of code after breakfast to fix a bug that has been nagging me for a while. Ever since I've decided to embrace macros in Uxntal, I never got around to reflect this change in all the tooling, and the optimizer has been complaining about tail-calls with macros eversince. For example, a macro name terminating a function fall, was read as a subroutine, so the optimizer was raising a warning. But, NO MORE!https://rabbits.srht.site/decadv/#DecemberAdventure
  • 0 Votes
    1 Posts
    4 Views
    #decemberAdventure day 4: I wrote an ilo implementation in Oberon (for obcn). The code is in the repository and the adventure log is at https://charles.childe.rs/DA2025/Tomorrow I'll be attempting to do one in Smalltalk.I've also used a bit of awk to clean up the log formatting (which are extracted from my blocks under my konilo system) for improved readability.
  • 0 Votes
    10 Posts
    28 Views
    Day 10: I was given some really awful, but intense, pre-workout this morning, and the jitteriness hasn't really left yet, I bounced between things all day. I've improved SunflowerBASIC so that it handles theme files better, I added a 80 columns marker to Left to see how wide the paragraphs are at a glance, I spent some time setting up ScummVM, so Rek and I can play The Neverhood over the holidays. I also played with Spirographs and did some proof-reading for the Victoria-Sitka Logbook.https://rabbits.srht.site/decadv/#DecemberAdventure