Flexible Windows

version 13/130803 by Jon Ingold

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Test spawning relations (not for release)

    Peeping is an action applying to one visible thing.

    Understand "peep through [any g-window]" as peeping.

    Carry out peeping (this is the peep rule):
        say "[noun]: spawns [a list of g-windows spawned by the noun].";
        say "ancestors: [a list of g-windows ancestral to noun].";
        say "descendants: [a list of g-windows descended from noun].";
        if noun is paternal, say "(currently paternal) ";
        otherwise say "(currently childless) ";
        if noun is g-present, say "(present) "; otherwise say "(missing) ";
        if noun is g-required, say "(required)."; otherwise say "(unneeded).";

    tracking it to is an action applying to two visible things.

    Understand "track [any g-window] to [any g-window]" as tracking it to.

    Carry out tracking it to:
        say "no. =>: [number of steps via the containment relation from noun to second noun].";
        say "no. <=: [number of steps via the containment relation from second noun to noun].";

    Throwing open is an action applying to one visible thing.
    Slamming shut is an action applying to one visible thing.

    Understand "slam shut [any g-window]" as slamming shut.
    Understand "throw open [any g-window]" as throwing open.

    Carry out slamming shut:
        shut down the noun;

    Carry out throwing open:
        open up the noun;