Patents
US 7,784,038 B2#10815468 Most CitedExpiredUnited States (USPTO)Utility

Pattern matching and transformation of intermediate language expression trees

10Forward Citations (#10815468 Global)
0.6/yrCitation Velocity (#12602310 Global)
1.60Citation PageRank (#20697267 Global)
0Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method, apparatus, and computer program product are provided by the present invention for a programming framework for easy pattern matching and transformation of intermediate language expression trees. With expression matching and transformation framework (EMTF) of the present invention, pattern matchers may be defined and embedded in a C++ program code in a manner that resembles their intermediate representation. EMTF also provides capabilities for unification, unbinding, transformation, intra-pattern referencing, common operators, creation of pattern objects in a storage pool. Recursive sub-expression matching and recursive transformation are also included.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 0 · Forward citations: 10.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method in a data processing system for pattern matching and expression transformation of intermediate language expression trees generated by a compiler, the method comprising: generating an intermediate language expression tree by the compiler; defining a pattern using a generic pattern definition in a computer program; and responsive to detecting a match statement in the computer program, matching the pattern with an input expression of the intermediate language expression tree, wherein the pattern comprises a recursive sub-expression match; and responsive to detecting a transform statement

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (0)

No backward patent references recorded.

Non-Patent Literature (5)

  • Katalin Hangos et al., "Chapter 5 Tools for Knowledge Representation and Reasoning", 2001, Kluwer academic Publishers, pp. 69-107.
  • L. Sterling et al, The Art of PROLOG, MIT Press, XP002428886, 1994, pp. 259-478, ISBN: 0-262-19338-8, Program 24.1.
  • M. Ganapathi, PROLOG Based Retargetable Code Generation, XP009081958. Computer Languages, vol. 14, No. 3, 1989, pp. 193-204, ISSN: 096-0551 Sections 2 to 4.
  • Mohammad Almulla, "PROLOG Programming in Artificial Intelligence", Aug. 2003, http://web.archive.org/web/20030814093840/http://mcs.sci.kuniv.edu.kw/~almulla/courses/cs459/PROLOG.html#Matching.
  • Mohammad Almulla, “PROLOG Programming in Artificial Intelligence”, Aug. 2003, http://web.archive.org/web/20030814093840/http://mcs.sci.kuniv.edu.kw/˜almulla/courses/cs459/PROLOG.html#Matching.