Institutional Repository
| practical type checking of functions defined on context-free languages | |
| Chen Haiming; Yun-Mei Dong | |
| 2004 | |
| Source | Journal of Computer Science and Technology
![]() |
| Volume | 19Issue:6Pages:840-847 |
| English Abstract | A type checking method for the functional language LFC is presented. A distinct feature of LFC is that it uses Context-Free (CF) languages as data types to represent compound data structures. This makes LFC a dynamically typed language. To improve efficiency, a practical type checking method is presented, which consists of both static and dynamic type checking. Although the inclusion relation of CF.languages is not decidable,a special subset of the relation is decidable, i.e., the sentential form relation, which can be statically checked.Moreover, most of the expressions in actual LFC programs appear to satisfy this relation according to the statistic data of experiments. So, despite that the static type checking is not complete, it undertakes most of the type checking task. Consequently the run-time efficiency is effectively improved. Another feature of the type checking is that it converts the expressions with implicit structures to structured representation. Structure reconstruction technique is presented. |
| Indexed Type | ei,sci |
| Keyword | Type Checking Context-free Language Algorithm |
| Department | 计算机科学国家重点实验室 |
| Language | 英语 |
| WOS ID | WOS:000225656600015 |
| Citation statistics | |
| Content Type | 期刊论文 |
| URI | http://ir.iscas.ac.cn/handle/311060/2851 |
| Collection | 基础软件与系统重点实验室 |
| Recommended Citation GB/T 7714 | Chen Haiming,Yun-Mei Dong. practical type checking of functions defined on context-free languages[J]. Journal of Computer Science and Technology,2004,19(6):840-847. |
| APA | Chen Haiming,&Yun-Mei Dong.(2004).practical type checking of functions defined on context-free languages.Journal of Computer Science and Technology,19(6),840-847. |
| MLA | Chen Haiming,et al."practical type checking of functions defined on context-free languages".Journal of Computer Science and Technology 19.6(2004):840-847. |
| Files in This Item: | ||||||
| File Name/Size | DocType | Version | Access | License | ||
| 20041906840.pdf(712KB) | 开放获取 | -- | Application Full Text | |||
Items in the repository are protected by copyright, with all rights reserved, unless otherwise indicated.
Edit Comment