PFCL icon
PFCL icon

PFCL

A small pure functional language. Functions are mathematics. Effects are plain data a host runs. Identity is the hash of the body.

PFCL screenshot 1

Cost / License

  • Free
  • Open Source (MIT)

Application type

Platforms

  • Windows
  • Linux
0likes
0comments
0articles

Features

Properties

  1.  Lightweight

Features

  1.  Portable
  2.  Command line interface
  3.  Ad-free
  4.  Type inference
  5.  Interpreter
  6.  Rust

PFCL News & Activities

Highlights All activities

Recent activities

PFCL information

  • Developed by

    HR flagComposure/vickov
  • Licensing

    Open Source (MIT) and Free product.
  • Alternatives

    4 alternatives listed
  • Supported Languages

    • English

AlternativeTo Categories

DevelopmentOS & Utilities
PFCL was added to AlternativeTo by vickov on and this page was last updated .
No comments or reviews, maybe you want to be first?

What is PFCL?

PFCL is a small, pure functional language with no escape hatches and no runtime. Functions are ordinary mathematical values: given the same input, a function always returns the same output, and function bodies cannot perform side effects. Anything that touches the outside world — files, network, time, randomness — is expressed as plain data: a handler takes the current state and an incoming event and returns a new state plus a list of command records for the host to execute. The language never calls out; the host decides what "run this command" means.

Every function is identified by the SHA-256 hash of its body, not by name or file path. There is no import system, no module system, and no package manager in the conventional sense — functions are resolved from a content-addressed catalog, so a function you write today keeps the same identity forever, independent of where it lives or what it's called elsewhere. Composition happens by referencing hashes, which makes equivalence and reuse checkable rather than assumed.

PFCL is implemented as a tree-walking interpreter with an ML-style syntax and Hindley-Milner-style type inference. It's distributed on crates.io and as source on Codeberg.

PFCL is not a general-purpose application runtime or a Haskell replacement; it's the computation layer meant to sit underneath something else that provides the executor.

Official Links