Skip to content

Instantly share code, notes, and snippets.

View jhlagado's full-sized avatar
💭
Thinking lambdas

John Hardy jhlagado

💭
Thinking lambdas
View GitHub Profile
@jhlagado
jhlagado / combinators.forth
Created April 13, 2021 23:53 — forked from crcx/combinators.forth
Port of Retro's combinator implementations to Forth. This also has a gForth implementation of quotations from Alexander Skobelev.
\ This is an implementation of quotations and some combinators
\ for use with Forth. The combinators should work with most
\ Forth systems; the quotation implementation here is gForth
\ specific.
\ ************************************************************
\ dip
\ Stack: value quote -- value
\ Executes a quotation with a value being temporarily removed