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 fryn[ _ tag ] ]Try in playground!or this:
quadratic: fn[ let[ a b c ]
a a + let[ 2a ]
b neg let[ -b ]
b b * a 4 * c * - let[ discriminant ]
-b discriminant sqrt + 2a div
-b discriminant sqrt - 2a div
]Try in playground!