Title :
Type Inference for Regular Expression Pattern Matching
Author :
Mircea Marin;Adrian Craciun
Author_Institution :
Grad. Sch. of Syst. &
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"
Conference_Titel :
Symbolic and Numeric Algorithms for Scientific Computing (SYNASC), 2010 12th International Symposium on
Print_ISBN :
978-1-4244-9816-1
DOI :
10.1109/SYNASC.2010.20