搜索资源列表
Grammer_analysis_program
- 北邮 编译原理与技术 课程实验 语法分析程序 用C++实现,包含递归下降分析,LL(1),LR(1),YACC的所有源代码及测试输入文件-Compile didactical building principle and technology experiment grammar analysis in c++ program implementation, include recursively to analysis, LL (1), LR (1), all of the source co
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
2
- 设计并实现C语言的语分析程序,实现对算术表达式的语法分析。要求所分析算术表达式由如下的文法G产生: EE+T|E-T|T TT*F|T/F|F Fid|(E)|num 实验要求:在对输入表示进行分析的过程中,输出所采用的产生式。-Design and implement C language, language analysis program to realize the arithmetic expression parsing. Requirements of a
yufafenxiqi
- 语法分析器(C++)源代码+其详细的课程设计报告 输入的文法可以消除左递归并提取公共左因子求出文法的非终结集合——FIRST和FOLLOW集并对输入的算符优先文法,构造算符优先关系表 -Parser (C++) Source code its detailed report on curriculum design input left recursive grammar can be eliminated and the public left factor extract der
Compiler1
- 使用C++编写的编译器,里面 包括了词法分析程序scanner.cpp,无符号数识别程序ucon.cpp,算符优先法语法语义处理程序SF.cpp,SLR1语法语义处理程序SLR1.cpp。比较强大。源程序输入有program.txt,输出包括窗口和compiled.txt-Using C++ to write compiler, which includes lexical analysis program scanner.cpp the number of symbols identifica
CPP
- 输入若干个百分制成绩,输出对应的五分制成绩,输入结束后再分别输出这五个分段的人数。五分制成绩用字母A、B、C、D和E分别表示百分制成绩的100~90、89~80、79~70、69~60、59~0-Input several centesimal system performance, the output of the five grade marking system corresponding to the input end result, after the five output re
C-syntactic-analyzer-
- 利用C语言写的一个词法分析器,文件输入输出,且生成关键字表、运算符表、分界符表-A lexical analyzer written in C language, file input and output, and generate keyword table, the operator table delimiter Table
word
- 用C实现了一个建议的类Pascal语言的词法分析器,实现从源程序中分离出各种单词的方法,进行分析。程序的输入与输出全是以文件的形式。-C implementation of a proposed class Pascal language lexical analyzer to achieve a variety of words from the source separation method for analysis. The input and output of the program
c
- 最近在网上看一个用VBE编写的关机整人的病毒,感觉有些不足,因为只要在CMD提示下输入shutdown — a来取消关机。下面,我就教大家用C语言来写一个关机整人的小病毒。-Recently on the Internet to see a shutdown of moving the virus written in VBE varies, feeling a little less than, as long as the input shutdown under CMD prompt
CP_work_8
- 设计一个四则表达式分析软件,其接受从文件或键盘输入的四则表达式(运算对象支持整数和变量),给出该表达式的二叉树表达形式,并在键盘上按后续遍历方式输出该二叉树。 例如,输入a+b*c,输出 a b c * + 提示:参考下列的设计指导: 递归下降分析法实验设计思想及算法 为G的每个非终结符号U构造一个递归过程,不妨命名为U。U的产生式的右边指出这个过程的代码结构: (1)若是终结符号,则和向前看符号对照,若匹配则向前进一个符号;否则出错。 (2)若是非终结符号,
CODEOfflineJudge_1.00_Bet
- 1. 图形用户界面,使用鼠标即可以完成所有操作,直观易用,当然,也有键盘快捷键; 2. 在有标准输入和标准输入数据的情况下,无需联网即可提交代码进行判题; 3. 具备所有Online Judge的核心判题功能,如编译代码、内存限定,时间限定,获取代码长度等; 4. 支持一道题目对应多个文件的测试方式,并支持显示每组测试文件的测试结果,计算正确率; 5. 可以打包并加密测试数据,使用加密后的数据可以正常判题,但不显示标准输出; 6. 拥有出题模式,在有标准输入数据和标程的时候可
WA
- 实现了C++版的编译原理词法分析器,可以文件输入,文件输出-Realized C++ version of compiler theory lexical analyzer, you can file input, file output
AIT-500-Lab-2-document.
- Write a C++ program that computes a student s total score. Use the formula: (10 points) total_score = 15 * test1_score + 15 * test2_score + 40 * final_score + 30 * assignments Input: Test1 score, Test2 score, Final score, Assignments Outp
hand-gesture
- THIS HAND GESTURE PROGRAM FOR EMBEDDED C USING ARM LPC2148. THIS PROJECT GETS THE INPUT FROM THE MATLAB.AND DATA WILL BE UPDATED USING EMBEDDED CONTROLLER-THIS IS HAND GESTURE PROGRAM FOR EMBEDDED C USING ARM LPC2148. THIS PROJECT GETS THE INPUT FROM
fuzhiyujuyufafenxi
- C++编写的赋值语句的算符优先语法分析程序,以文件形式输入赋值语句,以文件形式输出归约过程。程序中自动构造算符优先表。-Operator precedence parser written in C++ assignment statement, in document form input assignment, output reduction process in document form. The program automatically constructed operator p
COMPAILER
- 用C++写的由扩充C0文法写成的编译为MIPS汇编的编译器,在MARS4.2上完美测试通过,支持递归、函数定义、函数调用、数组、四则运算、输入输出等,是我本科花了2个月写的大作业,也留给北航的学弟学妹参考。-Written by C++ grammar written by the expansion of C0 compiler for MIPS assembler compiler tested on MARS4.2 perfect support recursive function de
Complier
- 编译原理词法分析器,可验证输入字符串是否符合定义,可对C++程序进行分析,找出关键字和标识符-Compiler theory lexical analyzer, to verify compliance with the definition of the input string, can C++ program analysis to identify keywords and identifiers
a
- 输入:输入是一个文本文件,里面的内容是符合某个语言语法、词法要求的源代码(输入文件为C++或者Java源程序,词语、语法定义参考C++、Java即可;C++、Java大家只需要选择一种自己熟悉的语言就可以),例如“position = initial + rate * 60 ”; 输出:设计并实现对输入文件的处理(禁用正则表达式),以获得如下输出,输出是一个文本文件,对前面例子,里面内容是: (标识符,position) (赋值运算符,=) (标识符,initial) (加法
wordAnalysis
- 一个进行词法分析的程序,支持文件输入,C#编写。(A program for lexical analysis, supporting file input, and writing C#.)
