[LLVMdev] BitterMelon Gets Stackered
reid at x10sys.com
Sat Jul 10 10:32:02 PDT 2004
I've hacked Brian's BitterMelon demo to include Stacker and bytecode
analysis information. You can try it out on the mirror at:
A new language radio buttons below the text input area permits Stacker
input to be compiled and there is an extra option for generating bc data
If you're new to LLVM, try pasting the following stacker program into
the page and running it with both optimization and without. That will
give you a pretty good idea of what LLVM does to optimize things.
: print >d CR;
: fibonacci RROT DUP2 + print 3 PICK -- ;
: MAIN 0 print 1 print 44 WHILE fibonacci END ;
This is a fibonacci algorithm in Stacker.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the llvm-dev