Skip to content
Snippets Groups Projects
  1. Jun 08, 2010
  2. Feb 25, 2010
    • Daniel Dunbar's avatar
      Add a minimal C interpreter example. · e2246286
      Daniel Dunbar authored
       - Demonstrates how to build a standalone tool which loads source code using the
         Driver and Frontend libraries, and then uses CodeGen and the JIT to actually
         execute the code.
      
       - Still more complicated than it should be, but hey its only 153 lines. :)
      
      --
      ddunbar@ozzy:tmp$ cat hello.c
      #include <stdio.h>
      int main() { printf("hello world\n"); return 0; }
      ddunbar@ozzy:tmp$ clang-interpreter hello.c
      hello world
      --
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97133 91177308-0d34-0410-b5e6-96231b3b80d8
      e2246286
  3. Nov 15, 2009
  4. Sep 24, 2009
  5. Aug 28, 2009
  6. Aug 27, 2009
  7. Jul 16, 2009
  8. Jun 25, 2009
  9. May 03, 2009
  10. Mar 24, 2009
  11. Mar 02, 2009
  12. Jan 19, 2009
  13. Aug 06, 2008
  14. Mar 16, 2008
  15. Dec 29, 2007
  16. Jul 11, 2007
Loading