登录
首页 » Compiler program » 用C++编写的编译原理词法分析

用C++编写的编译原理词法分析

于 2023-04-21 发布 文件大小:6.78 kB
0 779
下载积分: 2 下载次数: 1

代码说明:

用C++编写的编译原理词法分析- Translation principle lexical analysis compiles which with C

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

发表评论

0 个回复

  • 这里以开始定义的PASCAL语言子集的源程序作为词法分析程序的输入数据。在词法分析中,自文 件头开始扫描源程序字符,一旦发现符合“单词”定义的源程序字符串时,将...
    这里以开始定义的PASCAL语言子集的源程序作为词法分析程序的输入数据。在词法分析中,自文 件头开始扫描源程序字符,一旦发现符合“单词”定义的源程序字符串时,将它翻译成固定长度的单 词内部表示,并查填适当的信息表。经过词法分析后,源程序字符串(源程序的外部表示)被翻译成 具有等长信息的单词串(源程序的内部表示),并产生两个表格:常数表和标识符表,它们分别包含 了源程序中的所有常数和所有标识符。- Here starts the PASCAL language subset source program which defines to take the lexical analyaer the data-in. In the lexical analysis, starts from the article article to scan the source program character, once discovered when conforms to "the word" the definition source program character string, translates it the fixed length the word interior to indicate, and looks up fills in the suitable information table. After the lexical analysis, the source program character string (source program exterior expression) is translated has and so on the long information the word string (source program internal expression), and produces two forms: The chart and the identifier table, they have separately contained in source program all constants and all identifiers.
    2022-03-30 16:56:06下载
    积分:1
  • 转别人的,很难找,不会编译啊,请教高手多指点
    转别人的,很难找,不会编译啊,请教高手多指点-To others, it is difficult to find, will not compile, ah, many experts point to ask
    2022-07-11 02:22:54下载
    积分:1
  • 编译原理词法分析的一个小代码
    编译原理词法分析的一个小代码-compiler theory lexical analysis of a small code
    2023-03-11 17:40:04下载
    积分:1
  • 1招文档生成工具。打开命令行2.input tricktest用法:电…
    生成Trick文件工具 1.Open command line 2.input tricktest Usage: TrickTest -f -o -i -f source mpeg2 file to trick -o trick output directory -i output file id -m max coding error, default 0 -b max bitrate for trick generate, default 0 mean no limit -s trick buffer block size, must be n*188 -l log file, default c: ricktest.log example: tricktest -f 黑鹰行动.mpg -o c: emp -i A -m 1000 -b 3750000 soure file: 黑鹰行动.mpg output directory: c: emp filename: 000000A,000000A.ff,000000A.fr,000000A.vvx max coding error: 1000 trick generation speed: 3750000 bps a-Trick document generation tool 1.Open command line 2.input tricktest Usage: TrickTest-f-o-i-f source mpeg2 file to trick-o trick output directory-i output file id-m max coding error, default 0-b max bitrate for trick generate, default 0 mean no limit-s trick buffer block size, must be n* 188-l log file, default c: tricktest.log example: tricktest-f Black Hawk operations. mpg-oc: temp-- i A-m 1000-b 3750000
    2022-03-16 15:10:37下载
    积分:1
  • 判断a^mba^n m,n=0的字符串
    判断a^mba^n m,n=0的字符串- Judges a^mba^n m, the n=0 character string
    2022-05-24 12:20:42下载
    积分:1
  • 一简单小型类pascal语言编译器的词法分析程序,附详细的实验报告...
    一简单小型类pascal语言编译器的词法分析程序,附详细的实验报告-a small category pascal simple language compiler of lexical analysis procedures, with details of the experimental report
    2023-04-27 14:10:02下载
    积分:1
  • 为你的脚本语言编辑器添加智能感知效果,就像VS开发环境的自动提示一样....
    为你的脚本语言编辑器添加智能感知效果,就像VS开发环境的自动提示一样.-For your scripting language editor to add intellisense effects, like the VS development environment, like the automatic prompts.
    2022-12-26 09:50:03下载
    积分:1
  • dropped by recursive approach to design their own compiler, generating PL/0 Stac...
    按递归下降方式设计其编译程序,生成PL/0栈式指令代码,然后解释执行。用(a=1)+2*(b=3+4*5)/2+2*a*b-(a=a+5)/ (c=2) 测试-dropped by recursive approach to design their own compiler, generating PL/0 Stack-code instructions, and then the interpretation and implementation. Using (a = 1) 2* (b = 3 4* 5)/2* a* b- (a = 5 a)/(c = 2) Testing
    2022-01-25 23:49:31下载
    积分:1
  • 词法语法分析,说明说明原理的词法分析和语法分析的全过程!...
    词法语法分析,说明说明原理的词法分析和语法分析的全过程!-Lexical syntax analysis that the principle of lexical analysis and syntax analysis of the entire process!
    2022-07-12 11:41:15下载
    积分:1
  • 这个程序为C++编写的词法分析器,能够简单的分析一段代码,供学习之用。...
    这个程序为C++编写的词法分析器,能够简单的分析一段代码,供学习之用。-This procedure C++ Prepared lexical analyzer that can analyze a simple piece of code for learning purposes.
    2022-02-02 00:09:32下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载