Method Slots: Supporting Methods, Events, and Advices by a Single Language Construct

Author(s):  
YungYu Zhuang ◽  
Shigeru Chiba
Keyword(s):  
2004 ◽  
Vol 11 (37) ◽  
Author(s):  
Jørgen Iversen ◽  
Peter D. Mosses

Usually, the majority of language constructs found in a programming language can also be found in many other languages, because language design is based on reuse. This should be reflected in the way we give semantics to programming languages. It can be achieved by making a language description consist of a collection of modules, each defining a single language construct. The description of a single language construct should be language independent, so that it can be reused in other descriptions without any changes. We call a language description framework ``constructive'' when it supports independent description of individual constructs.<br /> <br />We present a case study in constructive semantic description. The case study is a description of Core ML, consisting of a mapping from it to BAS (Basic Abstract Syntax) and action semantic descriptions of the individual BAS constructs. The latter are written in ASDF (Action Semantics Definition Formalism), a formalism specially designed for writing action semantic descriptions of single language constructs. Tool support is provided by the ASF+SDF Meta-Environment and by the Action Environment, which is a new extension of the ASF+SDF Meta-Environment.


2018 ◽  
Vol 43 (4) ◽  
pp. 231-244
Author(s):  
Pamela Schulz

In modern society children are valued and nurtured, and it is often stated in media discourses across a variety of platforms and via the press and elsewhere, particularly by politicians, that “Children are our future”. Thus, they deserve the best education and a safe and secure environment in order to thrive and become a part of society. To this end, this study looks at how the media and its language construct children as a commodity in the economy who are used by media as a barometer for society and its commitment to decency and community. However, on closer inspection, a disturbing discourse of division emerges showing the community is split on how best to care and protect our children so that they may partake of that future. Children are used to promote viewpoints (or even ideologies) by celebrities who use their children as exemplars of their parenting style. In addition, children are used by media as a measure of whether a modern democracy is fair or decent in its application of law. From issues related to the pester power through which marketers use children to sell products to the lure of the internet, children are used to make money or seek access to it. Most modern legal frameworks actively support the maintenance of children within culture and kinship groups, yet thousands of children each year are deliberately separated from their parents who are encouraged by marketing ploys to send their children to other parts of the world for education or to seek a migration outcome. This study suggests that modern democratic societies are not consistent in their discourses which, on the one hand, seek to promote active support for the care and wellbeing of children and, on the other, continue a divisive discourse about appropriate responses. In this analysis and commentary, italics are used to give emphasis to keywords and phrases.


1996 ◽  
Vol 25 (505) ◽  
Author(s):  
Søren Brandt ◽  
Rene Wenzel Schmidt

We present a runtime metalevel interface for BETA. BETA is a compiled and statically typed object-oriented programming language. The metalevel interface preserves the type safe properties of the language and supports static type checking. This is achieved through a novel language construct, the <em>attribute reference</em>, on top of which the metalevel interfacer is built. The metalevel interface is based on a simple conceptual model that reifies a few basic language primitives. For the implementation, a metalevel architecture based on a virtual machine view of the runtime system is introduced. In this model, an open implementation of compiled language is achieved by providening the runtime virtual machine with a metalevel interface supporting runtime reflection.


Corpora ◽  
2011 ◽  
Vol 6 (1) ◽  
pp. 77-105 ◽  
Author(s):  
Ingo Bachmann

This paper deals with the language used in the debates in both Houses of Parliament in the United Kingdom that allowed civil partnerships to take place. My aim is to uncover discourses of same-sex relationships which are accessed in British Parliament. For this purpose, a corpus of these debates was compiled and its keywords were taken as a starting point for further analysis. As different keyword lists can be calculated by comparing different data sets, I argue that the best approach in this study is to take the corpus as a whole and to compare it to a reference corpus. I then grouped the keywords thematically and analysed them in context, scrutinising collocations and concordance lines in order to see how (recurrent) uses of language construct gay and lesbian relationships. Different, rather contradicting, discourses are drawn on by different parties in the debates. We can see that discourses are often used to frame a line of argumentation.


Sign in / Sign up

Export Citation Format

Share Document