Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Other ELanguage
Title: lc Download
 Description: Reference to the original author: This class C compiler is written in 2008, to complete the degree is not high, and did not realize the pointer to the struct, but still achieve the basic C data types (int/char/long/short, etc. ), the function declaration, definition, call, recursive, and if/for/while/a goto, etc. Jump in detail please see the sample and the source. In order to save development time, lexical and syntax analysis were used lex and yacc to write, can be compiled with Cygwin inside the flex and bison. In addition, I think compiled into x86 bytecode is too much trouble, so to define its own set of bytecode, and write a virtual machine (called the simulator is more accurate) to execute it, this part is modified, but I generated bytecode than x86 instructions to streamline the system, also has nothing to do with the platform, may be suitable for transplantation to the harsh operating environment requirements.
 Downloaders recently: [More information of uploader Elijah]
 To Search:
File list (Check if you may need any files):
sample
......\array.c
......\deletefile.c
......\gcd.c
......\lc.exe
......\lclib.h
......\swap.c
source
......\lc.dsp
......\mk.bat
......\src
......\...\config.h
......\...\const.c
......\...\error.c
......\...\expr.c
......\...\gen.c
......\...\lc.h
......\...\lib.c
......\...\lib.h
......\...\main.c
......\...\parse.h
......\...\parse.y
......\...\scan.h
......\...\scan.l
......\...\stdafx.h
......\...\sym.c
......\...\tree.c
......\...\vm.c
......\...\vm.h
license-BSD.txt
readme.txt
    

CodeBus www.codebus.net