登录
首页 » Compiler program » 设计、编制并调式一个词法分析程序,加深对词法分析原理的理解,对字符串型单词符号(if,then,while,do...

设计、编制并调式一个词法分析程序,加深对词法分析原理的理解,对字符串型单词符号(if,then,while,do...

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

代码说明:

设计、编制并调式一个词法分析程序,加深对词法分析原理的理解,对字符串型单词符号(if,then,while,do----)等等用函数int reserve(char* p)来处理,对单词符号(+,-,*,/,=-----)等等用switch()来处理。-cifafenxi

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

发表评论

0 个回复

  • 这是一个词法分析程序,能够区分标识符、数字、表达式。程序输入为一个文件,程序结果保存到一个链表中。...
    这是一个词法分析程序,能够区分标识符、数字、表达式。程序输入为一个文件,程序结果保存到一个链表中。-This is a lexical analysis procedure and can distinguish identifier, figures and expression. Procedures for the importation of a document, the results of the proceedings to preserve a Linklist.
    2022-09-26 21:45:02下载
    积分:1
  • JC1.0。本编译器包含完整的文档与程序。借助 Lex & Bison, masm 开发。语句5个,支持混合运算。输入输出作为两个 IO 语句(函数调用),由汇...
    JC1.0。本编译器包含完整的文档与程序。借助 Lex & Bison, masm 开发。语句5个,支持混合运算。输入输出作为两个 IO 语句(函数调用),由汇编实现并编译为 io.obj,将由 Link 链接。生成 EXE。整个流程完整清晰,代码易读。-JC1.0. The compiler includes complete documentation and procedures. With Lex Bison, can develop. Statement 5, support mixed computing. Input and output as two IO statement (function call), compiled by the compiler to achieve and io.obj will link Link. EXE generation. The entire process, complete and clear, legible code.
    2022-03-02 14:29:23下载
    积分:1
  • 针对java语言的最简词法分析器 输入原文件输出目标文件。txt
    针对java语言的最简词法分析器 输入原文件输出目标文件。txt
    2022-04-21 03:15:00下载
    积分:1
  • 计算所汉语词法分析系统ICTCLAS.分词正确率高达97.58%(973专家组评测),未登录词识别召回率均高于90%,其中中国人名的识别召回率接近98%处理速度...
    计算所汉语词法分析系统ICTCLAS.分词正确率高达97.58%(973专家组评测),未登录词识别召回率均高于90%,其中中国人名的识别召回率接近98%处理速度为31.5Kbytes/s。ICTCLAS的特色还在于:可以根据需要输出多个高概率结果,有多种输出格式,支持北大词性标注集,973专家组给出的词性标注集合。-Calculate the Chinese Lexical Analysis System ICTCLAS. Segmentation correct rate of 97.58 percent (973 Expert Group on Evaluation), the recall rate of identification of unknown words were higher than 90 percent, of which China s name to identify the recall rate of nearly 98 percent processing speed for 31.5Kbytes/s. Also features ICTCLAS is: can output a number of high probability that there are a variety of output formats, to support the North-of-speech tagging sets, 973 expert group is given a collection of-speech tagging.
    2022-11-30 21:35:04下载
    积分:1
  • About lex with which sends document
    一个关于lex用发的document- About lex with which sends document
    2022-07-15 18:41:02下载
    积分: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
  • 正则表达式
    regex-spencer-3.8-lib.zip
    2022-03-05 17:35:07下载
    积分:1
  • Compiler Type Check & Scope Check
    Compiler Type Check & Scope Check
    2022-07-24 19:39:32下载
    积分:1
  • A very simple BASIC interpreter. Quite compatible with Microsoft MBASIC (CP/M) a...
    A very simple BASIC interpreter. Quite compatible with Microsoft MBASIC (CP/M) and GWBASIC (MS-DOS).
    2022-01-26 06:17:10下载
    积分:1
  • TINYC source code
    TINYC的源代码-TINYC source code
    2023-04-16 17:45:04下载
    积分:1
  • 696518资源总数
  • 105732会员总数
  • 0今日下载