、该个词法分析器要求至少能够识别以下几类单词: a. 关键字:else if int return void while共6个,所有的关键字都是保留字,并且必须是小写; b. 标识符:识别与C语言词法规定相一致的标识符,通过下列正则表达式定义:ID = letter (letter | digit)*; c. 常数:NUM=(+ | - |ε)digit digit*(.digit digit* |ε)(e(+ | - |ε) digit digit* |ε),letter = a|..|z|A|..|Z|,digit = 0|..|9,包括整数,如123, -123, +123等;小数,如123.45, +123.45, -123.45;科学计数法表示的常数,如+1.23e3,-2.3e-9; d. 专用符号:+ - * / < <= > >= == != = , ( ) [ ] { } /* */;
上传时间: 2013-12-08
上传用户:gtf1207
This file contains a test program for showing how to use the joystick and the LCD display. The display will show the joystick position. Joystick.c
标签: the contains joystick display
上传时间: 2016-07-01
上传用户:fxf126@126.com
按照Clifford A . Shaffer《数据结构与算法分析(第二版)》指导,用C#实现的B+树,接口定义良好。最好重写“从文件载入新建树部分”的代码以提高建树效率。实现细节之一:当“需要插入子节点的节点”已满而相邻节点未满时会平分两者节点而不是分裂该节点。
标签: Clifford Shaffer 数据结构 算法分析
上传时间: 2016-07-02
上传用户:362279997
libsvm is a simple, easy-to-use, and efficient software for SVM classification and regression. It solves C-SVM classification, nu-SVM classification, one-class-SVM, epsilon-SVM regression, and nu-SVM regression. It also provides an automatic model selection tool for C-SVM classification. This document explains the use of libsvm.
标签: classification easy-to-use regression and
上传时间: 2013-12-18
上传用户:253189838
密码算法程序包miracl contains all the source code for the latest version of MIRACL: a Multiprecision Integer and Rational Arithmetic C/C++ library.
标签: Multiprecision the contains version
上传时间: 2016-07-08
上传用户:xinyuzhiqiwuwu
In this book, you will acquire a comprehensive understanding of GIMP Toolkit (GTK+) that can help you to become a proficient graphical programmer. Before continuing, you should be aware that this book is aimed at C programmers, so we will jump right into using GTK+. Time will not be spent covering information you already know.
标签: comprehensive understanding acquire Toolkit
上传时间: 2014-01-22
上传用户:Miyuki
全国第四届java技术与应用交流论文集 一、专题综述 1.JXT--A PEER-TO-PEER TECHNOLOG.. 2.JAVA智能卡技术及其它世界各国的广泛.. 3.选择java战略决策 .... 二、Java平台的应用与开发 A.多级网站模式中数据同步机制的研究 B.构件与java平台下的电子商务构件开发 C.一个用JAVA实现的并行计算的应用实例 .... 三、Java技术与应用 1.JAVA子集部分求值器的约束时间分析 2.基于J2EE的电子书店 3.用JAVA语言实现网上定餐
标签: java PEER-TO-PEER TECHNOLOG JAVA
上传时间: 2014-06-21
上传用户:杜莹12345
一个简单的Java多线程的小例子。 a) Producer 生产 String,并保存在 ArrayList 中。Consumer 消耗(读出并显 示)String,并把它从 ArrayList 中删除。生产和消耗应在 console有打印显示。 b) 可指定生产者生产多少个数据,也可以指定消费者消耗多少个数据。完成要求数据 的生产或消费以后,线程自动终止。(应提供相应的构造函数来指定数据个数) c) 当容器内没有数据时,Consumer 应等待,等容器内有新的数据后再次开始消费。
上传时间: 2016-07-22
上传用户:yimoney
C编译器产生的可显示机器码/汇编代码文件,其中附有源C v: v: @8 g: X& z代码作为注释 : z! [3 \) O&...UWOW Grave Composer音乐模块(MOD)文件 + Q* T) \ z) R f$ a: H, iWP WordPerfect文档 H! t7 D2 |...
上传时间: 2013-12-14
上传用户:love_stanford
Project file for MS Visual C++ 6.0. Requires GLUT DLL (www.opengl.org) Adjust program constants in Landscape.h and Utility.cpp. MAPS: Default map is read from HeghtXXX.raw where XXX is the MAP_SIZE (as defined in Landscape.h). If this map is not found, the program attempts to open "Map.ved", a Tread Marks map file. Tread Marks maps will only work for MAP_SIZE == 1024. Also, the MULT_SCALE to view Tread Marks maps correctly is "0.25f". (www.TreadMarks.com)
标签: constants Requires Project program
上传时间: 2014-12-03
上传用户:LouieWu