Updated: 11/5/2005; 6:06:34 PM.
Chris Double's Radio Weblog
        

Friday, July 30, 2004

I've previously written about how to generate the C VM for Slate. The instructions are slightly different now to build the C VM for the CVS version.

From Common Lisp (again, I used SBCL on Linux), to generate the C source, compile and run :
(load "slate.lisp")
'./src/init.slate' fileIn.
'./src/mobius/init.slate' fileIn.
'./src/mobius/c/init.slate' fileIn.
'./src/mobius/vm/init.slate' fileIn.
VM generateVM: 'vm'.
VM buildImage: 'vm.image' &littleEndian: True.
make
./vm vm.image

4:08:05 PM      

Stacker is a Forth like programming language used as a demonstration on how to develop for LLVM (the Low Level Virtual Machine).

11:45:43 AM      

(From a Lambda the Ultimate discussion): LLVM - Low Level Virtual Machine. An open source virtual machine implementation. It includes a front end for C and C++ based on the GCC 3.4 parser, allowing compilation of C/C++ programs to he LLVM virtual machine.

11:44:06 AM      

© Copyright 2005 Chris Double.
 
July 2004
Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Jun   Aug



Click here to visit the Radio UserLand website.

Listed on BlogShares

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.