[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
resistor at mac.com
Mon Aug 30 12:58:35 PDT 2010
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. :-)
More information about the llvm-commits