Note: there are more recent, direct folk
inspiration papers we reference in the Programming language & DB implementation
section of our links page. What follows below is Andrés' attempt to ground our recent (from ~2005 - 2025) citations to the deeper history of programming language design.
When
statement begins with the foundational work on event-driven programming in Smalltalk-76 (Ingalls, 1978), which established a model where objects communicated by sending messages, a precursor to modern event handling.IF-THEN
rules that reacted to changes in a central “working memory.”in
/rd
) in a shared “tuple space,” directly demonstrating a “when this pattern exists, then proceed” model.When
statement in folk
— realtime execution in reaction to database updates rather than the traditional imperative if
statement.Wish
into a shared reactive database in FolkAlgorithm+Logic=Control
has shaped our views on the essence of declarative programming within the logic programming framework and has had a large impact on the design of new control mechanisms for this approach to programming. His subsequent research revealed the rich potential of the logic programming paradigm. He showed how legal, metalevel, and commonsense reasoning can naturally be formalized by means of logic programs.”Wish
: a declarative, goal-seeking mechanism for interacting with a logical model of the world.Claim
can be traced back to Bertrand Meyer's “Design by Contract” (DbC), a core feature in the design of the Eiffel programming language first outlined in a 1986 article.require
), postconditions (ensure
), and invariants. These Claims
form a rigorous, checkable contract between a component and its clients.
* Claim
is the direct descendant of this tradition, providing a lightweight but powerful way to assert formal guarantees about a program's behavior at runtime.
folk
and Realtalk
are reactive DB systems implemented as metalangauges (in Lua and Tcl, respectively)*, though they have diverged in their implementation of OS primitives and the functionality as a result of Folk being in New York City, with a different group of people and concerns about what programs are possible in this tangible paradigm.*
folk
's architecture: