Incorporating application semantics and control into compilation

被引:0
|
作者
Engler, DR
机构
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Programmers have traditionally been passive users of compilers, rather than active exploiters of their transformational abilities. This paper presents MAGIK, a system that allows programmers to easily and modularly incorporate application-specific extensions into the compilation process. The MAGIK system gives programmers two significant capabilities. First, it provides mechanisms that implementers can use to incorporate application semantics into compilation, thereby enabling both optimizations and semantic checking impossible by other means. Second, since extensions are invoked during the translation from source to machine code, code transformations (such as software fault isolation [14]) can be performed with full access to the symbol and data flow information available to the compiler proper, allowing them both to exploit source semantics and to have their transformations (automatically) optimized as any other code.
引用
收藏
页码:103 / 117
页数:3
相关论文
共 50 条
  • [1] From Mechanized Semantics to Verified Compilation: the Clight Semantics of CompCert
    Blazy, Sandrine
    [J]. FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, FASE 2024, 2024, 14573 : 1 - 21
  • [2] Precise exception semantics in dynamic compilation
    Gschwind, M
    Altman, E
    [J]. COMPILER CONSTRUCTION, PROCEEDINGS, 2002, 2304 : 95 - 110
  • [3] Compilation Semantics for a Programming Language with Versions
    Tanabe, Yudai
    Lubis, Luthfan Anshar
    Aotani, Tomoyuki
    Masuhara, Hidehiko
    [J]. PROGRAMMING LANGUAGES AND SYSTEMS, APLAS 2023, 2023, 14405 : 3 - 23
  • [4] 2-LEVEL FORMAL SEMANTICS AND SEMANTICS-DIRECTED COMPILATION
    TANG, ZS
    ZHENG, MS
    LI, X
    [J]. SCIENTIA SINICA SERIES A-MATHEMATICAL PHYSICAL ASTRONOMICAL & TECHNICAL SCIENCES, 1985, 28 (09): : 991 - 1001
  • [5] 2-LEVEL FORMAL SEMANTICS AND SEMANTICS-DIRECTED COMPILATION
    唐稚松
    郑茂松
    李新
    [J]. ScienceinChina,Ser.A, 1985, Ser.A.1985 (09) - 1001
  • [6] 2-LEVEL FORMAL SEMANTICS AND SEMANTICS-DIRECTED COMPILATION
    唐稚松
    郑茂松
    李新
    [J]. Science China Mathematics, 1985, (09) : 991 - 1001
  • [7] A Compositional Semantics for Verified Separate Compilation and Linking
    Ramananandro, Tahina
    Shao, Zhong
    Weng, Shu-Chun
    Koenig, Jeremie
    Fu, Yuchen
    [J]. CPP'15: PROCEEDINGS OF THE 2015 ACM CONFERENCE ON CERTIFIED PROGRAMS AND PROOFS, 2015, : 3 - 14
  • [8] SEMANTICS-DIRECTED COMPILATION OF NONLINEAR PATTERNS
    DANVY, O
    [J]. INFORMATION PROCESSING LETTERS, 1991, 37 (06) : 315 - 322
  • [9] SEMANTICS AND EFFICIENT COMPILATION FOR QUANTITATIVE DEDUCTIVE DATABASES
    STEGER, N
    SCHMIDT, H
    GUNTZER, U
    KIESSLING, W
    [J]. PROCEEDINGS : FIFTH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, 1989, : 660 - 669
  • [10] 2-LEVEL FORMAL SEMANTICS AND SEMANTICS-DIRECTED COMPILATION.
    Zhisong, Tang
    Maosong, Zheng
    Xin, Li
    [J]. Scientia sinica. Series A. Mathematical, physical, astronomical and technical sciences, 1985, 28 (09): : 991 - 1001