December Adventure 2026

Wow, it's here. So I actually skipped last year's December Adventure, can't remember why. This time I have some ideas.

Day 1

I have a couple things in mind this month. I think the easiest thing is putting a little work into this website. I had an idea about using gforth to write an org to html kind of thing. Basically a website generator in Forth, so I can just stay in Org Mode and focus on the content I'm writing. I may still do that, but in the mean time I don't want to procrastinate on actually updating the website.

I already made a page for what I've read in 2026. I want to flesh that out with some pictures of the books I actually own, and maybe some links. Next year, there will be a general "Book Zone" landing page and a link for my 2026 & 2027 reads pages.

The two biggest website related projects I have are for my mazes and my music. I need to create archives of my art, along with writings about them. I don't see any of that happening this month, to be honest. Instead I'd like to make a post summarizing my recent adventures with Forth, and maybe a post about my cool little graveyard of projects from the last year or two.

The project I'm currently most excited about is:

PEBL: Professional Enterprise Business Language

With a name this stupid, somebody's probably already taken it. I haven't googled it, though. As far as today goes, I haven't actually touched it, but in recent days I've been writing the beginnings of an interpreter. I think, as motivation, today I'll just kind of ramble here about what I want to create.

From lurking the concatenative and Nouveau servers, I've absorbed some ideas about multi-stack languages. The issue I have is that I like Rust, and laying out all of my structs and enums and then plugging them together. But, writing a type system is hard. Some comments people have made about multiple stacks functioning as a type system got me thinking, and I figure that maybe it I have a stack per type, and stack effect checking (which I'm assuming is easier to implement than normal type checking, but idk), I'd basically have a functioning typed concatenative language.

To make this a little more ergonomic, I've gone with the idea of a Stack Stack/Type Stack. When you write the name of a type, it's pushed to this stack. When a function returns a type, that type is pushed to this stack. Then any time you call a function, the compiler/interpreter/whatever checks this stack to figure out which type you mean. This is because you could have different functions of the same name that work on different types (instead of having methods). The idea is to keep it simple, but get the same functionality you might get from a complicated language like Rust. Still not sure what I want to do about generics.

A couple other fun ideas about the language. I've arbitrarily decided: No Variables. No being like, "Oh lemme get an adress and give it some ! and then later I'll go @ and how about I allot some cells." Hell no, we're only doing stacks. There will be data structures, still, so you can have a Vec or a Hash Map or whatever. So let's say you have a Vec(String). The pointer to that Vec lives on the Vec(String) stack, along with any others. If that pointer is ever NOT on the stack, bye bye, the heap memory is deallocated. It's memory management using only stacks! Maybe that's a cool idea?

Part of this is, I guess, an expectation that the compiler will be smart and not deep copy all your stuff every time you dup something. I can't really be expected to implement that any time soon. But that's not going to stop me from trying it anyway.

I also want to create a generic Mystery type. Like, I want this language to have explicit type signatures that tell you what they return. But, I also want you to be able to be like "idk what this going to return" and have it not really be a big deal. So the Mystery type is a struct that holds whatever value you want, and the type name. That way you can always look at the type name and know which stack to put it on. I'm ignorant af about type theory, but I don't see why this shouldn't work, so I guess I'll try it.

Finally, the syntax. My first little design document had kind of Rust/Gleam inspired syntax. Then I thought about trying to make it exactly like Forth, except for where it had to be different. And now, I've been working on a new, stupider syntax. The idea actually came from my time coding in Forth. I kept trying to write "new grid" instead of "new-grid" and stuff like that. I was thinking: why can't I have a language where I don't have to keep hitting all these distant buttons like - and _ and () and stuff. So my idea was born:

You can put spaces in function and type names. Names are separated with line breaks, commas, periods, and colons.

I'm still working on the finer details, and it may end up being wildly annoying. I just figure it will be fun.

So yeah. I guess I'll post this and continue working on the actual thing tomorrow? Idk, I might be too tired. I was digging a trench with a shovel today at work. It's not deep enough so I gotta give it another pass tomorrow. Maybe I'll have some energy left over, maybe not 😅