Type system in programming languages

被引:0
|
作者
Jiang, H [1 ]
Lin, D
Zhang, XY
Xie, XR
机构
[1] Inst Commun Engn, Dept Comp Engn, Nanjing 210016, Peoples R China
[2] Natl Def Univ China, Beijing 100091, Peoples R China
基金
中国国家自然科学基金;
关键词
type system; type inference; type-checking; type theory; semantic model;
D O I
10.1007/BF02943207
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Type system provides a precise description of a programming language. This is a prerequisite for the implementation and use of language. It also conducts mechanical and transparent type-checking on programs to prevent the occurrence of execution error during the running of programs. So, it can be said that, on the one hand, type system works as a formal tool to do mathematical analysis of language; on the other hand, it is a formal method for rigorously and precisely designing and implementing language. In this paper, some basic concepts of type system are discussed first. And then, the implementation of a graph-rewriting-based functional language - SClean's type system is given in details. It is hoped that the proposed method of using and implementing type system is of practical usefulness.
引用
收藏
页码:286 / 292
页数:7
相关论文
共 50 条
  • [11] Type systems of object-oriented programming languages
    Li, Xiaoyan
    Li, Bin
    Xiaoxing Weixing Jisuanji Xitong/Mini-Micro Systems, 2000, 21 (06): : 650 - 652
  • [12] Aspectual shift as type coercion (Analogy with programming languages)
    Pulman, SG
    TRANSACTIONS OF THE PHILOLOGICAL SOCIETY, 1997, 95 (02) : 279 - 317
  • [13] Three Patterns of Data Type Composition in Programming Languages
    Batdalov, Ruslan
    Nikiforova, Oksana
    EUROPLOP 2018: PROCEEDINGS OF THE 23RD EUROPEAN CONFERENCE ON PATTERN LANGUAGES OF PROGRAMS, 2018,
  • [14] Fast Type Reconstruction for Dynamically Typed Programming Languages
    Pluquet, Frederic
    Marot, Antoine
    Wuyts, Roel
    ACM SIGPLAN NOTICES, 2009, 44 (12) : 69 - 78
  • [15] Linear Dependent Type Theory for Quantum Programming Languages
    Fu, Peng
    Kishida, Kohei
    Selinger, Peter
    PROCEEDINGS OF THE 35TH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS 2020), 2020, : 440 - 453
  • [16] BINDING AND TYPE CHECKING IN DATABASE PROGRAMMING-LANGUAGES
    ATKINSON, M
    BUNEMAN, P
    MORRISON, R
    COMPUTER JOURNAL, 1988, 31 (02): : 99 - 109
  • [17] Type Capabilities for Object-Oriented Programming Languages
    Wu, Xi
    Lu, Yi
    Meiring, Patrick A.
    Hayes, Ian J.
    Meinicke, Larissa A.
    FORMAL METHODS AND SOFTWARE ENGINEERING, ICFEM 2018, 2018, 11232 : 215 - 230
  • [18] PROGRAMMING LANGUAGES
    LEATHRUM, JF
    DATAMATION, 1970, 16 (04): : 292 - &
  • [19] PROGRAMMING LANGUAGES
    Tratt, Laurence
    Welc, Adam
    IEEE SOFTWARE, 2014, 31 (05) : 33 - 34
  • [20] PROGRAMMING LANGUAGES
    Niazi, Muaz A.
    COMPUTER, 2012, 45 (10) : 6 - 6