[<<][meta][>>][..]
Mon Jul 20 10:51:33 CEST 2009

Writing an LLVM frontend

So..  LLVM's C parser seems promising.  Now, when I want to generate
code, at what point should I plug into LLVM?  From what I gather,
LLVM's machine language is SSA.

I recently asked a question on the PLT Scheme list about LLVM[2].
Eli mentioned:

  Implementing an LLVM interface, however, should be very easy --
  after spending some time looking at the various options, our
  conclusion was that it's really just easier to invoke LLVM on whole
  files (in the LLVM language), and using the LLVM jit to create an
  executable piece of code. The first instinct was to use the LLVM
  commands directly, but that doesn't really have any advantage over
  using whole files.

[1] http://www.llvm.org/docs/LangRef.html
[2] http://osdir.com/ml/plt-scheme/2009-06/msg00070.html



[Reply][About]
[<<][meta][>>][..]