Email or username:

Password:

Forgot your password?
WimⓂ️

Factorial with fixpoint combinator in #Uxntal lambdas, because we can:

#05
{ ROT DUP
?{ POP POP2 #01 JMP2r }
DUP #01 SUB
SWP2 DUP2 JSR2 MUL JMP2r } STH2r
{ DUP2 JSR2 JMP2r } STH2r JSR2

( returns 120 )

3 comments
WimⓂ️

happy to explain this if anyone is interested

Devine Lu Linvega

@wim_v12e 🤔 we must be working on very similar things at the moment..

WimⓂ️

@neauoire Could be 🙂 This just came to me in a dream, or to be more accurate, just before I fell asleep. It's probably a consequence of me thinking through how you implemented lambdas.

Go Up