/jsllc

Toy JavaScript Backend for LLVM

Primary LanguageC++

* JSBackend : toy javascript backend for llvm

components:
- jsllc : llc dialect to (only) use JSBackend.
  see hello/Makefile to know how to use
- JSBackend: CBackend-based code generator

build:

  # checkout llvm trunk
  $ svn co llvm http://llvm.org/svn/llvm-project/llvm/trunk/
  # make llvm
  $ cd trunk
  $ configure; make
  # checkout jsllc into "tools" directory
  $ cd tools
  $ git clone http://github.com/omo/jsllc/master
  # make jsllc
  $ cd jsllc
  $ make
  # try the example
  $ cd hello
  $ make
  $ firefox hello.html