全部版块 我的主页
论坛 数据科学与人工智能 IT基础 Scala及其他JVM语言
1402 0
2015-04-26

Implementing A Universe Type System for Scala


Manfred Stock


Master Thesis Project Report


Software Component Technology Group


Department of Computer Science


ETH Zurich


http://sct.inf.ethz.ch/


August 2007 – January 2008




Abstract
The Universe type system is based on the concept of ownership where everyobject has at most one owner object. It structures the object store usingdifferent contexts, which are sets of objects with the same owner, andrestricts how references can be passed and used. When enforcing theowner-as-modifier property, the Universe type system guarantees that anymodification of an object can only be initiated by its owner object.
Scala is a multi-paradigm programming language combining features ofobject-oriented and functional languages. It supports compiler plugins andannotations on types which allows the implementation of additional typeconstraints such as those imposed by the Universe type system.
This thesis presents an implementation of the Universe type system forScala. The implementation supports a subset of the Scala language. Itprovides two compiler plugins for the Scala compiler and a set ofannotations for the use in programs. One plugin performs the staticUniverse type checks and the other plugin inserts additional runtimechecks during compilation.


本帖隐藏的内容

Implementing a Universe Type Checker in Scala.pdf
大小:(1.01 MB)

只需: 5 个论坛币  马上下载





二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群