Abstract
In the mid-1970s, artificial intelligence research was constrained by the limitations of traditional algorithmic programming languages. The LORD system (LISP-Oriented Resolver and Data-Base) was developed to bridge the gap between flexible list processing and structured knowledge representation. By integrating a hierarchical database with a pattern-directed execution engine and a compiler-compiler tool, LORD provided a robust framework for building non-algorithmic AI applications, including natural language processors and early expert systems.
Introduction
During the formative years of AI, researchers identified a significant hurdle: standard programming languages were not designed to handle "knowledge" in a way that mirrored human cognitive processes. While LISP offered the necessary flexibility for symbolic manipulation, it lacked built-in mechanisms for structured data persistence, associative searching, and the complex logical inference required for sophisticated AI tasks.
The LORD system was conceived as a solution to these challenges, focusing on three primary objectives: supporting non-algorithmic programming where data states drive execution, providing a formal structure for knowledge representation, and ensuring extensibility through user-defined domain-specific languages.
System Architecture
The LORD system is built upon three integrated pillars that allow it to function as both a programming language and a knowledge management system.
1. The Resolver
The Resolver serves as the system's execution engine. It extends the capabilities of LISP by introducing "A-points" (alternation points), which facilitate automatic backtracking. This feature is essential for searching through the complex "AND/OR" trees common in logic-based problem solving.
Furthermore, the Resolver implements pattern-directed function calls, a paradigm influenced by languages like PLANNER and CONNIVER. In this model, functions are not necessarily called by name; instead, they are triggered by specific data assignments or changes in memory (e.g., WHEN-ASSIGNED or WHEN-ADDED demons). This allows the system to react dynamically to new information.
2. Semantic Memory (The Data-Base)
Unlike the simple heaps used in contemporary languages, LORD utilizes a structured, hierarchical database. This "Semantic Memory" maps traditional database divisions to AI concepts:
- Area corresponds to a Problem Domain.
- Set corresponds to a Context.
- Record corresponds to an Object.
- Field corresponds to a Property.
This hierarchy enables associative searching, allowing the system to retrieve objects based on their properties or relationships rather than fixed memory addresses. This structure supports the storage of relational facts that constitute a complex problem domain.
3. The Metaprocessor
To address the need for extensibility, LORD includes a Metaprocessor—a "compiler-compiler" tool. This allows researchers to define formal grammars for their own input languages. The Metaprocessor generates a syntactic analyzer, enabling LORD to act as a host for various domain-specific AI languages. This decoupling of the underlying AI engine from the surface syntax allows users to work in environments ranging from ALGOL-like structures to natural-language-like interfaces.
Programming Paradigm and Logic
A core innovation of LORD is the unification of data and program logic. The Data-Base serves as a common ground, facilitating high levels of introspection and dynamic modification. The system distinguishes between two types of environments:
- Static Context: The permanent knowledge and facts stored within the hierarchical database.
- Dynamic Context: The transient state of a running program, including local variables and current search paths.
Specific operators, such as SETO and SETQ, are provided to manage the flow of data between these layers, ensuring that the system can maintain a stable knowledge base while exploring multiple hypothetical states during problem-solving.
Implementation and Results
The LORD system was successfully implemented at the Computing Center of the USSR Academy of Sciences. Its development proved that LISP-like list processing could be effectively integrated with a structured database. The system included a specialized suite of debugging tools (such as STOP, CONT, and BYPASS) designed to handle the unique complexities of backtracking and pattern-directed invocation.
Experimental systems such as PLAINER, CONNIVER, and LISP-70 were used to demonstrate the material effectiveness of the LORD architecture. The system proved versatile enough to handle diverse tasks, including business management research and natural language processing, by leveraging its Semantic Memory to represent complex relational data.
Limitations and Conclusion
Despite its power, the authors of the LORD system acknowledged significant challenges. Competing with established, high-performance languages like PL/1 or standard LISP was a difficult task, as the overhead of backtracking and pattern matching required substantial computational resources. The hardware constraints of the 1970s likely limited the scale of the Semantic Memory and the depth of search trees the system could process efficiently.
Nevertheless, LORD represented a pioneering attempt to create a unified environment for AI development. By prioritizing the relationship between data and execution, it laid the groundwork for future research in expert systems and environment control, proving that the architecture of an AI engine should be as flexible as the knowledge it seeks to represent.
Summary updated