Browsing by Author "Mali, Yogesh"
Now showing 1 - 2 of 2
- Results Per Page
- Sort Options
Item Adding Dimension Analysis to Java as a Composable Language Extension(Springer-Verlag, 2008) Van Wyk, Eric; Mali, YogeshIn this paper we describe a language extension that adds dimension analysis to Java. Dimension analysis can be used to check that values that represent physical measurements such as length and mass are not used inconsistently. What distinguishes this work from previous work that adds dimension analysis to programming languages is that here the extension is implemented as a composable language extension. This means that it can easily be combined with other extensions, possibly developed by other parties, to create an extended implementation of Java with new features that address concerns from several different domains.Item Building Extensible Specifications and Implementations of Promela with AbleP(Springer Verlag, 2011) Mali, Yogesh; Van Wyk, EricThis paper describes how new language features can be seamlessly added to an extensible specification of Promela to provide new (domain-specific) notations and analyses to the engineer. This is accomplished using ableP, an extensible specification and implementation of Promela, the modeling language used by the SPIN model checker. Language extensions described here include an enhanced select-statement, a convenient tabular notation for boolean expressions, a notion of discrete time, and extended type checking. ableP and the extensions are developed using the Silver attribute grammar system and the Copper parser and scanner generator. These tools support the modular development and composition of language extensions so that independently developed extensions can be imported into ableP by an engineer with little knowledge of language design and implementation issues.