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 条
  • [31] Constrained Types for Object-Oriented Languages
    Nystrom, Nathaniel
    Saraswat, Vijay
    Palsberg, Jens
    Grothoff, Christian
    [J]. ACM SIGPLAN NOTICES, 2008, 43 (10) : 457 - 474
  • [32] PARALLELISM IN OBJECT-ORIENTED LANGUAGES - A SURVEY
    WYATT, BB
    KAVI, K
    HUFNAGEL, S
    [J]. IEEE SOFTWARE, 1992, 9 (06) : 56 - 66
  • [33] Orthogonal persistence and object-oriented languages
    Lew, KCF
    Brown, AL
    [J]. PROCEEDINGS OF THE 21ST AUSTRALASIAN COMPUTER SCIENCE CONFERENCE, ACSC'98, 1998, 20 (01): : 333 - 344
  • [34] Evaluating object-oriented query languages
    [J]. Chan, Daniel K.C, 1600, Oxford Univ Press, Oxford (37):
  • [35] Macro processing in object-oriented languages
    Chiba, S
    [J]. TOOLS 28: TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES, PROCEEDINGS, 1998, 28 : 113 - 126
  • [36] A survey of concurrent object-oriented languages
    Philippsen, M
    [J]. CONCURRENCY-PRACTICE AND EXPERIENCE, 2000, 12 (10): : 917 - 980
  • [37] Classes and modules in object-oriented languages
    Barron-Estrada, ML
    Stansifer, R
    Zatarain-Cabada, R
    [J]. 8TH WORLD MULTI-CONFERENCE ON SYSTEMICS, CYBERNETICS AND INFORMATICS, VOL IX, PROCEEDINGS: COMPUTER SCIENCE AND ENGINEERING: I, 2004, : 138 - 143
  • [38] EVALUATING OBJECT-ORIENTED QUERY LANGUAGES
    CHAN, DKC
    TRINDER, PW
    WELLAND, RC
    [J]. COMPUTER JOURNAL, 1994, 37 (10): : 858 - 872
  • [39] Session types for object-oriented languages
    Dezani-Ciancaglini, Mariangiola
    Mostrous, Dimitris
    Yoshida, Nobuko
    Drossopoulou, Sophia
    [J]. ECOOP 2006 - OBJECT-ORIENTED PROGRAMMING, PROCEEDINGS, 2006, 4067 : 328 - 352
  • [40] Workshop on Foundations of Object-Oriented Languages
    Bruce, KB
    [J]. INFORMATION AND COMPUTATION, 2002, 175 (01) : 1 - 2