this post was submitted on 30 Nov 2023
7 points (81.8% liked)

Concatenative Programming

189 readers
1 users here now

Hello!

This space is for sharing news, experiences, announcements, questions, showcases, etc. regarding concatenative programming concepts and tools.

We'll also take any programming described as:


From Wikipedia:

A concatenative programming language is a point-free computer programming language in which all expressions denote functions, and the juxtaposition of expressions denotes function composition. Concatenative programming replaces function application, which is common in other programming styles, with function composition as the default way to build subroutines.

For example, a sequence of operations in an applicative language like the following:

y = foo(x)
z = bar(y)
w = baz(z)

...is written in a concatenative language as a sequence of functions:

x foo bar baz


Active Languages

Let me know if I've got any of these misplaced!

Primarily Concatenative

Concatenative-ish, Chain-y, Pipe-y, Uniform Function Call Syntax, etc.


Cheat Sheets & Tutorials

Discord

IRC

Wikis

Wikipedia Topics

Subreddits

GitHub Topics

Blogs

Practice

founded 2 years ago
MODERATORS
 

It's just about time! Huzzah!

I'll collect links and resources here:

I'll probably only last the first few days, optimistically a week, but plan on submitting my solutions in Factor to the AoC community, and I'll link any of those here in the comments.

silly dino picture 1

silly dino picture 2

silly dino picture 3

silly dino picture 4

all 36 comments
sorted by: hot top controversial new old
[–] Andy@programming.dev 1 points 2 years ago (1 children)

Day 05 (Factor)

[–] Kacarott@feddit.de 2 points 2 years ago

This one took me a bit of debugging, but here it is (Factor)

[–] Andy@programming.dev 1 points 2 years ago* (last edited 2 years ago) (2 children)
[–] Andy@programming.dev 1 points 2 years ago

Day 06 (Uiua), by /u/mykl@lemmy.world

[–] Andy@programming.dev 1 points 2 years ago (8 children)
[–] Kacarott@feddit.de 2 points 2 years ago

I'm a bit behind, but here is my Day 1 (Factor)

[–] Andy@programming.dev 1 points 2 years ago

Day 01 (Forth), by reddit user alexw02

[–] Andy@programming.dev 1 points 2 years ago

Day 01 (Uiua), by reddit user purcell

[–] Andy@programming.dev 1 points 2 years ago* (last edited 2 years ago)

Day 01 (Uiua), by reddit user MrDiviner

[–] Andy@programming.dev 1 points 2 years ago

Day 01 (Uiua), by reddit user red2awn

[–] Andy@programming.dev 1 points 2 years ago

Day 01 (Uiua), by reddit user chubbc

[–] Andy@programming.dev 1 points 2 years ago

Day 01 (Uiua), by reddit user HuntTheWumpus

[–] Andy@programming.dev 1 points 2 years ago

Day 01 (Uiua), by /u/mykl@lemmy.world

[–] Andy@programming.dev 1 points 2 years ago* (last edited 2 years ago)

Day 07 (Factor)

  • It works, but I'm not clever so:
    • ~~part 2 is slow~~
    • ~~part2 duplicates stuff from part1~~
    • you can see some changes in the git history
  • on github
  • on programming.dev
[–] Andy@programming.dev 1 points 2 years ago (8 children)
[–] Kacarott@feddit.de 2 points 2 years ago* (last edited 2 years ago)

My day 2 (Factor)

Was a nice chance to use Factor's great peg.ebnf parsing tools.

[–] Andy@programming.dev 1 points 2 years ago

Day 02 (Forth), by reddit user clyne0

[–] Andy@programming.dev 1 points 2 years ago

Day 02 (Uiua), by reddit user purcell

[–] Andy@programming.dev 1 points 2 years ago

Day 02 (Forth), by reddit user alexw02

[–] Andy@programming.dev 1 points 2 years ago

Day 02 (Uiua), by reddit user Andreasnl

[–] Andy@programming.dev 1 points 2 years ago* (last edited 2 years ago)

Day 02 (Uiua), by reddit user chubbc

[–] Andy@programming.dev 1 points 2 years ago

Day 02 (Uiua), by reddit user uiualover

[–] Andy@programming.dev 1 points 2 years ago

Day 02 (Uiua), by /u/mykl@lemmy.world

[–] Andy@programming.dev 1 points 2 years ago (4 children)
[–] Andy@programming.dev 1 points 2 years ago

Day 03 (Forth), by reddit user clyne0

[–] Andy@programming.dev 1 points 2 years ago

Day 03 (Uiua), by reddit user uiualover

[–] Andy@programming.dev 1 points 2 years ago

Day 03 (Uiua), by reddit user chubbc

[–] Andy@programming.dev 1 points 2 years ago (5 children)
[–] Andy@programming.dev 2 points 2 years ago* (last edited 2 years ago)

Day 04 (Uiua), by /u/mykl@lemmy.world

[–] Andy@programming.dev 1 points 2 years ago

Day 04 (Uiua), by reddit user purcell

[–] Andy@programming.dev 1 points 2 years ago

Day 04 (Forth), by reddit user clyne0

[–] Andy@programming.dev 1 points 2 years ago

Day 04 (Uiua), by reddit user red2awn