Closures for statically-typed object-oriented languages

被引:0
|
作者
Guimaraes, JD [1 ]
机构
[1] UFSCar, Dept Computacao, Sao Carlos, SP, Brazil
关键词
closure; smalltalk blocks; object-oriented languages; green;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Closures increase considerably the level of a language by mixing access to local variables with remote execution of a set of locally-defined statements. However, to date closures have not been added to statically-typed languages because it is difficult to type them and runtime errors occur if local variables that no longer exist are accessed. We proposed a limited but quite general kind of closure for statically-typed object-oriented languages. They can be used in most situations normal closures can without introducing any runtime errors.
引用
收藏
页码:54 / 60
页数:7
相关论文
共 50 条
  • [41] Macro processing in object-oriented languages
    Chiba, S
    [J]. TOOLS 28: TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES, PROCEEDINGS, 1998, 28 : 113 - 126
  • [42] Contract soundness for object-oriented languages
    Findler, RB
    Felleisen, M
    [J]. ACM SIGPLAN NOTICES, 2001, 36 (11) : 1 - 15
  • [43] SELECTIVE SPECIALIZATION FOR OBJECT-ORIENTED LANGUAGES
    DEAN, J
    CHAMBERS, C
    GROVE, D
    [J]. SIGPLAN NOTICES, 1995, 30 (06): : 93 - 102
  • [44] Ur: Statically-Typed Metaprogramming with Type-Level Record Computation
    Chlipala, Adam
    [J]. ACM SIGPLAN NOTICES, 2010, 45 (06) : 122 - 133
  • [45] Ur: Statically-Typed Metaprogramming with Type-Level Record Computation
    Chlipala, Adam
    [J]. PLDI '10: PROCEEDINGS OF THE 2010 ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION, 2010, : 122 - 133
  • [46] INTERFACES FOR STRONGLY-TYPED OBJECT-ORIENTED PROGRAMMING
    CANNING, PS
    COOK, WR
    HILL, WL
    OLTHOFF, WG
    [J]. SIGPLAN NOTICES, 1989, 24 (10): : 457 - 467
  • [47] A statically verifiable programming model for concurrent object-oriented programs
    Jacobs, Bart
    Smans, Jan
    Piessens, Frank
    Schulte, Wolfram
    [J]. FORMAL METHODS AND SOFTWARE ENGINEERING, PROCEEDINGS, 2006, 4260 : 420 - 439
  • [48] TEACHING OBJECT-ORIENTED PROGRAMMING IS MORE THAN TEACHING OBJECT-ORIENTED PROGRAMMING-LANGUAGES
    KNUDSEN, JL
    MADSEN, OL
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1988, 322 : 21 - 40
  • [49] OBJECT MAPPING IN THE OPC-UA PROTOCOL FOR STATICALLY AND DYNAMICALLY TYPED PROGRAMMING LANGUAGES
    Nikiel, Piotr P.
    Korcyl, Krzysztof
    [J]. COMPUTING AND INFORMATICS, 2018, 37 (04) : 946 - 968
  • [50] Vortex: An optimizing compiler for object-oriented languages
    Dean, J
    DeFouw, G
    Grove, D
    Litvinov, V
    Chambers, C
    [J]. ACM SIGPLAN NOTICES, 1996, 31 (10) : 83 - 100