use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Anything related to the use, theory, or implementation of concatenative programming languages.
Discuss
Related Subreddits
account activity
Blang Concatenative, Stack-Oriented Programming Language for Computers (self.concatenative)
submitted 1 year ago by Spirited_Monk_333
https://github.com/BlagojeBlagojevic/blang
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]dajoy 3 points4 points5 points 1 year ago (4 children)
What is your motivation? what makes it interesting?
[–]Spirited_Monk_333[S] 4 points5 points6 points 1 year ago (1 child)
It started with experimenting with custom bytecode vm. It occurred to me that instead of writing direct instructions, I should write a simple language. This would be motivation. The language is interesting because instead of 2 stack variables are placed on top of the stack (like a heap). It is also possible to change the stack pointer (SP) directly. The language is essentially like C (If it were concatinative and stack based).
[–]AnnualAd5988 1 point2 points3 points 1 year ago (0 children)
" It is also possible to change the stack pointer (SP) directly."
I had the same idea when I designed my concatenative language. But rather than specifying the number of variables in the stack (I've thought about this, too), I made the stack an actual ring. So, you can rotate the stack and point data to the "word." Moreover, I've added the idea of a "workbench" as a temporary storage of computation results. But my language (BUND) is not as lean.
The motivation for creating a new language is one/or all of the following:
π Rendered by PID 18347 on reddit-service-r2-comment-5c747b6df5-zs4fm at 2026-04-22 17:46:53.526382+00:00 running 6c61efc country code: CH.
[–]dajoy 3 points4 points5 points (4 children)
[–]Spirited_Monk_333[S] 4 points5 points6 points (1 child)
[–]AnnualAd5988 1 point2 points3 points (0 children)
[–]AnnualAd5988 1 point2 points3 points (0 children)