首页 | 本学科首页   官方微博 | 高级检索  
     

TPython:一种扩充的Python语言
引用本文:余超,周天琳,周晓宇,陈林,徐宝文.TPython:一种扩充的Python语言[J].计算机与数字工程,2009,37(5):54-58.
作者姓名:余超  周天琳  周晓宇  陈林  徐宝文
作者单位:1. 东南大学计算机科学与工程学院,南京,210096;江苏省软件质量研究所,南京,210096
2. 南京大学计算机科学与工程学院,南京,210096;江苏省软件质量研究所,南京,210096
基金项目:国家杰出青年科学基金,国家自然科学基金,江苏省自然科学基金 
摘    要:Python是一种流行的动态语言,但是由于完全的动态性影响了其执行效率和使用。因此,在Python基础上进行了静态化扩充,研制了TPython语言。该语言在注释中引入了可选的类型声明,并提供了包括类型检查在内的静态检查。相对于动态语言而言,TPython能够提高程序的可读性和可靠性,降低调试成本,相对于静态语言而言,TPython又具有语法简单,易于开发的优势。

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

TPython:An Extension of Python
Yu Chao,Zhou Tianlin,Zhou Xiaoyu,Chen Lin,Xu Baowen.TPython:An Extension of Python[J].Computer and Digital Engineering,2009,37(5):54-58.
Authors:Yu Chao  Zhou Tianlin  Zhou Xiaoyu  Chen Lin  Xu Baowen
Affiliation:College of Computer Science Technology and Engineering;Southeast University1;College of Computer Science Technology and Engineering;Nanjing University2;Jiangsu Institution of Software Quality3
Abstract: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 readability 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.
Keywords:Python
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号