• Medientyp: E-Artikel
  • Titel: Minimal deterministic left-to-right pattern-matching automata
  • Beteiligte: Nedjah, Nadia
  • Erschienen: Association for Computing Machinery (ACM), 1998
  • Erschienen in: ACM SIGPLAN Notices
  • Sprache: Englisch
  • DOI: 10.1145/609742.609748
  • ISSN: 0362-1340; 1558-1160
  • Schlagwörter: Computer Graphics and Computer-Aided Design ; Software
  • Entstehung:
  • Anmerkungen:
  • Beschreibung: <jats:p>We propose a practical technique to compile pattern-matching of prioritised overlapping patterns in equational languages to an minimal deterministic left-to-right matching automaton. First, we present a method to construct a tree matching automaton for such patterns. The automaton obtained allows pattern-matching to be performed without any backtracking. Although this automaton is efficient since it avoids symbol re-examination, it can only achieve this at the cost of increased space requirements. Such space requirements could be minimised by using a dag automaton that shares all the isomorphic subautomata which are duplicated in a tree automaton. We design an efficient method to identify such subautomata and avoid their construction while generating the dag automaton. This is achieved without constructing the tree automaton first.</jats:p>
  • Zugangsstatus: Freier Zugang