mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
fix typos
llvm-svn: 43637
This commit is contained in:
parent
781dbc1099
commit
aa3229f2f1
@ -480,7 +480,7 @@ is simpler primarily because it doesn't need to handle any predefined operators.
|
||||
<div class="doc_text">
|
||||
|
||||
<p>It is somewhat hard to believe, but with a few simple extensions we've
|
||||
covered in the last chapters, we have grown a realish language. With this, we
|
||||
covered in the last chapters, we have grown a real-ish language. With this, we
|
||||
can do a lot of interesting things, including I/O, math, and a bunch of other
|
||||
things. For example, we can now add a nice sequencing operator (printd is
|
||||
defined to print out the specified value and a newline):</p>
|
||||
@ -499,7 +499,7 @@ Evaluated to 0.000000
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>We can also define a bunch of other "primative" operations, such as:</p>
|
||||
<p>We can also define a bunch of other "primitive" operations, such as:</p>
|
||||
|
||||
<div class="doc_code">
|
||||
<pre>
|
||||
@ -593,7 +593,7 @@ def mandleconverge(real imag)
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>This "z = z^2 + c" function is a beautiful little creature that is the basis
|
||||
<p>This "z = z<sup>2</sup> + c" function is a beautiful little creature that is the basis
|
||||
for computation of the <a
|
||||
href="http://en.wikipedia.org/wiki/Mandelbrot_set">Mandelbrot Set</a>. Our
|
||||
<tt>mandelconverge</tt> function returns the number of iterations that it takes
|
||||
@ -768,7 +768,7 @@ tutorial. We successfully extended our language with the ability to extend the
|
||||
language in the library, and showed how this can be used to build a simple but
|
||||
interesting end user application in Kaleidoscope. At this point, Kaleidoscope
|
||||
can build a variety of applications that are functional and can call functions
|
||||
with side-effects, but it can't actually define and mutate a variable at all.
|
||||
with side-effects, but it can't actually define and mutate a variable itself.
|
||||
</p>
|
||||
|
||||
<p>Strikingly, lack of this feature is an important limitation for some
|
||||
|
Loading…
Reference in New Issue
Block a user