Stem, a stack-based language with metaprogramming and a C FLI

Stem is a simple and interpreted concatenative programming language with a foreign language interface (FLI) and metaprogramming capabilities. In this guide, the author explains the syntax and programming process in Stem, as well as how to add new functions and objects using the foreign language interface. The language stores information on a stack, with literals such as strings, numbers, and quotes being stored on the stack. Words in Stem add meaning and allow for operations to be performed on the data stored on the stack. The author also introduces predefined words and demonstrates basic math, comparison, and logical operations. Additionally, the concept of metaprogramming and recursion is explored, allowing for more complex code execution and decision-making.

https://ret2pop.nullring.xyz/blog/stem.html

To top