Epistemology

version 7 by Eric Eve

  • Home page
  • Beginning
  • Previous
  • Next



  • Book 1 - Sight

    A thing can be either seen or unseen. A thing is usually unseen.

    [ It might seem more straightforward simply to write "Now everything visible in the location is seen." but
    this turns out to be unacceptably slow in practice. The following code does approximately the same thing
    but much faster.]

    Carry out looking (this is the mark items as seen when looking rule):
    unless in darkness begin;
    repeat with item running through things that are enclosed by the location begin;
    if the item is not enclosed by an opaque closed container, now the item is seen;
    end repeat;
    end unless.

    Carry out opening a container (this is the mark items as seen on opening a container rule):
    repeat with item running through things that are enclosed by the noun begin;
    if the item is unseen and the item is visible, now the item is seen;
    end repeat.

    The mark items as seen on opening a container rule is listed after the standard opening rule in the carry out opening rules.