summaryrefslogtreecommitdiffstats
path: root/llvm/docs/tutorial
diff options
context:
space:
mode:
authorCharlie Turner <charlesturner7c5@gmail.com>2015-01-24 21:51:17 +0000
committerCharlie Turner <charlesturner7c5@gmail.com>2015-01-24 21:51:17 +0000
commit6cba064414cb325435c1c7c0fdc998def7c06535 (patch)
tree522af8fd29b12dc90f96dc1b6d73d409f3a813b4 /llvm/docs/tutorial
parentdb7afdbb01137ae92a8bc6cf4b0a9acc5151a03d (diff)
downloadbcm5719-llvm-6cba064414cb325435c1c7c0fdc998def7c06535.tar.gz
bcm5719-llvm-6cba064414cb325435c1c7c0fdc998def7c06535.zip
Update references to lines of code count.
The number of lines of code in Kaleidoscope has risen from the previously reported 700 to 986 according to the cloc tool. This tools was run on the toy.cpp file from Chapter 8. llvm-svn: 227019
Diffstat (limited to 'llvm/docs/tutorial')
-rw-r--r--llvm/docs/tutorial/LangImpl1.rst2
-rw-r--r--llvm/docs/tutorial/LangImpl9.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/docs/tutorial/LangImpl1.rst b/llvm/docs/tutorial/LangImpl1.rst
index a2c5eeebf47..3333ce8706f 100644
--- a/llvm/docs/tutorial/LangImpl1.rst
+++ b/llvm/docs/tutorial/LangImpl1.rst
@@ -80,7 +80,7 @@ in the various pieces. The structure of the tutorial is:
collection support, exceptions, debugging, support for "spaghetti
stacks", and a bunch of other tips and tricks.
-By the end of the tutorial, we'll have written a bit less than 700 lines
+By the end of the tutorial, we'll have written a bit less than 1000 lines
of non-comment, non-blank, lines of code. With this small amount of
code, we'll have built up a very reasonable compiler for a non-trivial
language including a hand-written lexer, parser, AST, as well as code
diff --git a/llvm/docs/tutorial/LangImpl9.rst b/llvm/docs/tutorial/LangImpl9.rst
index 6f694931ef8..c5140a12e5c 100644
--- a/llvm/docs/tutorial/LangImpl9.rst
+++ b/llvm/docs/tutorial/LangImpl9.rst
@@ -15,7 +15,7 @@ being a semi-interesting (but probably still useless) toy. :)
It is interesting to see how far we've come, and how little code it has
taken. We built the entire lexer, parser, AST, code generator, and an
-interactive run-loop (with a JIT!) by-hand in under 700 lines of
+interactive run-loop (with a JIT!) by-hand in under 1000 lines of
(non-comment/non-blank) code.
Our little language supports a couple of interesting features: it
OpenPOWER on IntegriCloud