ACM Home Page
Please provide us with feedback. Feedback
OMeta: an object-oriented language for pattern matching
Full text PdfPdf (151 KB)
Source
Dynamic Languages Symposium archive
Proceedings of the 2007 symposium on Dynamic languages table of contents
Montreal, Quebec, Canada
SESSION: Multi-paradigm programming table of contents
Pages: 11 - 19  
Year of Publication: 2007
ISBN:978-1-59593-868-8
Authors
Alessandro Warth  University of California: Los Angeles, Los Angeles, CA
Ian Piumarta  Viewpoints Research Institute, Los Angeles, CA
Sponsors
SIGPLAN: ACM Special Interest Group on Programming Languages
ACM: Association for Computing Machinery
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 21,   Downloads (12 Months): 66,   Citation Count: 2
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1297081.1297086
What is a DOI?

ABSTRACT

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 recognition-based 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 familiar 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.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

1
 
2
ECMA. ECMAScript language specification.
 
3
B. Ford. Pappy: a parser generator for Haskell. http://pdos.csail.mit.edu/<baford/packrat/thesis/.
4
5
 
6
E. Gamma, R. Helm, R. Johnson, and J. Vlissides. Design Patterns. Addison-Wesley Professional, January 1995.
7
 
8
 
9
D. Leijen and E. Meijer. Parsec: Direct style monadic parser combinators for the real world. Technical Report Technical Report UU-CS-2001-35, Universiteit Utrecht, 2001.
 
10
 
11
I. Piumarta. Open, extensible programming systems. Keynote talk, Dynamic Languages Symposium, 2006.
 
12
13
14
15
 
16
L. G. Tesler, H. J. Enea, and D. C. Smith. The LISP70 pattern matching system. In Proc. of the 3rd IJCAI, pages 671--676, Stanford, MA, 1973.


Collaborative Colleagues:
Alessandro Warth: colleagues
Ian Piumarta: colleagues