Re:Show HN: The Taka Programming Language
by mgunyho on Wednesday December 03, 2025 @11:32AM
(#46136502)
Yep, I think in Taka the most confusing case is lists - writing
list [
1
2
3
]
creates the list [3 2 1]. (When indexing, the first item of the list is the one on top of the stack.) This has tripped me up several times.
Forward polish notation + multi-line programs is _weird_ though. It means you read tokens _right-to-left_ and then top to bottom. Readme gives good example in [0]:
The long form (same in Taka or Forth) of
is equivalent in Taka to (and both leave 5 on top of stack, and 4 underneath it)[0] https://codeberg.org/marton/taka#basic-syntax-and-execution