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

Concatenative Programming

143 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 1 year 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 1 points 9 months ago (1 children)

Day 05 (Factor)

[–] [email protected] 2 points 9 months ago

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

[–] Andy 1 points 9 months ago* (last edited 9 months ago) (2 children)
[–] Andy 1 points 9 months ago* (last edited 9 months 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 1 points 9 months ago (8 children)
[–] [email protected] 2 points 9 months ago

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

[–] Andy 1 points 9 months ago
[–] Andy 1 points 9 months ago

Day 01 (Forth), by reddit user alexw02

[–] Andy 1 points 9 months ago* (last edited 9 months ago)

Day 01 (Uiua), by reddit user MrDiviner

[–] Andy 1 points 9 months ago

Day 01 (Uiua), by reddit user chubbc

[–] Andy 1 points 9 months ago

Day 01 (Uiua), by reddit user purcell

[–] Andy 1 points 9 months ago

Day 01 (Uiua), by reddit user red2awn

[–] Andy 1 points 9 months ago

Day 01 (Uiua), by reddit user HuntTheWumpus

[–] Andy 1 points 9 months ago (8 children)
[–] [email protected] 2 points 9 months ago* (last edited 9 months ago)

My day 2 (Factor)

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

[–] Andy 1 points 9 months ago

Day 02 (Forth), by reddit user clyne0

[–] Andy 1 points 9 months ago

Day 02 (Forth), by reddit user alexw02

[–] Andy 1 points 9 months ago

Day 02 (Uiua), by reddit user Andreasnl

[–] Andy 1 points 9 months ago

Day 02 (Uiua), by reddit user purcell

[–] Andy 1 points 9 months ago* (last edited 9 months ago)

Day 02 (Uiua), by reddit user chubbc

[–] Andy 1 points 9 months ago

Day 02 (Uiua), by reddit user uiualover

[–] Andy 1 points 9 months ago
[–] Andy 1 points 9 months ago (4 children)
[–] Andy 1 points 9 months ago

Day 03 (Forth), by reddit user clyne0

[–] Andy 1 points 9 months ago

Day 03 (Uiua), by reddit user uiualover

[–] Andy 1 points 9 months ago

Day 03 (Uiua), by reddit user chubbc

[–] Andy 1 points 9 months ago (5 children)
[–] Andy 2 points 9 months ago* (last edited 9 months ago)
[–] Andy 1 points 9 months ago

Day 04 (Uiua), by reddit user purcell

[–] Andy 1 points 9 months ago

Day 04 (Uiua), by reddit user red2awn

[–] Andy 1 points 9 months ago

Day 04 (Forth), by reddit user clyne0