[llvm-commits] [llvm] r112465 - in /llvm/trunk/examples: Makefile TracingBrainF/ TracingBrainF/BrainF.h TracingBrainF/BrainFCodeGen.cpp TracingBrainF/BrainFInterpreter.cpp TracingBrainF/BrainFOpcodes.cpp TracingBrainF/BrainFTraceRecorder.cpp TracingBrainF/BrainFVM.h TracingBrainF/Makefile TracingBrainF/README

Chris Lattner clattner at apple.com
Mon Aug 30 13:57:07 PDT 2010


On Aug 30, 2010, at 12:58 PM, Owen Anderson wrote:

> 
> On Aug 30, 2010, at 12:43 PM, Chris Lattner wrote:
>> This sounds like a somewhat useful example, but its utility is limited by it compiling brainfuck (which noone knows and whose lessons don't apply directly to other languages).  Why not turn this into a tutorial or something instead of an example in the main distribution?
> 
> I do, in fact, have a sequence of tutorials in mind based on that, similar to the Kaleidoscope tutorials.
> 
> Also, while I agree that it's not useful as a tool itself, I think most of the techniques I used in this should work for any language bytecode-compilable language.    I just went with brainfuck because a small opcode set makes it easy to implement.  :-)

So back to the original point: why should this be in the tree?

-Chris



More information about the llvm-commits mailing list