• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

CMakeLists.txtD23-Nov-20233 KiB9481

README.txtD23-Nov-2023761 2114

Test.cxxD23-Nov-2023977 3418

main.cppD23-Nov-20237.8 KiB235162

README.txt

1This is an example of Clang based interpreter, for executing standalone C/C++
2programs.
3
4It demonstrates the following features:
5 1. Parsing standard compiler command line arguments using the Driver library.
6
7 2. Constructing a Clang compiler instance, using the appropriate arguments
8    derived in step #1.
9
10 3. Invoking the Clang compiler to lex, parse, syntax check, and then generate
11    LLVM code.
12
13 4. Use the LLVM JIT functionality to execute the final module.
14
15 5. Intercepting a Win64 library call to allow throwing and catching exceptions
16    in and from the JIT.
17
18The implementation has many limitations and is not designed to be a full fledged
19interpreter. It is designed to demonstrate a simple but functional use of the
20Clang compiler libraries.
21