søren peter mørch

Timeline

Recent posts from feeds followed by sorenpeter@darch.dk

prologic (twtxt.net)

I just completed "Lobby" - Day 3 - Advent of Code 2025 #AdventOfCode https://adventofcode.com/2025/day/3 -- Again, I'm doing this in mu, a Go(ish) / Python(ish) dynamic langugage that I had to design and build first which has very few builtins and only a handful of types (ints, no flots). 🤣

Read replies 11 months ago
prologic (twtxt.net)

@shinyoukai Funny you should say that, I designed a new Prolog(ish) Symbolic Reasoning Engine and DSl over the holidays 🤣

In reply to: #7utznxq 11 months ago
prologic (twtxt.net)

Let's see 😂

In reply to: #qtm4cqq 11 months ago
melyanna (tilde.club)

I am having a very chill Sunday morning, and I am happy about it!

Read replies 11 months ago
prologic (twtxt.net)

Did I mention mu only supports ints? 🤔 I'm not sure if I'll need flots for this year's AoC? 🤔

Read replies 11 months ago
prologic (twtxt.net)

I'm having to write my own functions like this in mu just to solve AoC puzzles :D

fn pow10(k) {
    p := 1
    i := 0
    while i < k {
        p = p * 10
        i = i + 1
    }
    return p
}
Read replies 11 months ago
prologic (twtxt.net)

I just completed "Gift Shop" - Day 2 - Advent of Code 2025 #AdventOfCode https://adventofcode.com/2025/day/2 -- But again, I'm solving this in my own language mu that I had to build first 🤣

Read replies 11 months ago
prologic (twtxt.net)

I just completed "Secret Entrance" - Day 1 - Advent of Code 2025 #AdventOfCode https://adventofcode.com/2025/day/1 --- However I did it in my own toy programming language called mu, which I had to build first 🤣

Read replies 11 months ago
prologic (twtxt.net)

That's the right answer! You are one gold star closer to decorating the North Pole. [Continue to Part Two]

Whoo! Making progress! With AoC 2025 solutions implemented in my own toy language 🤣

In reply to: #ruoopea 11 months ago
prologic (twtxt.net)

Ahh that's because I forgot to call main() at the end of the source file. mu is a bit of a dynamic programming language, mix of Go(ish) and Python(ish).

$ ./bin/mu examples/aoc2025/day1.mu 
Execution failed: undefined variable readline
In reply to: #ruoopea 11 months ago
Reply via email