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 条
  • [41] A Compiler and Run-time System for Network Programming Languages
    Monsanto, Christopher
    Foster, Nate
    Harrison, Rob
    Walker, David
    POPL 12: PROCEEDINGS OF THE 39TH ANNUAL ACM SIGPLAN-SIGACT SYMPOSIUM ON PRINCIPLES OF PROGRAMMING LANGUAGES, 2012, : 217 - 230
  • [43] THE STANDARDIZATION OF PROGRAMMING LANGUAGES
    ALT, L
    COMMUNICATIONS OF THE ACM, 1964, 7 (07) : 397 - 397
  • [44] Understanding programming languages
    Turner, Raymond
    MINDS AND MACHINES, 2007, 17 (02) : 203 - 216
  • [45] Programming languages and gender
    Dattero, R
    Galup, SD
    COMMUNICATIONS OF THE ACM, 2004, 47 (01) : 99 - 102
  • [46] Quantum programming languages
    Heim, Bettina
    Soeken, Mathias
    Marshall, Sarah
    Granade, Chris
    Roetteler, Martin
    Geller, Alan
    Troyer, Matthias
    Svore, Krysta
    NATURE REVIEWS PHYSICS, 2020, 2 (12) : 709 - 722
  • [47] PROGRAMMING LANGUAGES FOR HUMANITIES
    RASKIN, JF
    COMPUTERS AND THE HUMANITIES, 1971, 5 (03): : 155 - &
  • [48] STANDARDIZATION OF PROGRAMMING LANGUAGES
    BROMBERG, H
    DATAMATION, 1967, 13 (12): : 63 - 64
  • [49] Multiprocessor programming languages
    不详
    EDN, 2002, 47 (24) : 54 - 54
  • [50] PROGRAMMING-LANGUAGES
    TESLER, LG
    SCIENTIFIC AMERICAN, 1984, 251 (03) : 70 - &