[LLVMdev] BitterMelon Gets Stackered

Reid Spencer 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
with llvm-bcanalyzer. 

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...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20040710/630fd416/attachment.sig>

More information about the llvm-dev mailing list