搜索资源列表
字符串表达式解析器
- 此程序实现的是一个运算器,是在一个程序的基础上进行改进的,计算器中需要的运算以及操作对象: IF,AND,OR,<,<=,>,>=,<>,=,== 数字0-9,(,),+,-,*,/, SIN,COS,TAN,POW,EXP,ABS,SQRT,INT,LN,LOG,MIN,MAX.-this program is a computing device that is in a process of improvement based on the
多赋值语句算术表达式解析器2.2
- 能计算如下表达式:x=3 y=4 z=x^2+sin(y) -expression can be calculated as follows : 3 x = y = z = 4 x ^ 2 sin (y)
SourceCodeExpression
- 一个表达式解析器,利用Visual Studio C++6.0 开发,感觉不错,不妨一下-an expression parser, using Visual Studio C + +6.0, feeling good, it may be what
Lex_Yacc_Parser
- 语法分析器lex和词法分析器yacc的C++语言实现 1.Lex (1)Lex输入文件的解析 (2)正规表达式的解析 (3)一个正规表达式到NFA的转换算法实现 (4)多个NFA的合并 (5)NFA的确定化和最小化算法实现 (6)返回状态与返回内容的对应 2.Yacc (1)Yacc输入文件的解析 (2)上下文无关文法到对应LR(1)文法的下推自动机的构造 (3)LR(1)文法的下推自动机到相应分析表的构造 (4)LR(1)总控程序的构造(查表程
表达式解析器
- 设计一个表达式解析器,能处理5种操作符:+,-,*,/,(,) 从cmd输入一个表达式字符串,输出计算结果
算术表达式解析器
- 算术表达式解析器 .rar 支持变量和以下数学函数ABS, ATAN, COS, EXP, LN, ROUND,SIN, SQRT, SQR, TRUNC, NOT, BOOL, SGN\"-arithmetic expression parser. Rar support of the following variables and Math ABS, ATAN, COS, EXP, LN, ROUND, SIN, SQRT, SQR, TRUNC, NOT, BOOL, SGN &
ExpressionCaculator
- 利用算符优先算法制作的一个表达式计算器,它能够将一个C语言的表达式解析成四元式,然后根据算符优先的规则来计算表达式。-The use of operator precedence algorithm produced an expression calculator, it can be a C language expression parsing into four yuan type, then operator precedence rules to evaluate the expre
lex
- 用c++实现的此法分析器,包括正则表达式解析,正则到NFA转换,NFA到DFA转换,和最终的匹配,详见包中README文件-Using c++ parser to achieve this method, including regular expression analysis, while the NFA is converted, NFA to DFA conversion, and end the match, see the package README file
compiler
- 编译原理的词法分析器。可以解析正则表达式。生成NFA及DFA-Compilation Principle of lexical analyzer. Regular expressions can be resolved. Build NFA and DFA
muparsersse_src
- 不少程序须要用到数学表达式解析器,本代码力求简明快速做到这一点。-Many applications require the parsing of mathematical expressions. The main objective of this project is to provide a fast and easy way of doing this. muParser is an extensible high performance math parser library. It
LexaYacc_ChineseEdition2
- 《Lex与Yacc》中文第二版 Lex 和 Yacc 是 UNIX 两个非常重要的、功能强大的工具。事实上,如果你熟练掌握 Lex 和 Yacc 的话,它们的强大功能使创建 FORTRAN 和 C 的编译器如同儿戏。Ashish Bansal 为您详细的讨论了编写自己的语言和编译器所用到的这两种工具,包括常规表达式、声明、匹配模式、变量、Yacc 语法和解析器代码。最后,他解释了怎样把 Lex 和 Yacc 结合起来。-" Lex and Yacc" Chinese Second Edit