Deputy Sheriff The Viking Programmer – Telegram
Deputy Sheriff The Viking Programmer
246 subscribers
1.36K photos
162 videos
41 files
1.3K links
Download Telegram
Forwarded from (φ (μ (λ)))
POL.pdf
744.4 KB
Charles H. Moore, Programming a Problem-Oriented Language (1970)
This media is not supported in your browser
VIEW IN TELEGRAM
Guns ain't only used for killin! Your papi was right when he said they're a tool not a weapon.
Forwarded from (φ (μ (λ)))
https://xorvoid.com/forsp.html

A Forth+Lisp Hybrid Lambda Calculus Language
Forwarded from (φ (μ (λ)))
(φ (μ (λ)))
https://xorvoid.com/forsp.html A Forth+Lisp Hybrid Lambda Calculus Language
This is extremely intriguing to me not because it is employing my old love Lisp and new love Forth, but also because it has been surrounded by my new rabbit hole in type theory that I've been exploring, gradual type theory and the work of Paul Levy. So call-by-push-value is one of the brilliant ideas that I've come across recently. And his Forsp is exactly this.

In fact, while reading about CBPV, I couldn't help but think "That's Just Forth!", and thus Forsp was born.
Forwarded from (φ (μ (λ)))
(φ (μ (λ)))
https://xorvoid.com/forsp.html A Forth+Lisp Hybrid Lambda Calculus Language
void push(obj_t *obj)
{
state->stack = make_pair(obj, state->stack);
}

bool try_pop(obj_t **_out)
{
if (!state->stack) {
return false;
}

*_out = car(state->stack);
state->stack = cdr(state->stack);
return true;
}


This is just something I never thought of being done. You have a stack operation which is implementing car and cdr.
Forwarded from Kei Lambda
Fun little fact: You can use simp? to extract the list of lemmas that simp applied.
1