evalPage Function

evalPage = (page, steps, count) -> ...

Purpose: Evaluates whether a wiki page matches the search criteria defined in the program.

How it Works:

Recursion: The function recursively checks each step of the program against the page and its components (e.g., story items, journal actions).

ITEM and ACTION: These steps require matching against specific types within the page's content.

Matching: If all steps match, the function returns true, indicating that the page meets the search criteria.