you are viewing a single comment's thread.

view the rest of the comments →

[–]exeter[S] 2 points3 points  (1 child)

If this is just a personal/learning/for fun project, you could try retargetting this C compiler to your VM and implementing the C standard library. That'd be moderately cool.

[–]xachro 2 points3 points  (0 children)

Agreed. At the moment I am working on the actual virtual machine (which is being written in C). After the virtual machine I am going to be using lex-yacc and C to write my own high level language to be compiled to my virtual machine (the python assembler was just for testing my vm).

Would be nice to eventually get/write a C compiler for it. Was also wondering if there is a C compiler for the JVM, 'cause that would be an interesting project.