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 条
  • [32] Hardware architectures for programming languages and programming languages for hardware architectures
    Wirth, Niklaus
    Operating Systems Review (ACM), 1987, 21 (04): : 2 - 7
  • [33] On type systems for object-oriented database programming languages
    Leontiev, Y
    Özsu, MTR
    Szafron, D
    ACM COMPUTING SURVEYS, 2002, 34 (04) : 409 - 449
  • [34] PROGRAMMING LANGUAGES, NATURAL LANGUAGES, AND MATHEMATICS
    NAUR, P
    COMMUNICATIONS OF THE ACM, 1975, 18 (12) : 676 - 682
  • [35] Research on the Type System of Markup Languages
    Chen, Xing
    Hong, Kun
    Wang, Hai-tao
    2011 INTERNATIONAL CONFERENCE ON FUTURE COMPUTER SCIENCE AND APPLICATION (FCSA 2011), VOL 1, 2011, : 513 - 516
  • [36] Flow-insensitive type qualifier inference on programming languages allowing type casts
    Li, Huisong
    Computer Modelling and New Technologies, 2014, 18 (02): : 120 - 125
  • [37] TYPE DERIVATION GRAPHS - A WAY TO VISUALIZE THE TYPE BUILDING POSSIBILITIES OF PROGRAMMING-LANGUAGES
    GROSCH, J
    SIGPLAN NOTICES, 1983, 18 (12): : 60 - 68
  • [38] A Prototyping System for Hardware Distributed Objects with Diversity of Programming Languages
    Ohkawa, Takeshi
    Yokota, Takashi
    Ootsu, Kanemitsu
    PROCEEDINGS OF THE 2013 INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE TECHNOLOGY (FPT), 2013, : 474 - 477
  • [39] A Complier and Run-time system for Network Programming Languages
    Monsanto, Christopher
    Foster, Nate
    Harrison, Rob
    Walker, David
    ACM SIGPLAN NOTICES, 2012, 47 (01) : 217 - 230
  • [40] GPT-Empowered Personalized eLearning System for Programming Languages
    Jin, Jennifer
    Kim, Mira
    APPLIED SCIENCES-BASEL, 2023, 13 (23):