mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Chapter 5, 6, and 7 of the ocaml/kaleidoscope tutorial
and fix some tabs in chapter 3 and 4. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48978 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9d15abe838
commit
35295ffd50
@ -316,8 +316,7 @@ by adding a global variable and a call in <tt>main</tt>:</p>
|
||||
...
|
||||
let main () =
|
||||
...
|
||||
<b>
|
||||
(* Create the JIT. *)
|
||||
<b>(* Create the JIT. *)
|
||||
let the_module_provider = ModuleProvider.create Codegen.the_module in
|
||||
let the_execution_engine = ExecutionEngine.create the_module_provider in</b>
|
||||
...
|
||||
@ -508,6 +507,17 @@ Here is the complete code listing for our running example, enhanced with the
|
||||
LLVM JIT and optimizer. To build this example, use:
|
||||
</p>
|
||||
|
||||
<div class="doc_code">
|
||||
<pre>
|
||||
# Compile
|
||||
ocamlbuild toy.byte
|
||||
# Run
|
||||
./toy.byte
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>Here is the code:</p>
|
||||
|
||||
<dl>
|
||||
<dt>_tags:</dt>
|
||||
<dd class="doc_code">
|
||||
|
1564
docs/tutorial/OCamlLangImpl5.html
Normal file
1564
docs/tutorial/OCamlLangImpl5.html
Normal file
File diff suppressed because it is too large
Load Diff
1569
docs/tutorial/OCamlLangImpl6.html
Normal file
1569
docs/tutorial/OCamlLangImpl6.html
Normal file
File diff suppressed because it is too large
Load Diff
1902
docs/tutorial/OCamlLangImpl7.html
Normal file
1902
docs/tutorial/OCamlLangImpl7.html
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user