TPython:一种扩充的Python语言  被引量:1

TPython:An Extension of Python

在线阅读下载全文

作  者:余超[1,2] 周天琳[1,2] 周晓宇[1,2] 陈林[3,2] 徐宝文[3,2] 

机构地区:[1]东南大学计算机科学与工程学院,南京210096 [2]江苏省软件质量研究所,南京210096 [3]南京大学计算机科学与工程学院,南京210096

出  处:《计算机与数字工程》2009年第5期54-58,共5页Computer & Digital Engineering

基  金:国家杰出青年科学基金(编号:60425206);国家自然科学基金(编号:60503020);江苏省自然科学基金(编号:BK2006094)资助

摘  要:Python是一种流行的动态语言,但是由于完全的动态性影响了其执行效率和使用。因此,在Python基础上进行了静态化扩充,研制了TPython语言。该语言在注释中引入了可选的类型声明,并提供了包括类型检查在内的静态检查。相对于动态语言而言,TPython能够提高程序的可读性和可靠性,降低调试成本,相对于静态语言而言,TPython又具有语法简单,易于开发的优势。Python is a popular dynamic language, but its implementation efficiency and usability are affected by its totally dynamic property. So a TPython by extending Python has been created. TPython supports optional type declaration in comments and static checks including type check. Comparing to the dynamic languages, TPython can improve the read- ability and stability of the program, and can reduce the cost of tests. Comparing to the static languages, TPython still has the advantages of simple syntax and easy development.

关 键 词:类型声明 PYTHON 解释器 动态语言 

分 类 号:TP312[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象