Loading...
Please wait, while we are loading the content...
Similar Documents
Experiences with Domain-Specific Language Embedding in Scala
| Content Provider | Semantic Scholar |
|---|---|
| Author | Sloane, Tony Lawall, Julia L. Sloane, Anthony M. |
| Copyright Year | 2008 |
| Abstract | Embedding domain-specific languages (DSLs) in generalpurpose programming languages offers a simpler path to implementation than developing standalone DSL processors. However, sacrifices must be made, particularly in formal analysis of DSL programs. This paper explores these tradeoffs in the context of the Kiama project that is investigating embedding of language processing DSLs in the Scala language. Examples are presented from preliminary experiments with embedding packrat parsing and strategy-based term rewriting. Particular attention is paid to the novel features of Scala that assist with this effort, including case classes, implicit conversions, and advanced support for pattern matching. |
| File Format | PDF HTM / HTML |
| Alternate Webpage(s) | http://hal.archives-ouvertes.fr/docs/00/35/02/69/PDF/7.pdf |
| Language | English |
| Access Restriction | Open |
| Content Type | Text |
| Resource Type | Article |