Original Parser

version 1 by Ron Newcomb

  • Home page
  • Beginning
  • Previous
  • Next



  • Chapter - Personalized Grammars

    [ With this we can, for a particular character or other "talkable" object, make it understand completely different things than normal. It works by either setting the noun, the second noun, and the action in progress then returning 'this created action', or just by returning '<word> [tentatively] as the verb to use' with the verb to use instead. ]

    An alternative grammar result is a kind of value.
    Some alternative grammar results are this created action.
    To decide which alternative grammar result is using normal grammar: (- 0 -).
    To decide which alternative grammar result is (verb - an understood word) as the verb to use:
    (- {verb} -).
    To decide which alternative grammar result is (verb - an understood word) tentatively as the verb to use:
    (- (-{verb}) -).
    To decide which understood word is (agr - an alternative grammar result) as an understood word: (-{agr}-).

    To decide which alternative grammar result is (agr - an alternative grammar result) without the tentatively: (- (0 - {agr}) -).

    To decide what rule producing an alternative grammar result valued property is the personalized grammar: (-grammar-).
    To decide what alternative grammar result is (prop - a rule producing an alternative grammar result valued property) of (obj - an object) considered: (- RunRoutines({obj}, {prop}) -).