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):

 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 ๐Ÿ™.

Concatenative Programming @programming.dev

F: Functional False

4 0
Hacker News @lemmy.smeargle.fans

F (2006)

2 0
0 comments

No comments