5.0

5.0 | 1 rating Rate this file 103 downloads (last 30 days) File Size: 600.08 KB File ID: #24026

Growing a Compiler

by Bill McKeeman

 

07 May 2009 (Updated 15 Jun 2009)

Code covered by BSD License  

Bootstrap compilers starting from a tiny compiler-compiler.

Download Now | Watch this File

File Information
Description

The tiny compiler is a kind of grammar. More capable compilers can be built, and so on. The components, and a paper describing them are included. This is a later version of FX 23255.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Can a tiny compiler-compiler grow into something useful?

MATLAB release MATLAB 7.7 (R2008b)
Other requirements Some of the code requires a 32-bit Intel x86 hardware. The whitepaper can be read on any platform.
Zip File Content  
Published M Files Growing a Compiler, GrowingCompilerCh1, GrowingCompilerCh2, GrowingCompilerCh3, GrowingCompilerCh4, GrowingCompilerCh5, GrowingCompilerCh6
Other Files
gem0.m,
gem1.m,
gem2.m,
gem3.m,
gem4.m,
gem5.m,
gem6.m,
GrowingCompiler.m,
GrowingCompilerCh1.m,
GrowingCompilerCh2.m,
GrowingCompilerCh3.m,
GrowingCompilerCh4.m,
GrowingCompilerCh5.m,
GrowingCompilerCh6.m,
html/GrowingCompilerCh1_eq09175.png,
html/GrowingCompilerCh1_eq19891.png,
html/GrowingCompilerCh1_eq20021.png,
html/GrowingCompilerCh1_eq22859.png,
html/GrowingCompilerCh1_eq34032.png,
html/GrowingCompilerCh1_eq49022.png,
html/GrowingCompilerCh1_eq51635.png,
html/GrowingCompilerCh1_eq68935.png,
html/GrowingCompilerCh1_eq73857.png,
html/GrowingCompilerCh1_eq87919.png,
html/GrowingCompilerCh1_eq89148.png,
html/GrowingCompilerCh1_eq94920.png,
html/GrowingCompilerCh1_eq95318.png,
html/GrowingCompilerCh2_eq51635.png,
html/GrowingCompilerCh2_eq73857.png,
html/michels1978.pdf,
iog0.c,
iog0.h,
iog0.mexglx,
iog0.mexw32,
iog1.c,
iog1.h,
iog1.mexglx,
iog1.mexw32,
iog2.c,
iog2.h,
iog2.mexglx,
iog2.mexw32,
iog3.c,
iog3.h,
iog3.mexglx,
iog3.mexw32,
iog4.c,
iog4.h,
iog4.mexglx,
iog4.mexw32,
iog6.c,
iog6.h,
iog6.mexglx,
iog6.mexw32,
license.txt,
makeMex.m,
makePublish.m,
nonox.c,
nonox.mexglx,
nonox.mexw32,
nox.c,
nox.mexglx,
nox.mexw32,
READ.ME,
repeat.m,
runX86.c,
runX86.mexglx,
runX86.mexw32,
shuffle.m,
testGem0.m,
testGem1.m,
testGem2.m,
testGem3.m,
testGem4.m,
testGem5.m,
testGem6.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
07 May 2009 John D'Errico

I learned something here. Thanks.

08 May 2009 Bill McKeeman

Some of the internal links are broken. I'll fix them as soon as I find out how.

Please login to add a comment or rating.
Updates
15 Jun 2009

Fixed broken URLs to compiler course

Tag Activity for this File
Tag Applied By Date/Time
bootstrap compiler decompiler grammar whitepaper intel x86 assem Bill McKeeman 07 May 2009 14:58:20
bootstrap compiler decompiler grammar whitepaper intel x86 assem Ben 07 May 2009 16:03:11
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com