Loading...
Please wait, while we are loading the content...
Similar Documents
OMeta: an Object-Oriented Language for Pattern-Matching (2007)
| Content Provider | CiteSeerX |
|---|---|
| Author | Piumarta, Ian Warth, Alessandro |
| Description | IN OOPSLA ’07: COMPANION TO THE 22ND ACM SIGPLAN CONFERENCE ON OBJECT-ORIENTED PROGRAMMING SYSTEMS, LANGUAGES, AND APPLICATIONS |
| 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 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 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. |
| File Format | |
| Publisher Date | 2007-01-01 |
| Access Restriction | Open |
| Subject Keyword | New Object-oriented Language Pattern Matching Arbitrary Kind Tree Transformer Recognitionbased Foundation Convenient Way Familiar Object-oriented Mechanism New Design Object-oriented Language Expression Grammar General-purpose Pattern |
| Content Type | Text |
| Resource Type | Conference Proceedings Article |