Patch for OpenBSD, x86_64 support (Laurence Tratt)
Added JIT tutorial ports (Sebastien Binet) Updated documentation git-svn-id: http://llvm-py.googlecode.com/svn/trunk@23 8d1e9007-1d4e-0410-b67e-1979fd6579aa
This commit is contained in:
parent
fe03572bba
commit
df4365921d
20 changed files with 501 additions and 74 deletions
|
|
@ -1,5 +1,35 @@
|
|||
Examples and LLVM Tutorials
|
||||
===========================
|
||||
|
||||
Examples
|
||||
========
|
||||
--------
|
||||
|
||||
include::example.inc[]
|
||||
|
||||
LLVM Tutorials
|
||||
--------------
|
||||
|
||||
The http://www.llvm.org/docs/tutorial/[LLVM tutorials] have been
|
||||
ported to llvm-py. Below are the links to the original LLVM tutorial and
|
||||
the corresponding Python code using llvm-py:
|
||||
|
||||
.Simple JIT Tutorials
|
||||
(These were contributed by Sebastien Binet; thanks!)
|
||||
|
||||
1. A First Function
|
||||
http://www.llvm.org/docs/tutorial/JITTutorial1.html[LLVM]
|
||||
link:examples/JITTutorial1.py[llvm-py]
|
||||
2. A More Complicated Function
|
||||
http://www.llvm.org/docs/tutorial/JITTutorial2.html[LLVM]
|
||||
link:examples/JITTutorial2.py[llvm-py]
|
||||
|
||||
|
||||
.Kaleidoscope: Implementing a Language with LLVM
|
||||
1. Tutorial Introduction and the Lexer (TODO)
|
||||
2. Implementing a Parser and AST (TODO)
|
||||
3. Implementing Code Generation to LLVM IR (TODO)
|
||||
4. Adding JIT and Optimizer Support (TODO)
|
||||
5. Extending the language: control flow (TODO)
|
||||
6. Extending the language: user-defined operators (TODO)
|
||||
7. Extending the language: mutable variables / SSA construction (TODO)
|
||||
8. Conclusion and other useful LLVM tidbits (TODO)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue