Toy JavaScript Backend for LLVM
C++ JavaScript C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
hello
slides
JSBackend.cpp
JSTargetMachine.h
MEMO.txt
Makefile
README.txt
jsllc.cpp

README.txt

* 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