r/concatenative • • Feb 04 '18

Iterating towards v1.0

Thumbnail
github.com
1 Upvotes

r/concatenative • • Mar 15 '26

How I (didn't) build a web interface for my toy concatinative language in a weekend

2 Upvotes

TL;DR; My toy concatinative language (F♭m) now has a web interface: https://hypercubed.github.io/f-flat-minor/

Longer story: f-flat-minor (F♭m for short) is my toy langauge that I jump back to whenever I want to learn something new (a new language, runtime, or tooling). I've built interpretors in deno (TypeScript), go, python, Haskell, WASM (wat) and more.

This weekend I decided to try some agentic porgraming. First issue was the bit-rot. The deno implementation I had no longer ran due to the age of the runtime I originally used (Python and Go worked right away BTW). So I asked LLMs (plural, jumped bewteen a few) to update it it. Soon I had not only deno running with the latest version but also a node implementation that shared a TypeScript core.

Why stop there? With the TypeScript core seperate from the deno implementation I asked LLMs to build a web interface. It truned out much better than I expected. I expected a simple page with an input and output textbox. But it gave me a full compiler/interpreter with a virtual file system as well as IR and bytecode output! Pretty amazing; please check it out if you're interested.

I can give more details on the process if anyone asks; but basically I jumped between diferent agent tools both in and outside of VSCode and used many different models. It's not surprose that Claude and Codex did the best.

As a bonus I'm now asking Codex to solve a couple of Project Euler problems. Codex is doing pretty well where other LLMs have failed.

Thought I'd share.


r/concatenative • • Jul 24 '15

Informal, 'Natural' Concatenativity

2 Upvotes

I have started reading, and very much enJoying, all discussions about mathematical and formal bases. Thanks very much to all. I come from a more informal, biological bent (along with 30+ years of Forth programming). Nature is a realm of computation and evolution on a quite literally unimaginable scale. Math is one of the tools that enables a vastly simplified model of reality to be held in a 3-pound hominin brain. Here are two fairly recent posts:

Concatenative Biology http://www.scidata.ca/?p=598

Forth: A Syntonic Language http://www.scidata.ca/?p=895


r/concatenative • • Aug 05 '18

Notation for construction collection types

2 Upvotes

I've been working on my own "modernized Forth" for some time. And I've been stuck trying to decide the best approach to constructing collection types.

On one hand the obvious approach seems to be to create an array, the notation for that is:

[ 1 2 3 ]

And then call a constructor, e.g.

[ 1 2 3 ] create-linked-list

But this has the downside of creating an intermediary array object, which is inefficient.

So then it seems like I need to create a defining word instead to proceed the elements, e.g.

linked-list[ 1 2 3 ]

But this looks so "functional" and not concatinative. It bugs me.

So then I think, I could still use the first approach, but have the interpreter/compiler look ahead one stack operation and basically convert to the later approach under-the-hood. But that seems overly complicated.

So I am just looking for thoughts/feedback on notation and efficient implementation.

Thanks.


r/concatenative • • Oct 12 '23

"Concatenative programming and stack-based languages" by Douglas Creager

14 Upvotes

A presentation at the Strange Loop Conference on "Concatenative programming and stack-based languages" by Douglas Creager: https://www.youtube.com/watch?v=umSuLpjFUf8

 


r/concatenative • • Feb 18 '25

Equinox, a Forth Dialect for Retro GameDev

Thumbnail
github.com
14 Upvotes

r/concatenative • • Feb 12 '25

Advanced Typechecking for Stack-Based Languages

Thumbnail ryanbrewer.dev
13 Upvotes

r/concatenative • • Nov 20 '24

Yet another concatenative language - BUND

13 Upvotes

The BUND language is considered "yet another concatenative language," but it stands out in its design from many of its counterparts. First, it necessitates additional effort to define and restrict data context by utilizing both named and anonymous stacks. Furthermore, it introduces the concept of an isolated execution environment that is closely managed by the programmer.

https://crates.io/crates/bund


r/concatenative • • Jun 20 '24

First time I found a reference to Joy in the wild

15 Upvotes

I was visiting a building of a large IT company and noted that they named the meeting rooms after programming languages. These did not only include Lisp, XSLT and Plankalkül, but also Joy. As concatenative languages are often seen as really obscure, this made me happy. Seems we're no more obscure than Plankalkül now!


r/concatenative • • Jan 30 '25

Blang Concatenative, Stack-Oriented Programming Language for Computers

18 Upvotes

r/concatenative • • 9d ago

Using LEAN to prove your language

2 Upvotes

Wondering if anyone has used LEAN (or similar) to validate their stack language?


r/concatenative • • Jun 10 '25

The George programming language

Thumbnail reddit.com
8 Upvotes

r/concatenative • • Apr 19 '26

Concatenative Tracer Viewer

3 Upvotes

Building out a VSCode trace viewer for my toy concatenative language.


r/concatenative • • Jun 12 '25

Generic Type Syntax in Concatenative Languages

Thumbnail reddit.com
6 Upvotes

r/concatenative • • Jan 17 '25

How to make lambda functions dynamically in BUND

2 Upvotes

r/concatenative • • Jan 16 '25

Bund - stack-based language. Some samples

Thumbnail
gallery
9 Upvotes

r/concatenative • • Dec 14 '24

Introducing hex

Thumbnail hex.2c.fyi
16 Upvotes

I just released the first version of "hex"! A tiny, minimalist, "slightly-esoteric" concatenative programming language. Its syntax is inspired by another project of mine (min), but it is VERY minimalist and yet hopefully still fun to play with.

The site includes a short specification, a tutorial, a WASM-powered REPL playground, and the language itself is meant to be run (almost) anywhere.

The (deliberate) quirks are the following:

  • Support for 32bit integers in hex format only (and no floats), strings, and quotations.

  • Support for 0x40 (64) native symbols, and also user-defined symbols, but they are always global.

Overall it's meant to be really simple to implement and learn.


r/concatenative • • Oct 30 '24

Joy of Postfix Calculator App on Concatenative.org

Post image
6 Upvotes

r/concatenative • • Sep 11 '23

Wak, a stack-based text-processing language

Thumbnail self.programminglanguages
9 Upvotes

r/concatenative • • Sep 20 '23

Does anyone know anything about this book? And So FORTH by Timothy Huang

Post image
5 Upvotes

r/concatenative • • Sep 10 '23

Concatenative Discord

Thumbnail discord.gg
4 Upvotes

r/concatenative • • Sep 28 '23

Uiua! A New Stack-Oriented Array Language!

Thumbnail
youtube.com
18 Upvotes

r/concatenative • • Sep 07 '17

Async IO with Fibers

Thumbnail
github.com
4 Upvotes

r/concatenative • • Apr 11 '17

Lately in Kitten #2: Closures, Boxing, Permissions, and Assumptions

Thumbnail evincarofautumn.blogspot.com
6 Upvotes