StackTalk is a programming language inspired by Io, SmallTalk, Factor, Mirth and Nova. It pulls a sort of flexible Object Orientation from Io, Smalltalk and Ruby; quotations from Factor and Joy and multistacks from Mirth and Nova. It also owes a great deal to and.null, especially its article on non-lexical bindings, but also a lot of conversations about prototypical langauges, multistacks, and (sometimes re)-introductions to Io and Mirth
It can look like this:
File .[
"stvm.js" "playground/stvm.js" copy
"deps/fflate.js" "playground/fflate.js" copy
]or this:
%w[ h2 h3 h4 p ul ol li code ] each[ dup fry[ _ tag ] fn ]or this:
quadratic: [ a b c -- solution1 solution2 ] func[
>c >b >a
a a + >2a
b neg >-b
b b> * a> 4 * c> * - >discriminant
-b discriminant sqrt + 2a div
-b> discriminant sqrt - 2a> div
]