Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Toy JavaScript Backend for LLVM
C++ JavaScript C
branch: master
Failed to load latest commit information.
hello MemoryArray.element_at() is broken. fix it
slides initial checkin
JSBackend.cpp fix "lost copy problem". thanks to zakki!
JSTargetMachine.h initial checkin
MEMO.txt initial checkin
Makefile initial checkin
README.txt fix typo
jsllc.cpp initial checkin

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
Something went wrong with that request. Please try again.