搜索资源列表
cffx_tcking
- 该词法分析程序用VC++ 6.0编写,以FileOpenDialog打开的*.c或*.cpp文件为语言字集的源程序作为词法分析程序的输入数据,经词法分析程序分析后的结果保存在源文件的同目录的output.txt文件中。在词法分析中,自文件头开始扫描源程序字符,一旦发现符合“单词”定义的源程序字符串时,将它翻译成固定长度的单词内部表示,并查填适当的信息表。经过词法分析后,源程序字符串(源程序的外部表示)被翻译成具有等长信息的单词串(源程序的内部表示),并产生两个表格:常数表和标识符表,它们分别包含
词法13554
- 编译原理 用C++实现输入串的词法分析,分类输出-C compiler principles to achieve input string of lexical analysis, classification output
LL(1)_syntax
- LL(1)语法分析程序 (1)对输入文法,它能判断是否为LL(1)文法,若是,则转(2);否则报错并终止; (2)输入已知文法,由程序自动生成它的LL(1)分析表; (3)对于给定的输入串,应能判断识别该串是否为给定文法的句型。 -LL (1) syntax analysis program (1) on the importation of grammar, it can determine whether to LL (1) grammar, and if so, in
cifabianyiyuanli
- 输入:一段任意的程序(字符串)。 输出:相应的属性字序列。 要求:⒈不处理说明部分,但属性字的符号类除了编码外,应包含更多的信息(如运算符的优先级等); ⒉小子集中包含的符号类应有典型性,且尽可能丰富; ⒊为了使用方便和便于阅读,应有帮助信息,说明可以有哪些符号,属性字的结构如何等; 说明;⒈为了直观起见,属性字中的符号值可以是符号本身,而不是助忆符; ⒉符号的种类以及符号的编码是事先规定的,可考虑扩充的可能性。 -input : a random proced
zifuchuanjieshiqi
- 词法分析将字符串分解为三个部分,映射到类中,获得字符串的对应值,由LL自顶向下的语法分析得到运算结果。-lexical analysis string decomposition of a three-part Maps category, access to the corresponding string values, LL from the top-down syntax analysis Operational results.
ExpressAnalysis
- 表达式分析, 支持算术运算,括号,关系运算,逻辑运算,字符串的like运算等。采用了有限自动机做词法分析, 语法分析用算符优先分析方法,正负号算符使文法不是OPG,因此这里作了特殊处理。分析的结果是逆波兰式, 存在一个链表中。在逆波兰式的基础上,用一个栈来进行求值。在vc++6.0下试验通过。 如有问题,可以mail: zch888email@163.com 我将尽快回复你。-expression analysis, supports arithmetic operations, bra
简易语法分析程序LL
- 简易语法分析程序LL(1) (1)对输入文法,它能判断是否为LL(1)文法,若是,则转(2);否则报错并终止; (2)输入已知文法,由程序自动生成它的LL(1)分析表; (3)对于给定的输入串,应能判断识别该串是否为给定文法的句型-simple syntax analysis procedures LL (1) (a) on the importation of grammar. it will determine whether to LL (1) grammar, a
判断a^mba^n
- 判断a^mba^n m,n=0的字符串- Judges a^mba^n m, the n=0 character string
CIFA1
- 词法分析器,能够识别输入的字符串,并用二元组表示-lexical analyzer, to identify input string, and use the dual Group said
cifafenxiqi4
- 词法分析器,将输入的字符串识别成c语言的关键字等-lexical analyzer, the input string as c identification of keywords, such as language
pa
- #include \"define.h\" #include <stdio.h> #include <string.h> #include <ctype.h> #include <malloc.h> FILE *fp /*////////////////////////////////////////////////////////////////////////////// This is a pretreat
LL1up_down
- LL(1)文法分析字符串,JDK1.5中运行-LL (1) grammar analysis string running JDK1.5
mod_xslt.tar
- Here are some short instructions for use of mod-xslt. The stylesheet is specified using the Processing Instruction <?xml-stylesheet type=\"text/xsl\" href=\"URL-OF-YOUR-STYLESHEET\"?> or now new <?xslt-stylesheet agent=\"
jianyiyufafenxiqi
- LL(1)语法分析程序,(1)对输入文法,它能判断是否为LL(1)文法,若是,则转(2);否则报错并终止; (2)输入已知文法,由程序自动生成它的LL(1)分析表; (3)对于给定的输入串,应能判断识别该串是否为给定文法的句型 -LL (1) syntax analysis program, (1) on the importation of grammar, it can determine whether to LL (1) grammar, If so, then swit
xiaoyuyancifafenxi
- 一个用于小型语言的词法分析,读出的最长的字符串不超过MAXBUF,MAXBUF定义为2-a small language for lexical analysis, read out the longest string of not more than MAXBUF. MAXBUF defined as 2
agrepy_1.2.tar
- These files contain a port, to Python of the inexact string matching functionality of agrep.-These files contain a port, to Python of the inexact string matching functi onality of agrep.
LRyufafenxi
- LR分析程序设计 实验报告 构造LR 分析程序,利用它进行语法分析,判断给出的符号串是否为该文法识别的句子; (2)了解LR分析方法是严格的从左向右扫描,和自底向上的语法分析方法。 -LR experimental design analysis program LR report tectonic analysis procedure, and use it for syntax analysis, judgment is whether the string of symbol
minuscompile
- 1.小型编译器 2。支持整数,浮点数,字符串 3。支持函数,过程。-1. 2 small compiler. Supports integer, float, string 3. Support function, process.
STRING
- String Operations in C-String Operations in C++
nfa_dfaconversion_dfasimulation
- NFA toDFA conversion and then take string as input and check whether String is acceptable by DFA or not
