Title :
Rule-based programming with ρLog
Author :
Marin, Mircea ; Ida, Tetsuo
Author_Institution :
Graduate Sch. of Syst. & Inf. Eng., Tsukuba Univ., Japan
Abstract :
We describe the current capabilities of a system for rule-based programming which is being developed by us. The system is called ρLog and consists of a pattern matching system and a strategic programming system embedded into a powerful system for symbolic and numeric computation. Matching with context and sequence variables, possibly constrained by regular constraints, is an elegant mechanism for retrieving data from objects described by tree-like data structures of arbitrary depth and breadth. The data selected by matching can be processed by successive applications of labeled conditional rewrite rules described by strategies. By integrating these mechanisms, we enable a highly declarative programming style which is useful especially for prototype implementations of deductive systems, solvers for various equational theories, tools for querying and translating XML, various evaluation strategies, etc.
Keywords :
logic programming; pattern matching; rewriting systems; tree data structures; ρLog; declarative programming style; deductive systems; labeled conditional rewrite rules; numeric computation; pattern matching system; rule-based programming; strategic programming system embedded; symbolic computation; tree-like data structures; Computer languages; Equations; Functional programming; Logic programming; Pattern matching; Power engineering and energy; Prototypes; Systems engineering and theory; Tree data structures; XML;
Conference_Titel :
Symbolic and Numeric Algorithms for Scientific Computing, 2005. SYNASC 2005. Seventh International Symposium on
Print_ISBN :
0-7695-2453-2
DOI :
10.1109/SYNASC.2005.61