File Download

There are no files associated with this item.

  Links for fulltext
     (May Require Subscription)
Supplementary

Conference Paper: Abstract syntax graphs for domain specific languages

TitleAbstract syntax graphs for domain specific languages
Authors
KeywordsDsls
Graphs
Haskell
Observable Sharing
Issue Date2013
Citation
Pepm 2013 - Proceedings Of The Acm Sigplan Workshop On Partial Evaluation And Program Manipulation, Co-Located With Popl 2013, 2013, p. 87-96 How to Cite?
AbstractThis paper presents a representation for embedded domain specific languages (EDSLs) using abstract syntax graphs (ASGs). The purpose of this representation is to deal with the important problem of defining operations that require observing or preserving sharing and recursion in EDSLs in an expressive, yet easy-to-use way. In contrast to more conventional representations based on abstract syntax trees, ASGs represent sharing and recursion explicitly as binder constructs. We use a functional representation of ASGs based on structured graphs, where binders are encoded with parametric higher-order abstract syntax. We show how adapt to this representation to well-typed ASGs. This is especially useful for EDSLs, which often reuse the type system of the host language. We also show an alternative class-based encoding of (well-typed) ASGs that enables extensible and modular well-typed EDSLs while allowing the manipulation of sharing and recursion. Copyright © 2013 ACM.
Persistent Identifierhttp://hdl.handle.net/10722/188504
References

 

DC FieldValueLanguage
dc.contributor.authorOliveira, BCDSen_US
dc.contributor.authorLöh, Aen_US
dc.date.accessioned2013-09-03T04:08:46Z-
dc.date.available2013-09-03T04:08:46Z-
dc.date.issued2013en_US
dc.identifier.citationPepm 2013 - Proceedings Of The Acm Sigplan Workshop On Partial Evaluation And Program Manipulation, Co-Located With Popl 2013, 2013, p. 87-96en_US
dc.identifier.urihttp://hdl.handle.net/10722/188504-
dc.description.abstractThis paper presents a representation for embedded domain specific languages (EDSLs) using abstract syntax graphs (ASGs). The purpose of this representation is to deal with the important problem of defining operations that require observing or preserving sharing and recursion in EDSLs in an expressive, yet easy-to-use way. In contrast to more conventional representations based on abstract syntax trees, ASGs represent sharing and recursion explicitly as binder constructs. We use a functional representation of ASGs based on structured graphs, where binders are encoded with parametric higher-order abstract syntax. We show how adapt to this representation to well-typed ASGs. This is especially useful for EDSLs, which often reuse the type system of the host language. We also show an alternative class-based encoding of (well-typed) ASGs that enables extensible and modular well-typed EDSLs while allowing the manipulation of sharing and recursion. Copyright © 2013 ACM.en_US
dc.languageengen_US
dc.relation.ispartofPEPM 2013 - Proceedings of the ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation, Co-located with POPL 2013en_US
dc.subjectDslsen_US
dc.subjectGraphsen_US
dc.subjectHaskellen_US
dc.subjectObservable Sharingen_US
dc.titleAbstract syntax graphs for domain specific languagesen_US
dc.typeConference_Paperen_US
dc.identifier.emailOliveira, BCDS: oliveira@comp.nus.edu.sgen_US
dc.identifier.authorityOliveira, BCDS=rp01786en_US
dc.description.naturelink_to_subscribed_fulltexten_US
dc.identifier.doi10.1145/2426890.2426909en_US
dc.identifier.scopuseid_2-s2.0-84873472487en_US
dc.relation.referenceshttp://www.scopus.com/mlt/select.url?eid=2-s2.0-84873472487&selection=ref&src=s&origin=recordpageen_US
dc.identifier.spage87en_US
dc.identifier.epage96en_US
dc.identifier.scopusauthoridOliveira, BCDS=12239474400en_US
dc.identifier.scopusauthoridLöh, A=14035777800en_US

Export via OAI-PMH Interface in XML Formats


OR


Export to Other Non-XML Formats