• DocumentCode
    3640189
  • Title

    Type Inference for Regular Expression Pattern Matching

  • Author

    Mircea Marin;Adrian Craciun

  • Author_Institution
    Grad. Sch. of Syst. &
  • fYear
    2010
  • Firstpage
    366
  • Lastpage
    373
  • Abstract
    An important feature of statically typed XML programming languages is the type inference of variables in regular expression patterns, when matching is performed on input of a known type. At least, such an algorithm must be be simple, local, and locally precise. In this paper we investigate the possibility to go beyond local type inference, and propose an algorithm to compute the precise type of the tuple of all variables in a regular expression pattern. Our algorithm relies on notions and algorithms from the factorization theory of regular hedge languages.
  • Keywords
    "Automata","Pattern matching","XML","Inference algorithms","Impedance matching","Mercury (metals)","Programming"
  • Publisher
    ieee
  • Conference_Titel
    Symbolic and Numeric Algorithms for Scientific Computing (SYNASC), 2010 12th International Symposium on
  • Print_ISBN
    978-1-4244-9816-1
  • Type

    conf

  • DOI
    10.1109/SYNASC.2010.20
  • Filename
    5715311