登录
首页 » Compiler program » 编译原理词法分析的一个小代码

编译原理词法分析的一个小代码

于 2023-03-11 发布 文件大小:1.50 kB
0 211
下载积分: 2 下载次数: 1

代码说明:

编译原理词法分析的一个小代码-compiler theory lexical analysis of a small code

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

发表评论

0 个回复

  • pl0修改后的源程序和报告 (1) 修改后的PL/0语言文本。包含词法分析(正规式),语法分析(BNF)。 (2) 有关修改后的PL/0编译/解释器的说...
    pl0修改后的源程序和报告 (1) 修改后的PL/0语言文本。包含词法分析(正规式),语法分析(BNF)。 (2) 有关修改后的PL/0编译/解释器的说明。详细说明你的编译器是如何编译新的PL/0语言程序的。指出你的程序中最精彩的部分,以及你为什么这样做,你是如何控制和恢复语义错误的。 (3) 给出你所改动后的编译器源程序清单,并标记出你所修改的部分。比较你的编译器和原来的编译器之间的差别。 (4) 说明你的编译器中可能存在的错误。 (5) 总结经验与教训,如果重做一遍,你会有哪些新的改进? -err
    2022-01-21 20:50:44下载
    积分:1
  • 在文本下编辑,把需要分析的程序写在zf
    在文本下编辑,把需要分析的程序写在zf-infile.txt内,程序的结尾必须以“@”标志符结束,程序结果输出在同目录内,文件名为zf-outfile.txt,此文件为自动生成。 - Edits under the text, the procedure which needs to analyze writes in zf-infile.txt, the procedure ending must the designator end by "@", the procedure result output in with the table of contents in, document named zf-outfile.txt, this document is the automatic production.
    2022-06-01 10:33:22下载
    积分:1
  • bison源代码.bison 是替代yacc的语法分析程序生成器. yacc是 Yet Another Compiler Compiler的缩写. bison又...
    bison源代码.bison 是替代yacc的语法分析程序生成器. yacc是 Yet Another Compiler Compiler的缩写. bison又是什么呐 是一个生成可以分析文本文件结构的程序的程序. 用户不用直接编写程序而只用确定好如何分析这些文本文件的规则就可以了. 这种文本结构应用的例子举不胜举, 其中一个就是计算器(calculator).-bison source code. Bison is a replacement generates a syntax analysis program generator. Yacc yes Yet Another Compiler Compiler"s initials. What is the bison Na is a generation of text files can be analyzed the structure of procedures procedures. users need not directly preparation procedures identified only as good Dr analysis of these text files on the rules. This text structure Application examples abound. which is a calculator (calculator).
    2023-05-26 21:20:03下载
    积分:1
  • 用LL(1)法对布尔表达式的语法分析
    用LL(1)法对布尔表达式的语法分析- (1) the law analyzes with LL to the Boolean expression grammar
    2022-01-21 05:59:58下载
    积分:1
  • 词法分析程序设计 1、给出各单词符号的类别编码。 2、词法分析程序应能发现输入串中的错误。 3、词法分析作为单独一遍编写,词法分析结果为二元式序列组成的...
    词法分析程序设计 1、给出各单词符号的类别编码。 2、词法分析程序应能发现输入串中的错误。 3、词法分析作为单独一遍编写,词法分析结果为二元式序列组成的-Lexical analysis program design one, given the various types of code word symbols. 2, lexical analysis procedure should be able to detect errors in the input strings. 3, again as a separate lexical analysis prepared for morphological analysis of binary sequence composed of
    2022-03-25 19:56:04下载
    积分:1
  • vhdl
    vhdl语言
    2023-03-11 04:40:03下载
    积分:1
  • 编译器,词法分析和语法分析,里面利用到了哈希表来加快搜索字符表速度....
    编译器,词法分析和语法分析,里面利用到了哈希表来加快搜索字符表速度.-compiler, lexical analysis and parsing, to use inside the hash table to expedite the search speed character tables.
    2022-01-31 23:12:32下载
    积分:1
  • Borland Pascal写的8051单片机模拟仿真器。内有源码,可惜是16位机的程序,只能在WIN98之前的系统可以正常使用。哪位高人能把源码改成W32就好...
    Borland Pascal写的8051单片机模拟仿真器。内有源码,可惜是16位机的程序,只能在WIN98之前的系统可以正常使用。哪位高人能把源码改成W32就好了。-Written in Borland Pascal simulation device 8051. There are source code, but is 16-bit machine procedures, only in WIN98 system before normal use. An expert source who can change the W32 just fine.
    2022-01-20 22:34:08下载
    积分:1
  • brief introduction, the entire project is divided into five documents : Main.c
    简单介绍一下,整个工程分为5个文件:Main.c ----- 程序的入口点,其实很简单,就是调用两个函数。Global.h ----- 定义了一些全局变量及宏Parse.h ----- 语法分析器的主要算法Prece.h ----- 定义和实现了一些关于优先级的操作Stack.h ----- 定义和实现了一个栈及其操作编译的时候只要用TC2.0或者WinTC打开Main.c文件进行编译就好了。如发现有Bug请在这里贴出来或者把修改后的代码跟帖在这里:)总之,这个工程仅仅是一个简单示例,告诉大家怎么样把课堂上学到的知识运用到实际编程当中去,工程中所用到的模块化思想,数据结构等知识都是大家学过的,大三了,希望大家在最后这段时间里把写程序的本领练就出来。:)-brief introduction, the entire project is divided into five documents : Main.c----- procedure entry point, it is actually very simple, it is called two functions. Global.h----- definition of global variables and Wang Parse.h----- parser the main algorithm Prece.h----- definition and realization of a number of priority the operation Stack.h----- the definition and implementation of a stack and operation of the compiler used whenever WITH TC 2.0 or WinTC open Main.c documents compiled enough. If found please Bug out here or affixed to amend the code of Columbia here :) Overall, the project is just a simple example, like to tell you how to put classroom knowledge
    2022-09-22 15:55:02下载
    积分:1
  • Open Source Watom C Complier Package.the Complier support IA32,etc. To kown...
    Open Watcom 的 C 编译器源代码,别的就不说了- Open Source Watom C Complier Package.the Complier support IA32,etc. To kown the detail,Please view the Package.
    2022-03-24 05:51:13下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载