Original Parser

version 1 by Ron Newcomb

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Descriptor Debugging - not for release

    To say the descriptor status:
        if the indefinite article mode is true:
            say "indefinite object: ";
            if the type of descriptor word used includes an other descriptor, say "other ";
            if the type of descriptor word used includes a possessive descriptor, say "my ";
            if the type of descriptor word used includes a THAT descriptor, say "that ";
            if the type of descriptor word used includes a plural descriptor, say "plural ";
            if the type of descriptor word used includes a lit descriptor, say "lit ";
            if the type of descriptor word used includes an unlit descriptor, say "unlit ";
            unless what the pronoun stands for is nothing, say "owner:[the what the pronoun stands for]";
            say "[line break] number wanted: ";
            if the number of items wanted is all items are wanted, say "all";
            otherwise say "[the number of items wanted]";
            say "[line break] most likely GNAs of names: [the grammatical case as a debugging number][line break]";
        otherwise:
            say "definite object[line break]".

    [The second marked for listing property translates into I6 as "workflag2".]
    [ I'm sorely tempted to rewrite the WDYM activity to use the built-in ListWriter. ]