首页> 外文会议>IEEE International Conference on Machine Learning and Applications >A Formal Design for the Lexical and Syntax Analyzer of a Pedagogically Effective Subset of C++
【24h】

A Formal Design for the Lexical and Syntax Analyzer of a Pedagogically Effective Subset of C++

机译:C ++教学有效有效子集的词法和语法分析器的形式设计

获取原文
获取外文期刊封面目录资料

摘要

In this article, we have argued that a programming language can be improved for both teaching and learning by extracting its simpler subset, and by enforcing some useful constraints. We have further chosen a well known first programming language C++, and have defined its pedagogically effective subset, named Eazy, for teaching a first course in computer programming, generally known as CS1. In order to enforce the usage of the defined subset and to apply the constraints we need to modify the preprocessor of the language. To this end, we present a formal design for the lexical analyzer, and syntax analyzer for Eazy.
机译:在本文中,我们认为,可以通过提取编程语言的更简单子集并强制执行一些有用的约束来改进教学和学习中的编程语言。我们还选择了一种众所周知的第一编程语言C ++,并定义了其教学上有效的子集Eazy,用于教授计算机编程的第一门课程,通常称为CS1。为了强制使用已定义子集并应用约束,我们需要修改语言的预处理器。为此,我们为词法分析器和Eazy提供语法设计器的正式设计。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号