搜索资源列表
cffx_tcking
- 该词法分析程序用VC++ 6.0编写,以FileOpenDialog打开的*.c或*.cpp文件为语言字集的源程序作为词法分析程序的输入数据,经词法分析程序分析后的结果保存在源文件的同目录的output.txt文件中。在词法分析中,自文件头开始扫描源程序字符,一旦发现符合“单词”定义的源程序字符串时,将它翻译成固定长度的单词内部表示,并查填适当的信息表。经过词法分析后,源程序字符串(源程序的外部表示)被翻译成具有等长信息的单词串(源程序的内部表示),并产生两个表格:常数表和标识符表,它们分别包含
词法13554
- 编译原理 用C++实现输入串的词法分析,分类输出-C compiler principles to achieve input string of lexical analysis, classification output
cifafenxiqi4
- 词法分析器,将输入的字符串识别成c语言的关键字等-lexical analyzer, the input string as c identification of keywords, such as language
cifafenxi.rar
- 一个用C语言写的词法分析程序,输入所给文法的源程序字符串,输出二元组构成的序列。附有实验报告,Using C language to write a lexical analysis program, enter the source string to the grammar, the output sequence of binary units. With the experimental report
ll(1)YUFAPANDUAN
- 学编译原理时写的一个语法分析程序 分类:C/C++技术交流 一.[目的要求] ① 对输入文法,由程序自动构造FIRST FOLLOW集 ② 对输入文法,由程序自动生成它的LL(1)分析表; ③ 对于给定的输入串,应能判断识别该串是否为给定文法的句型。 二.[题目分析] 该程序可分为如下几步: (1)读入文法 (2)判断正误 (3)若无误,判断是否为LL(1)文法 (4)若是,构造分析表; (5)由总控算法判断输入符
c
- 实现源程序输入串中注释、续行符的删除,换行符和Tab的替换,大写字母变换,得到预处理后的文本串,为单词识别做好准备。-Realization of input strings in the source notes, continued at the deleted line, newlines, and Tab replacement, capital letters transform, obtained after pretreatment of the text string, read
cifafengxi
- 这是一个C++写得词法分析程序 用于把源程序转化为单词符号串-This is a C++ Written lexical analysis procedure for the source word into a string of symbols
character-cin
- Code Interface Node (CIN) That Converts a LabVIEW String to a C String, Modifies it, and Returns it as a LabVIEW String
LexAna.c.tar
- Program for Lexical Analysis inn C. The first step of compiler converts string to tokens.
Scanner
- 手工完成C语言编写的C-词法分析器,列出源代码以及提取出的token串-Manually written in C language C-lexical analyzer, listing the source code, and extract the token string
lcddisplayprogram
- 液晶显示程序 并行和串口传输 可显示字符 字符串 整数 汉字 图形等-lcd display use c program it included two ways for dilivering data string char COCK Golden Palm TECH
STRING
- String Operations in C-String Operations in C++
20029440913
- (1) 根据LL(1)分析法编写一个语法分析程序,可根据自己实际情况,选择以下一项作为分析算法的输入: a. 直接输入根据已知文法构造的分析表M b.输入文法的FIRST(α)和FOLLOW(U)集合,由程序自动生成文法的分析表M; c.输入已知文法,由程序自动构造文法的分析表M。 (2) 程序具有通用性 所开发的程序可适用于不同的文法和任意输入串,且能判断该文法是否为LL(1)文法。 (3) 有运行实例 对于输入的文法和符号串,所编制的语法分析程序应能正确判断此
stringBackwardUsingPointer
- string backward using pointer in c-string backward using pointer in c++
1
- 根据c语言所写的词法分析器 并且带有对注释的报错和字符串的词法分析-According to the lexical analyzer written in c language and comments with an error and a string of lexical analysis
GrammerParsers
- 利用C++语言编制一个LL(1)语法分析器,利用LL(1)控制程序根据显示栈栈顶内容、向前看符号以及LL(1)分析表,对输入符号串自上而下的分析过程。可通过消除左递归、提取左因子把非LL(1)文法改造成LL(1)文法。-Compiled using a C++ language LL (1) parser using LL (1) control program according to display the contents of the stack the stack, forward-l
Scanner
- 词法分析器C++程序,完整代码。 本程序实现Pascal语言子集单词符号的词法分析程序。具体功能为: (1)给出各单词符号的类别编码; (2)词法分析程序应能发现输入串中的错误; (3)词法分析作为单独一遍编写,词法分析结果为二元式序列组成的中间文件; -Lexer C++ program, a complete code. The Program for a subset of Pascal language words symbol of the lexical a
CString
- C-String Tokenizer for C++. Breaks up words into small pieces and stores in an array for word validation
script_interpreter
- 一个用c语言写的解释器,有三种数据类型:int、float、string。支持+ -×/和print功能。虽然很小,但有很强的参考意义,容易扩展-A simple interpreter, there are three data types: int, float, string. Support+- ×/and print functions. Although small, but has a strong reference value, easy to extend
c-program-find-palindrome
- to find whether the number is palindrome or not without using string functions,checking palindrome in C -to find whether the number is palindrome or not without using string functions,checking palindrome in C