ForthHub/discussion

@thi.ng/pointfree - forth style env for pointfree functional composition in JS

Opened this issue · 3 comments

This is admittedly more of a North than Forth, but still thought some others might be interested in this project:

https://github.com/thi-ng/umbrella/tree/master/packages/pointfree

Pointfree, functional composition via lightweight (1.8KB gzipped) Forth style stack execution engine using vanilla JS functions as words and arbitrary stack values (incl. other stack functions / words). Supports nested execution environments and currently includes approx. 50 stack operators, conditionals, looping constructs, math & logic ops etc.

Originally, this project started out as precursor of the Charlie Forth VM/REPL (JS) (e.g. livecoding videos: WebAudio, WebGL) and later @thi.ng/synstack (C11), but has since been refactored to be more generally useful as environment for building data processing pipelines in a pointfree / concatenative programming style rather than acting as fullblown VM."

I personally see it as a kind of Forth-on-demand approach as part of a larger/generally more functional approach. I'd also point out that this particular version is currently still in alpha and is missing some crucial parts to make it more live up to its full potential (there's a list in the project readme).

cwpjr commented
cwpjr commented