Code generation using an orthogonal model

被引:0
|
作者
Cordy, James R. [1 ]
Holt, Richard C. [1 ]
机构
[1] Queen's Univ at Kingston, Canada
关键词
Codes; Symbolic - Computer Programming Languages - Mathematical Techniques--Trees;
D O I
暂无
中图分类号
学科分类号
摘要
This paper describes a new systematic approach to code generation. The approach is based on an orthogonal model, in which implementation of language-level operators ('operators') and addressing operators ('operands') is achieved by two independent subtasks. Each of these phases is specified using a set of decision trees that encode the set of possible implementation templates for each language feature and the set of constraints under which each can be applied. Code selection in each phase is achieved by interpreting these trees using a single comprehensive selection algorithm. The method easily extends to machine independence across a large class of target computers by abstracting the implementation templates into machine-independent implementation strategies. The selection algorithm is then modified to select between implementation strategies based on a machine capability 'menu' that describes each target machine in terms of the subset of implementation strategies for which it has corresponding instruction sequences. The method has been used to implement a prototype machine-independent code generator for the Concurrent Euclid programming language whose generated code density is consistently within four per cent of production machine-dependent code generators across its entire target class of five modern computers.
引用
收藏
页码:301 / 320
相关论文
共 50 条
  • [21] Automatic Ada code generation using a model-driven engineering approach
    Alonso, Diego
    Vicente-Chicote, Cristina
    Sanchez, Pedro
    Alvarez, Barbara
    Losilla, Fernando
    RELIABLE SOFTWARE TECHNOLOGIES - ADA- EUROPE 2007, PROCEEDINGS, 2007, 4498 : 168 - +
  • [22] Optical orthogonal code generation scheme and grouping of codes for optical CDMA systems
    Ram Chandra Singh Chauhan
    Arvind Kumar
    Prateek Raj Gautam
    International Journal of System Assurance Engineering and Management, 2021, 12 : 91 - 103
  • [23] Optical orthogonal code generation scheme and grouping of codes for optical CDMA systems
    Chauhan, Ram Chandra Singh
    Kumar, Arvind
    Gautam, Prateek Raj
    INTERNATIONAL JOURNAL OF SYSTEM ASSURANCE ENGINEERING AND MANAGEMENT, 2021, 12 (01) : 91 - 103
  • [24] NETWORK GENERATION USING THE PRUFER CODE
    MURPHY, CM
    HUNG, MS
    COMPUTERS & OPERATIONS RESEARCH, 1986, 13 (06) : 693 - 705
  • [25] Code generation for WSLAs using AXpect
    Swint, GS
    Pu, C
    IEEE INTERNATIONAL CONFERENCE ON WEB SERVICES, PROCEEDINGS, 2004, : 134 - 141
  • [26] Native Code Generation Using the Transterpreter
    Jacobsen, Christian L.
    Dimmich, Damian J.
    Jadud, Matthew C.
    COMMUNICATING PROCESS ARCHITECTURES 2006: WOTUG-29, 2006, 64 : 269 - 280
  • [27] An efficient code generation algorithm for code size reduction using 1-offset P-code queue computation model
    Canedo, Arquimedes
    Abderazek, Ben A.
    Sowa, Masahiro
    EMBEDDED AND UBIQUITOUS COMPUTING, PROCEEDINGS, 2007, 4808 : 196 - 208
  • [28] Optical encryption of personal identification information using orthogonal code
    Islam, Mohammed Nazrul
    Alam, Mohammad S.
    OPTICS AND PHOTONICS IN GLOBAL HOMELAND SECURITY II, 2006, 6203
  • [29] A study on a CDMA using orthogonal spreading code without synchronization
    Kawanami, Y
    Sasaoka, H
    ELECTRONICS AND COMMUNICATIONS IN JAPAN PART I-COMMUNICATIONS, 2003, 86 (04): : 19 - 34
  • [30] A Formal Application Model for Code and Test Generation
    Baranov, S. N.
    Kotlyarov, V. P.
    AUTOMATIC CONTROL AND COMPUTER SCIENCES, 2012, 46 (07) : 371 - 378