Publisher DOI: 10.1007/978-3-642-39614-4_1
Title: Reusable components for lightweight mechanisation of programming languages
Authors: Haeri, Seyed Hossein 
Schupp, Sibylle 
Keywords: operational semantic;syntactic category;derivation tree;expression trait;type constraint
Issue Date: 2013
Publisher: Springer
Source: Binder W., Bodden E., Löwe W. (eds) Software Composition. SC 2013. Lecture Notes in Computer Science, vol 8088. Springer, Berlin, Heidelberg
Part of Series: Lecture notes in computer science 
Volume number: 8088
Abstract (english): Implementing Programming Languages (PLs) has always been a challenge for various reasons. One reason is the excess of routine tasks to be redone on every implementation cycle. This is despite the remarkable fraction of syntax and semantics usually shared between successive cycles. In this paper, we present a component-based approach to avoid reimplementation of shared PL fractions. We provide two sets of reusable components; one for syntax implementation and another for semantics. Our syntax and semantics components correspond to syntactic categories and semantics rules of a PL specification, respectively. We show how, in addition to their service to reusability in syntax and semantics, our components can cater reusable implementation of PL analyses. Our current level of experimentation suggests that this approach is applicable wherever the following two features are available or can be simulated: Type Constraints and Multiple Inheritance. Implementing a PL using our approach, however, requires some modest programming discipline that we will explain throughout the text. © 2013 IFIP International Federation for Information Processing.
Conference: International Conference on Software Composition, SC 2013 
URI: http://hdl.handle.net/11420/3064
ISBN: 978-3-642-39613-7
978-3-642-39614-4
ISSN: 0302-9743
Institute: Softwaresysteme E-16 
Type: InProceedings (Aufsatz / Paper einer Konferenz etc.)
Appears in Collections:Publications without fulltext

Show full item record

Page view(s)

174
Last Week
0
Last month
55
checked on Sep 24, 2020

Google ScholarTM

Check

Add Files to Item

Note about this record

Export

Items in TORE are protected by copyright, with all rights reserved, unless otherwise indicated.