guitarvydas
11/17/2026, 9:57 PMGuyren Howe
11/22/2026, 10:01 AMguitarvydas
11/22/2026, 1:42 PMAre there examples of concatenative languages that don’t use a stack?I was pointed to Om, Enchilada, Deque, Joy, and state transforming languages like UNIX pipes, Brainf...ck, etc. And a thread on HN And a thread on reddit I then asked about electronics and got an affirmative response. aside: I think that electronic schematics most accurately model asynchronous reality, but need a facelift (like recursive definitions of ICs as readable schematics themselves). observation: the “power” of Forth goes deeper than just the stack, the functional paradigm causes deep, hidden coupling (of control flow) when mapped onto hardware which requires the use of (complicated, preemptive) operating systems to decouple (by converting functions into state machines); Forth doesn’t cause this issue and makes it possible to break free from using an operating system (I suspect that other concatenative languages lead to this, also, but I’ve only explored schematic-y ideas (like PBP))
wtaysom
11/24/2026, 3:15 AM: motion ( mass velocity -- momentum kinetic-energy )
tuck * tuck * 2 / ;
Then you might have an expansion like:
mass velocity motion
→ mass velocity tuck * tuck * 2 /
→ velocity mass velocity * tuck * 2 /
→ velocity ⟨mass velocity *⟩ tuck * 2 /
→ ⟨mass velocity *⟩ velocity ⟨mass velocity *⟩ * 2 /
→ ⟨mass velocity *⟩ ⟨velocity ⟨mass velocity *⟩ *⟩ 2 /
→ ⟨mass velocity *⟩ ⟨⟨velocity ⟨mass velocity *⟩ *⟩ 2 /⟩
The brackets are just clarity. Showing sub-terms that group together but won’t reduce further.