期刊文献+

Shrek:a dynamic object-oriented programming language 被引量:1

Shrek:一个动态面向对象程序设计语言(英文)
下载PDF
导出
摘要 From a perspective of theoretical study, there are some faults in the models of the existing object-oriented programming languages. For example, C# does not support metaclasses, the primitive types of Java and C# are not objects, etc. So, this paper designs a programming language, Shrek, which integrates many language features and constructions in a compact and consistent model. The Shrek language is a class-based purely object-oriented language. It has a dynamical strong type system, and adopts a single-inheritance mechanism with Mixin as its complement. It has a consistent class instantiation and inheritance structure, and the ability of intercessive structural computational reflection, which enables it to support safe metaclass programming. It also supports multi-thread programming and automatic garbage collection, and enforces its expressive power by adopting a native method mechanism. The prototype system of the Shrek language is implemented and anticipated design goals are achieved. 以理论研究的视角,现有面向对象程序设计语言的理论模型存在不足,如C++不支持元类,Java和C#的基本类型不是对象等.为此,设计了一种程序设计语言Shrek,将多种语言特性和语言设施统一在一个简洁、一致的模型下实现.Shrek语言是基于类的完全面向对象语言,拥有动态强类型系统,采用了与Mixin相结合的单继承机制.该语言具有协调一致的类对象结构,具备结构化计算反射能力,能够进行安全的元类程序设计.另外,它还支持多线程程序设计和自动垃圾回收,并通过本地方法机制极大地增强了自身的表达能力.该语言的原型系统已经实现,达到了预期的设计目标.
出处 《Journal of Southeast University(English Edition)》 EI CAS 2009年第1期31-35,共5页 东南大学学报(英文版)
基金 The National Science Fund for Distinguished Young Scholars (No.60425206) the National Natural Science Foundation of China (No.60633010) the Natural Science Foundation of Jiangsu Province(No.BK2006094)
关键词 dynamic typing metaclass programming computational reflection native method object-oriented programming language 动态类型 元类程序设计 计算反射 本地方法 面向对象程序设计语言
  • 相关文献

参考文献10

  • 1Friedman D P,Haynes C T,Wand M.Essentials of pro-gramming languages[]..2008
  • 2Meijer E,Drayton P.Static typing where possible,dynamic typing when needed:the end of the cold war between pro-gramming languages[].OOPSLA Workshop on Revival of Dynamic Languages.2004
  • 3Bracha G,Cook W.Mixin-based inheritance[].ProcJoint ACM Conference on Object-Oriented ProgrammingSystemsLanguages and Applications and the European Conference on Object-Oriented Programming.1990
  • 4Bouraqadi N.Safe metaclass composition using mixin-based inheritance[].Journal of Computer LanguagesSystems and Structures.2004
  • 5Graube N.Metaclass compatibility[].Proc of theth ACM SIGPLAN Conference on Object-Oriented Program-mingSystemsLanguagesand Applications.1989
  • 6Bouraqadi N,Ledoux T,Rivard F.Safe metaclass program-ming[].Proc of theth ACM SIGPLAN Conference on Object-Oriented ProgrammingSystemsLanguagesand Ap-plications.1998
  • 7Cao Jing,Xu Baowen.Safe metaclass programming based on non-strictly parallel single inheritance[].Proc of theth Conference on the Development and Education of Program-ming Languages.2006
  • 8Smith B C.Reflection and semantics in Lisp[].Proc of theth ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages.1984
  • 9Maes P.Concepts and experiments in computational reflec-tion[].Proc of thend ACM SIGPLAN Conference on Object-Oriented ProgrammingSystemsLanguagesand Ap-plications.1987
  • 10Kojarski S,Lorenz D H.AOP as a first class reflective mechanism[].Proc of theth ACM SIGPLAN Confer-ence on Object-Oriented ProgrammingSystemsLanguagesand Applications.2004

同被引文献20

引证文献1

二级引证文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部