资源列表
PWM
- 先产生一个周期和PWM波相同的周期信号,然后给定一个值,如果这个周期信号大于给定值则输出低电平,否则输出高电平所以,通过控制给定值的大小就可以控制Pwm的占空比了-First generating a cycle and the same cycle of the PWM wave signal, and then given a value, the output is low if this periodic signal is greater than a given value, oth
type
- 使用lex和yacc生成简单的编译器,生成语法分析树、完成类型检查等功能-The use of lex and yacc to generate a simple compiler, syntax analysis generated trees, the completion of type checking and other functions
RLL17c
- encoder/decoder for rll17 (as defined by Jacoby and Kost)
LL1
- 采用VC编程的LL(1)分析法示例,有助于加深理解编译原理中的LL(1)分析法-VC programming using LL (1) sample analysis, contribute to a better understanding of the principle of compiler LL (1) Analysis
judg
- 本程序使用JAVA实现文法类型判断功能,基本原理是根据乔姆斯基文法中文法类型的定义,进行判断给定的文法属于哪一类文法。通过判断产生式左右部给定的字符长度,以及是否是非终结符等进行判断,总之要紧扣每个文法类型的定义-procedures for the use of the grammar type JAVA judgment function, the basic principle is under Chinese law Chomsky grammar type of definition,
110
- 一个好东东,大家狂下哈!编译原理的,- Good east east under, everybody is crazy breathes out! Translation principle,
pipesTest
- this a test about using windows pipes, this source is very tiny becouse use windows console. Was compiled in Visual Studio C++ 6 compiler-this is a test about using windows pipes, this source is very tiny becouse use windows console. Was compiled in
LexicalAnalyzer
- 一个简单的词法分析器,可完成对C语言代码的分析
pl0
- 编译器,可以通过它进行简单的编译,很好用的,全是用C语言写的-compler
Parser2.c
- Enhanced version of PL-0 s parser written in c. Includes missing file "error.h".
一个小语言的词法分析程序
- 一个小语言的词法分析程序- A small language lexical analyaer
lexicalanalysis
- 设计一个词法分析器。 【基本要求】 词法分析器基本功能是: (1) 输入源程序:输入PASCAL源程序; (2) 输出单词,输出形式为:(序号,单词,对应源程序行号,对应源程序列号); (3) 输出出错信息,输出形式为:(出错行号,出错列号,出错信息); (4) 输出符号表,输出形式为:(单词种别码,单词符号); 【测试数据】 (1)输入源程序: program example1 var a,b,c:integer x:char