登录
首页 » c++ » 编译原理 词法分析 c++

编译原理 词法分析 c++

于 2022-02-25 发布 文件大小:322.44 kB
0 109
下载积分: 2 下载次数: 1

代码说明:

编译原理 词法分析 操作步骤: 1.在test文件夹中放入测试文档,命名为test编号.txt 2.打开lexicalTest.exe程序可见:   请选择要测试的文件:   1->test1.txt   2->test2.txt   3->test3.txt   4->test4.txt 3.输入先要测试的文档编号: 例如:1 4.词法分析器会将结果输出在test文件夹中的tokenOut.txt文件   词法分析完成,请检查tokenOut.txt文件 b ID := ASSIGN ( LPAREN c_781 ID := ASSIGN -5.12 NUM + PLUS 36E-1 NUM , COMMA c_871 ID ) RPAREN + PLUS 0.3E+4 NUM + PLUS -3.8 NUM ; SEMI out KEY ( LPAREN zy ID := ASSIGN c_871 ID + PLUS -56 NUM , COMMA b ID ) RPAREN

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • AT45SPI
    AT45DB161 在STM32平台下的驱动程序。可以读写(AT45DB161 READ AND WRITE PAGE FLASH)
    2011-12-23 17:20:30下载
    积分:1
  • Timers
    c8051f060中定时器设置的参考程序,用于定时器的设置(The timer is set to the C8051F060 reference procedures, used to set the timer)
    2015-03-06 18:39:07下载
    积分:1
  • matlabforC
    VC++实现vc调用matlab的程序的简单例子。vc6.0环境下测试通过。(VC vc call Matlab procedures simple example. Vc6.0 environment test.)
    2007-06-01 11:18:13下载
    积分:1
  • CUDA_by_Example
    《CUDA by Example》高清扫描版,学习CUDA编程必选的入门级图书。( CUDA by Example HD scan version, learn CUDA programming Required entry-level books.)
    2016-01-20 02:37:15下载
    积分:1
  • 车辆识别C#代码
    用C#写的车辆识别代码,识别的比输准确
    2022-07-14 02:23:14下载
    积分:1
  • API使用C++放大屏幕截图
    我们可能知道有很多方法来拍一张桌面截图。但有时我们可能想捕捉到桌面上没有一些指定的窗口。如果这些窗户是分层的,我们可能没有 使用BitBlt函数;captureblt  ;国旗在Windows XP上运行时。但现在我们正在运行Windows 7或Windows 8,在这种情况下的 ;BitBlt  ;功能无法执行此过滤了。因此,我们可能要排除更多的非分层窗口。因此,我们必须找到一种新的方法来做到这一点;
    2023-08-10 06:45:03下载
    积分:1
  • Figure-topological-sort
    说明:  拓扑排序   对一个 有向无环图 G进行拓扑排序,是将G中所有顶点排成一个线性序列,使得图中任 意一对顶点u和v,若u,v ∈E,则u在线性序列中出现在v之前。   通常,这样的线性序列称为满足拓扑次序的序列,简称 拓扑序列 。 注意:   ①若将图中顶点按拓扑次序排成一行,则图中所有的有向边均是从左指向右的。   ②若图中存在有向环,则不可能使顶点满足拓扑次序。   ③一个DAG的拓扑序列通常表示某种方案切实可行。 (Topological sort In a directed acyclic graph G topological sort, is all vertices will G formed a linear sequence, make diagram post Meaning a pair of vertex u and v, if u, v ∈ E, then u in linear sequence in which they appear in v before. Usually, such linear sequence sequence of topological order called meet, abbreviation topology sequence. Note: (1) if the diagram according to the topology order line vertices, then figure all from left to right edge are pointing. (2) if the figure to exist in the ring, is impossible to have the vertex meet topological sequence. (3) a DAG topological sequence usually expressed some scheme is feasible. )
    2011-03-22 17:19:14下载
    积分:1
  • avr M128 & proteus
    说明:  这个是M128单片机的一些程序和proteus的例程(this is somet about danpianji)
    2019-04-11 17:00:18下载
    积分:1
  • arcobjects--methods
    这本书是AO提高的必备书籍 他将庞大的AO抽丝剥茧 提供了不少快速掌握的捷径(a good book for increase your AE programming technique)
    2011-09-14 10:16:25下载
    积分:1
  • svd
    基于householder变换和QR分解的矩阵svd分解算法(svd using householder transformation and matrix QR decomposition)
    2020-08-16 10:08:26下载
    积分:1
  • 696516资源总数
  • 106442会员总数
  • 11今日下载