m_parsing

lima-1.0b5/lib/help/wizard/lib/std/modules/m_parsing · 886 B

From the archive lima-1.0b5+driver.tar.gz

Download the archive   « Back to the archive contents





M_PARSING

M_PARSING helps interact with the parser.

Important Functions:

    condense_phrase(arr) -- condenses a 3 element array of parser output:
                            ({object, prep, object}) into a single object or group of objects.
                            Essentially reduces prepositional phrases, but not super-studly-smart.

    nonsense()           -- Sets the message the user is going to see on failure of
                            his action to something random along the lines of:  "What a concept!"

    useless(action)      -- Returns a string that randomly adds to the string
                            action something along the lines of: " is a waste of time".  Eg,
                            useless("beating the drum")  might return "beating the drum isn't
                            notably helpful."


Last Updated: Wednesday, May 01, 1996


Site Stats

Snippets: 1791
Codebases: 571