ACM SIGPLAN Notices · 2004 · 18 citations · 11 references
ComputingComputer ScienceCompilersProgramming LanguagesSemanticsAbstract Syntax TreesData PreprocessingData TypesFormal LanguagesType CheckingType SystemsPattern MatchingPattern Matching SemanticsRegular Expression MatchingRegular Expressions
We extend Haskell with regular expression patterns . Regular expression patterns provide means for matching and extracting data which goes well beyond ordinary pattern matching as found in Haskell. It has proven useful for string manipulation and for processing structured data such as XML. Regular expression patterns can be used with arbitrary lists, and work seamlessly together with ordinary pattern matching in Haskell. Our extension is lightweight, it is little more than syntactic sugar. We present a semantics and a type system, and show how to implement it as a preprocessor to Haskell.
11
The implementation of functional programming languages
Microprocessors and Microsystems · 1987 · 1.1K citations
Haruo Hosoya, Benjamin C. Pierce · ACM Transactions on Internet Technology · 2003 · 340 citations
Véronique Benzaken, Giuseppe Castagna, Alain Frisch · 2003 · 296 citations
Regular expression types for XML
Haruo Hosoya, Jérôme Vouillon, Benjamin C. Pierce · 2000 · 178 citations · Full text
A static semantics for Haskell
Karl‐Filip Faxén · Journal of Functional Programming · 2002 · 35 citations · Full text