期刊文献+
共找到1篇文章
< 1 >
每页显示 20 50 100
Practical Type Checking of Functions Defined on Context-Free Languages 被引量:1
1
作者 Hai-MingChen Yun-MeiDong 《Journal of Computer Science & Technology》 SCIE EI CSCD 2004年第6期840-847,共8页
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 dynamica... 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. 展开更多
关键词 type checking context-free language ALGORITHM
原文传递
上一页 1 下一页 到第
使用帮助 返回顶部