[llvm-commits] [llvm] r47503 - /llvm/trunk/docs/FAQ.html
Gordon Henriksen
gordonhenriksen at mac.com
Fri Feb 22 13:55:51 PST 2008
Author: gordon
Date: Fri Feb 22 15:55:51 2008
New Revision: 47503
URL: http://llvm.org/viewvc/llvm-project?rev=47503&view=rev
Log:
Improving wording.
Modified:
llvm/trunk/docs/FAQ.html
Modified: llvm/trunk/docs/FAQ.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/FAQ.html?rev=47503&r1=47502&r2=47503&view=diff
==============================================================================
--- llvm/trunk/docs/FAQ.html (original)
+++ llvm/trunk/docs/FAQ.html Fri Feb 22 15:55:51 2008
@@ -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 @@
</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
More information about the llvm-commits
mailing list