Tinscript is a very small scripting language and basic calculator. Currently, the basic calculations work, but the rest is in various states of “sorta working”
Tinscript two main concepts: Strings (which can be barewords, “quoted strings”, or [bracketed]), and commands, which are specific strings that either have been defined using def, or have been defined in JS.
1 2 + def add + def [midpoint x y x1 y1] [y1 set x1 set y set x set x1 get x get + 2 / y1 get y get + 2 / ]
It’s based on RPN, so 1 2 + results in a stack that has 3 on it.
If you want to create your own stack affecting words, then using def (a compiling word)