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

基于Java的CUP构造编译器的实现方法研究
引用本文:李超.基于Java的CUP构造编译器的实现方法研究[J].科技信息,2009(31):I0023-I0024.
作者姓名:李超
作者单位:安徽建筑工业学院电信学院,安徽合肥230022
基金项目:安徽建筑工业学院青年科研基金项目(项目编号:200510306).
摘    要:介绍了编译器自动生成器的基本原理,探讨了基于Java的CUP及其出错恢复机制,通过设计一个简单计算器,阐述了利用CUP(Constructor of Useful Parsers)构造编译器的方法。

关 键 词:编译器  CUP  分析器生成器

Research of Realization Method of Constructing Compilers With CUP Based on Java
LI Chao.Research of Realization Method of Constructing Compilers With CUP Based on Java[J].Science,2009(31):I0023-I0024.
Authors:LI Chao
Institution:LI Chao (Dept.of electronic and Information Engineering of Anhui Institute of Architecture & Industry, Hefei Anhui,230022, China)
Abstract:The principles of automatic generation of compilers are introduced.This paper also discussed of the CUP based on Java and its error recovery mechanism. The method of constructing compilers with CUP is presented, and an example of calculator designing is proposed.
Keywords:Compiler  Constructor of Useful Parsers  Parser generator
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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