diff options
| author | Gordon Henriksen <gordonhenriksen@mac.com> | 2008-02-22 21:55:51 +0000 |
|---|---|---|
| committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2008-02-22 21:55:51 +0000 |
| commit | db0558b2f5d42fc8846556fb2f13874752d30177 (patch) | |
| tree | 7f1102332eca8c4c20c7e721adf328b351b637c3 | |
| parent | 2c2e148345924f158d575512c3a27d042288dfd4 (diff) | |
| download | external_llvm-db0558b2f5d42fc8846556fb2f13874752d30177.zip external_llvm-db0558b2f5d42fc8846556fb2f13874752d30177.tar.gz external_llvm-db0558b2f5d42fc8846556fb2f13874752d30177.tar.bz2 | |
Improving wording.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47503 91177308-0d34-0410-b5e6-96231b3b80d8
| -rw-r--r-- | docs/FAQ.html | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/docs/FAQ.html b/docs/FAQ.html index 017a4d1..95e425a 100644 --- a/docs/FAQ.html +++ b/docs/FAQ.html @@ -59,9 +59,9 @@ <li><a href="#felangs">Source Languages</a> <ol> <li><a href="#langs">What source languages are supported?</a></li> - <li><a href="#langirgen">I'd like to write an LLVM compiler for my language. - How should I interface with the LLVM middle-end optimizers and back-end - code generators?</a></div> + <li><a href="#langirgen">I'd like to write a self-hosting LLVM compiler. How + should I interface with the LLVM middle-end optimizers and back-end code + generators?</a></div> <li><a href="#langhlsupp">What support is there for higher level source language constructs for building a compiler?</a></li> <li><a href="GetElementPtr.html">I don't understand the GetElementPtr @@ -418,13 +418,14 @@ using <tt>llvm-gcc</tt> instead.</p> </div> <div class="question"><p><a name="langirgen"> - I'd like to write an LLVM compiler for my language. How should I interface - with the LLVM middle-end optimizers and back-end code generators? + I'd like to write a self-hosting LLVM compiler. How should I interface with + the LLVM middle-end optimizers and back-end code generators? </a></p></div> <div class="answer"> <p>Your compiler front-end will communicate with LLVM by creating a module in - the LLVM intermediate representation (IR) format. There are 3 major ways to - tackle generating LLVM IR from a front-end:</p> + the LLVM intermediate representation (IR) format. Assuming you want to + write your language's compiler in the language itself (rather than C++), + there are 3 major ways to tackle generating LLVM IR from a front-end:</p> <ul> <li> <strong>Call into the LLVM libraries code using your language's FFI |
