2003
DOI: 10.7146/brics.v10i53.21825
|View full text |Cite
|
Sign up to set email alerts
|

Composing Programming Languages by Combining Action-Semantics Modules

Abstract: This article demonstrates a method for composing a programming language by combining action-semantics modules. Each module is defined separately, and then a programming-language module is defined by combining existing modules. This method enables the language designer to gradually develop a language by defining, selecting and combining suitable modules. The resulting modular structure is substantially different from that previously employed in action-semantic descriptions.It also discusses how to resolve the c… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
2
1

Citation Types

0
12
0

Year Published

2004
2004
2010
2010

Publication Types

Select...
4
1

Relationship

3
2

Authors

Journals

citations
Cited by 7 publications
(12 citation statements)
references
References 11 publications
0
12
0
Order By: Relevance
“…Initial collections of funcos were tentatively proposed in the original paper on component-based language development and specification [5] and in a case study that provided a specification of the core of Standard ML [13]. A larger collection of about 100 funcos has subsequently been developed in connection with a course on concepts of programming languages at Swansea, and used in the analysis of the illustrative examples of program fragments from Ada, C, C++, Haskell and Java given in [44,Part II].…”
Section: Fundamental Constructsmentioning
confidence: 99%
“…Initial collections of funcos were tentatively proposed in the original paper on component-based language development and specification [5] and in a case study that provided a specification of the core of Standard ML [13]. A larger collection of about 100 funcos has subsequently been developed in connection with a course on concepts of programming languages at Swansea, and used in the analysis of the illustrative examples of program fragments from Ada, C, C++, Haskell and Java given in [44,Part II].…”
Section: Fundamental Constructsmentioning
confidence: 99%
“…To solve this problem, several research works ( [2,6], [5] and [1]) propose a new style to describe programming languages. These papers propose that a programming language description should be formed by the union of programming language elements.…”
Section: Modular Action Semantics Extensionsmentioning
confidence: 99%
“…Doh and Mosses [12] realized that this conventional modular structure was a major impediment to explicit reuse of parts of ASDs. For example, suppose that an AS for Standard ML has already been given [25], and we are writing an AS for Java [8].…”
Section: Action Semanticsmentioning
confidence: 99%
“…With the conventional modular structure of an ASD, however, it is usually not possible to reuse entire modules, so one has to copy and paste the required parts. Doh and Mosses [12] proposed a flatter modular structure for ASDs, with the description of each construct being a separate module. This new structure allows a complete language to be described simply by listing the names of the modules for the included constructs, and fully supports explicit reuse of parts of semantic descriptions.…”
Section: Introductionmentioning
confidence: 99%