F - A tiny functional concatenative language
(www.nsl.com)
from armchair_progamer@programming.dev to programming_languages@programming.dev on 19 Jun 2024 22:04
https://programming.dev/post/15749627
from armchair_progamer@programming.dev to programming_languages@programming.dev on 19 Jun 2024 22:04
https://programming.dev/post/15749627
F is written in K, another small language. In fact, the entire implementation is in one file: www.nsl.com/k/f/f.k.
Example program (defines factorial and computes fac(6)
, from 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 🙁.
threaded - newest