<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://folk.computer/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://folk.computer/feed.php">
        <title>Folk Computer - notes:internals</title>
        <description></description>
        <link>https://folk.computer/</link>
        <image rdf:resource="https://folk.computer/_media/logo.png" />
       <dc:date>2026-06-04T06:02:29+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://folk.computer/notes/internals/db?rev=1757359637&amp;do=diff"/>
                <rdf:li rdf:resource="https://folk.computer/notes/internals/tour?rev=1757207759&amp;do=diff"/>
                <rdf:li rdf:resource="https://folk.computer/notes/internals/trie?rev=1757209903&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://folk.computer/_media/logo.png">
        <title>Folk Computer</title>
        <link>https://folk.computer/</link>
        <url>https://folk.computer/_media/logo.png</url>
    </image>
    <item rdf:about="https://folk.computer/notes/internals/db?rev=1757359637&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-09-08T19:27:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>db</title>
        <link>https://folk.computer/notes/internals/db?rev=1757359637&amp;do=diff</link>
        <description>Database (folk2)

If you want to follow along in the code, all of these things are implemented in trie.c, db.c, folk.c,
and prelude.tcl.

Folk&#039;s database stores all Wishes, Claims, and Whens. Essentially, it stores everything that happens
in Folk. The data type of this database is a Statement. Statements are inserted when calling
Wish, Claim, and When.</description>
    </item>
    <item rdf:about="https://folk.computer/notes/internals/tour?rev=1757207759&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-09-07T01:15:59+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tour</title>
        <link>https://folk.computer/notes/internals/tour?rev=1757207759&amp;do=diff</link>
        <description>Internals tour

Welcome to Folk internals! The following articles in this tour will each address a fundemental concept in the folk2 implementation.

	*  Part 1: the Database
	*  Part 2: the Trie</description>
    </item>
    <item rdf:about="https://folk.computer/notes/internals/trie?rev=1757209903&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-09-07T01:51:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>trie</title>
        <link>https://folk.computer/notes/internals/trie?rev=1757209903&amp;do=diff</link>
        <description>The Trie

A Trie is the data structure that underlies Folk&#039;s database. It is the database&#039;s index for all Statements.
Let&#039;s look at an example Statement with the Clause “the sky is blue”.

Let&#039;s insert that Clause into the Trie and see what happens:</description>
    </item>
</rdf:RDF>
