Interactive Poetry

version 2 by Michael Bacon

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 3 - Info gathering

    To decide which number is previous line: decide on the current line minus one.
    To decide which number is next line: decide on the current line plus one.
    To decide which number is (T - a topic) as a number: (- {T} -).
    To decide which topic is (N - a number) as a topic: (- {N} -).
    To decide which number is the currently chosen row: (- ct_1 -).

    To decide which number is the row that matches (topic understood - a snippet) in (T - a table-name):
        repeat through T in reverse order begin;
            if T is the table of possible lines and the line-number entry > the current line, [skip to] next [row];
            if there is a topic entry and the topic understood matches the topic entry, decide on the currently chosen row;
        end repeat;
        decide on 0.