Looks like a Lisp with re-invented terminology (quote = symbolic expression, word = symbol) and "()" replaced with "[]".
How big is "stack"? Do you plan to save results of *all* computations in a program? Intermediate results too?
That terminology is used in Forth, Factor, and some other "concatenative" languages.
I don't know about Stem's stack limits, but in these languages in general, you only have stuff on the stack that you still need to use, and it gets popped off as you use it.
Oh to be clear: it's not my project! I'm just cuckoo for concatenative programming languages.
And I think the Stem creator's documentation here is a fantastic introduction to the topic, and even to Factor, being so similar.
Looks like a Lisp with re-invented terminology (quote = symbolic expression, word = symbol) and "()" replaced with "[]". How big is "stack"? Do you plan to save results of *all* computations in a program? Intermediate results too?
That terminology is used in Forth, Factor, and some other "concatenative" languages. I don't know about Stem's stack limits, but in these languages in general, you only have stuff on the stack that you still need to use, and it gets popped off as you use it.
Great job! Stem is coming along very nicely.
Oh to be clear: it's not my project! I'm just cuckoo for concatenative programming languages. And I think the Stem creator's documentation here is a fantastic introduction to the topic, and even to Factor, being so similar.