Mini C Complier Implementation with Yacc and Lex
2016-08-23
0 0 0
4.0
Other
Earn points
Compile the mini C code into U code.
- Lex module
lex source : LexicalAnalyzer.l
lex header : LexicalAnalyzer.h
- Parser module
yacc source : parser.y
yacc header : parser.h
- U-code Generator
source file : genUCODE.c
header file : genUCODE.h
- makefile
- Example file
bubble.mc / bubble2.mc
Generate the compiling file generate code file
./genUCODE < bubble.mc>bubble.ucode
c
语言
lex
yacc
编译器
实现
利用
miniC
Related Source Codes
PClite
0
0
no vote
generic embeded FTP Client
0
0
no vote
UDP Test Demo
0
0
no vote
TMS320F28335 DSP transmits data to EEPROM through
0
0
no vote
TMS320F28335 CAN communication source code
0
0
no vote
No comment