| OMeta: an object-oriented language for pattern matching |
| Full text |
Pdf
(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
|
|
| Sponsors |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 21, Downloads (12 Months): 66, Citation Count: 2
|
|
|
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
|
H. Abelson , R. K. Dybvig , C. T. Haynes , G. J. Rozas , N. I. Adams, IV , D. P. Friedman , E. Kohlbecker , G. L. Steele, Jr. , D. H. Bartley , R. Halstead , D. Oxley , G. J. Sussman , G. Brooks , C. Hanson , K. M. Pitman , M. Wand , William Clinger , Jonathan Rees, Revised report on the algorithmic language scheme, ACM SIGPLAN Lisp Pointers, v.IV n.3, p.1-55, July, 1991
[doi> 10.1145/382130.382133]
|
| |
2
|
ECMA. ECMAScript language specification.
|
| |
3
|
B. Ford. Pappy: a parser generator for Haskell. http://pdos.csail.mit.edu/<baford/packrat/thesis/.
|
 |
4
|
Bryan Ford, Packrat parsing:: simple, powerful, lazy, linear time, functional pearl, Proceedings of the seventh ACM SIGPLAN international conference on Functional programming, p.36-47, October 04-06, 2002, Pittsburgh, PA, USA
|
 |
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.
|
|