搜索资源列表
LR0
- (1)构造文法G的LR(0)项目 (2)构造文法G的LR(0)项目集规范族及识别活前缀的DFA (3)证明文法G不是LR(0)文法而是SLR(1)文法,并构造SLR(1)分析表 (4)设计LR语法分析程序,且能输出分析过程 (5)列举两个例子测试语法分析程序(识别失败一例,识别成功一例,后者推导步骤不得少于10步) -(1) construct grammar G of the LR (0) item (2) construct grammar G of the LR (0)
TrickTools
- 生成Trick文件工具 1.Open command line 2.input tricktest Usage: TrickTest -f -o -i -f source mpeg2 file to trick -o trick output directory -i output file id -m max coding error, default 0 -b max bitrate for trick generate, default 0 mean no
QEditor
- 用Qt编写的文本编辑器的源代码,可以作为Qt编写GUI界面程序的例子程序-Using a text editor written in Qt' s source code, you can write a Qt example program GUI interface programs
prefuse.flare-alpha-20090124
- 用于flash/flex的 as3的 2D图形图像图表的动态生成-Flare is a collection of Actionscr ipt 3 classes for building a wide variety of interactive visualizations. For example, flare can be used to build basic charts, complex animations, network diagrams, treemaps, and mor
tut3
- 一个小型解释器的代码 第三个例子 学习如何写脚本 解释器 检测语法 tut3-The third example of a small interpreter code to learn how to write a scr ipt interpreter detects syntax
vi-vim-cheat-sheet
- 学习vi-vim最好的资料哈,还有很好的例子!如果会用cmake编译就更加完美啦!-Kazakhstan, there is a very good example of the best information to learn vi-vim! If you can use cmake to compile the more perfect it!
binary-tree-in-templates
- so i want to make a code, that creates a binary tree, that holds data, for example ints like 1,6,2,10,8 and on pop i get the biggest number, and after that it gets deleted from the tree, and on push i can insert a new element. And this should be in a
7084f92d973f
- director随机数的处理方法。是一个很好的例哦。-director random number approach. Is a good example oh.
CP_work_8
- 设计一个四则表达式分析软件,其接受从文件或键盘输入的四则表达式(运算对象支持整数和变量),给出该表达式的二叉树表达形式,并在键盘上按后续遍历方式输出该二叉树。 例如,输入a+b*c,输出 a b c * + 提示:参考下列的设计指导: 递归下降分析法实验设计思想及算法 为G的每个非终结符号U构造一个递归过程,不妨命名为U。U的产生式的右边指出这个过程的代码结构: (1)若是终结符号,则和向前看符号对照,若匹配则向前进一个符号;否则出错。 (2)若是非终结符号,
111250093
- MyLex: 把自己定义的语言(以C为蓝本)转化成为Token序列, 需要配合MyYacc使用.-MyLex: transfers a user-defined language, which is according to C in example, to a token sequence. To use this program, you should also have MyYacc.
ejemplo_subr_libreria-(1)
- A 68K CODE EXAMPLE for take 4 more codes to download it
Lab5
- 1) Write a program that tells what coins to give out for any amount of change 1 cent to 99 cents. For example if 86 cents is entered the output will be: 86 cents can be given as 3 quarter(s), 1 dime(s) and 1 penny(s). Coins to be used: 25 cents &g
AIT-500-Lab-3-Document
- 1) Write a C++ program that receives a single letter and prints out the corresponding digit on the telephone. The letters and digits on a telephone are grouped this way: (30 points) 2= ABC 3 = DEF 4 = GHI 5 = JKL 6 = MNO 7 = PRS 8 = TUV 9 = WXY
cminus
- 简化C编译器的程序示例,该程序采取了最简单的实现方法,用lex&yacc工具的辅助,实现一个C编译器的框架,省略了中间代码生成部分和代码优化,直接生成汇编代码,实现了while语句、加法运算符等的翻译。-Simplified C compiler program example, the program has taken the simplest implementation, auxiliary lex & yacc tools to implement a C compiler f
GIF
- Example of a GIF image in visual c#
CCS-C-Examples
- //// This example will work with the PCB and PCM compilers. The //// //// following conditional compilation lines are used to include a //// //// valid device for each compiler. Change the device and clock //// //// for your hardware if needed.
switch_struct
- It is a describe the switch-case struct for new beginner.This example is a simple.
DOM-Example
- DOM Document Object Model Un standard care defineş te o modelare obiectuală a unui document XML/HTML independentă de limbaj-DOM Document Object Model Un standard care defineş te o modelare obiectuală a unui document XML
Parabolic
- It solves a parabolic equation in Fortran Language with nx=4 and CFL=0.4 for an example
a
- 输入:输入是一个文本文件,里面的内容是符合某个语言语法、词法要求的源代码(输入文件为C++或者Java源程序,词语、语法定义参考C++、Java即可;C++、Java大家只需要选择一种自己熟悉的语言就可以),例如“position = initial + rate * 60 ”; 输出:设计并实现对输入文件的处理(禁用正则表达式),以获得如下输出,输出是一个文本文件,对前面例子,里面内容是: (标识符,position) (赋值运算符,=) (标识符,initial) (加法