Remix.run Logo
kragen 2 days ago

No, Bitcoin Script is not Forth. Bitcoin Script is designed to guarantee termination, so no Turing-complete programming language was permitted. Like BPF, Bitcoin Script doesn't have subroutine definitions or backward jumps, so each opcode executes at most once.

This is like saying JSON is C++.

adastra22 2 days ago | parent [-]

It's more like saying JSON is Javascript, which it is to a degree.

kragen 2 days ago | parent [-]

I considered that analogy and consciously rejected it.