forked from OSchip/llvm-project
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
This commit is contained in:
parent
db7afdbb01
commit
6cba064414
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue