OMeta

Alessandro Warth, Ian Piumarta
2007 Proceedings of the 2007 symposium on Dynamic languages - DLS '07  
This paper introduces OMeta, a new object-oriented language for pattern matching. OMeta is based on a variant of Parsing Expression Grammars (PEGs) [5]-a recognitionbased foundation for describing syntax-which we have extended to handle arbitrary kinds of data. We show that OMeta's general-purpose pattern matching provides a natural and convenient way for programmers to implement tokenizers, parsers, visitors, and tree transformers, all of which can be extended in interesting ways using
more » ... object-oriented mechanisms. This makes OMeta particularly well-suited as a medium for experimenting with new designs for programming languages and extensions to existing languages.
doi:10.1145/1297081.1297086 dblp:conf/dls/WarthP07 fatcat:5q6m7wqdbvdnjfnbwxa3bqliz4