Loading...
Please wait, while we are loading the content...
Similar Documents
Description of Semantics and Code Generation Possibilities for a Multi-Language Interpreter
| Content Provider | Semantic Scholar |
|---|---|
| Author | Arnicans, Guntis |
| Copyright Year | 2007 |
| Abstract | In this paper we describe the definition of semantics for a Multi-Language interpreter (MLI), which provides the execution of the given program, receiving and exploiting corresponding language syntax and the desired semantics. We analyze the simplest solution – the MLI receives the language syntax and the semantics descriptions, which have already been compiled to executable objects. Semantics is defined as a composition from several semantic aspects, considering the pragmatics of a language. Semantic aspects are translated to semantic functions by composing descriptions of the aspects. A traversing program’s intermediate representation and the calling out of semantic functions similarly to the principle of the Visitor pattern perform the desired semantics. To simplify the semantic descriptions, we use abstract components that are joined by connectors at the meta-level. The implementation of these components and connectors can be very different. Examples of conventional and specific semantics are given for the simple imperative language in this paper. |
| File Format | PDF HTM / HTML |
| Alternate Webpage(s) | http://home.lu.lv/~garnican/publications/Arn04.pdf |
| Language | English |
| Access Restriction | Open |
| Content Type | Text |
| Resource Type | Article |