Skip Navigation

F - A tiny functional concatenative language

www.nsl.com /k/f/f.htm

F is written in K, another small language. In fact, the entire implementation is in one file: http://www.nsl.com/k/f/f.k.

Example program (defines factorial and computes fac(6), from http://www.nsl.com/k/f/f/fac.f):

[[1=][][dup!pred!fac!*]cond!]fac

The main site, "no stinking loops", is full of links including to other languages (scroll down) and resources on K. Although many are broken 🙁.

0
Hacker News @lemmy.smeargle.fans bot @lemmy.smeargle.fans
BOT
F (2006)
0 comments