Brian Jorgensen's Avatar

Brian Jorgensen

@nomfish

7
Followers
14
Following
9
Posts
21.11.2024
Joined
Posts Following

Latest posts by Brian Jorgensen @nomfish

Post image

Komrad is almost explicitly designed for literate FizzBuzz solutions. It doesn't have loops or control flow built-in to the core, but you can build any kind of loop or control flow with pattern matching.

16.03.2025 11:43 👍 0 🔁 0 💬 0 📌 0
Post image

There is a syntax error in my example source lol. The attached is valid komrad code.I had moved the declaration of the Tera template instantiation and not checked if it still worked 😛

14.03.2025 04:27 👍 0 🔁 0 💬 0 📌 0
Post image Post image

The link is not real yet, but I also implemented an HttpListener this week! So now it can be lol. This is based on warp and tokio #rust

You `spawn HttpListener { port=8080; delegate=me }` and then pattern match on `[http _request GET "users" _user] {...}` in your `agent`. This will be opensource.

14.03.2025 04:23 👍 1 🔁 0 💬 1 📌 0

Wondering if the name of my programming language has a connotation to people. #komrad-lang is something I came up with like 20 years ago... more Simpsons and Yakov Smirnov than anything relevant now. Radical communication and the idea of friends, lol.

Crap, I wonder if anyone thinks it's otherwise.

14.03.2025 04:15 👍 0 🔁 0 💬 0 📌 0

Ok, I am aware this is a _soft_ quine, lol. Or whatever the technical term is. It's sort of cheating to just read and print. But I meant more like... I am excited that I did an end-to-end IO test 😊

14.03.2025 04:06 👍 0 🔁 0 💬 0 📌 0
Post image

A quine in #komrad-lang 😍

The standard libary and all of the keywords are implemented as agents in a message passing system. `Fs read-all`, `spawn HttpListener` and `agent Alice {}` are all messages to another agent.

To make a quine, that means I've implemented `Io` and `Fs`. And a banner 😜 #rust

14.03.2025 04:03 👍 0 🔁 0 💬 1 📌 0
Post image [if _(true) _{branch}] {
    *branch
}

[if _(true) _{branch}] { *branch }

#komrad is a programing language and async runtime I'm working on, based on #rust and #tokio. I'm currently writing an interpreter. Goal is to compile to rust, and I've had some success with that.

This hello world was a pretty big step forward in the implementation of the runtime!

06.03.2025 00:39 👍 1 🔁 0 💬 0 📌 0
Post image

I redid the whole thing in #golang. I love the actor model, but no one is doing it besides #elixir... and #go... and #tokio. Ok I guess everyone is doing it except #python ;p

The actor model is so old that it hasn't been perfected yet.

26.01.2025 05:33 👍 0 🔁 0 💬 0 📌 0
Post image

My metadesktop from the retrofuture!

Imagine if #win95 had been based on #erlang ❤️‍🔥 #smalltalk, then enhanced with crates.io and GPU powers.

I'm making a multiplayer, agentic, desktop environment. It's a distributed CAS, CMS, and nostalgia toy! #rust, #tokio, warp & wry/tao.

#komrad 🔥 #fat33

30.12.2024 04:03 👍 3 🔁 0 💬 0 📌 0