diff --git a/README.md b/README.md index 7102d6a..343549e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ sjs + [sami.samhuri@gmail.com](mailto:sami.samhuri@gmail.com) published : 2009-09-22 + updated : 2009-09-24 @@ -11,7 +13,7 @@ Overview A compiler for fun and education. Written (mostly) in Ruby and based on the tutorial "Let's Build a Compiler" by Jack Crenshaw[1]. -[1] http://compilers.iecc.com/crenshaw/ +[1]: http://compilers.iecc.com/crenshaw/ The semantics are simple and familiar to all programmers. Eager evaluation, assignment with the equals sign, arithmetic using + - * @@ -132,28 +134,104 @@ pretty slim at ~3000 LOC. About 2100 of those are actual code. I did not write this compiler with the intention of anyone else reading it but there are a reasonable about of comments. +
| Real Lines | +Total Lines | +Filename | +
|---|---|---|
| 87 | +112 | +build.rb | +
| 617 | +891 | +compiler.rb | +
| 12 | +29 | +asm/asm.rb | +
| 569 | +843 | +asm/binary.rb | +
| 197 | +319 | +asm/cstruct.rb | +
| 4 | +6 | +asm/elfsymtab.rb | +
| 4 | +8 | +asm/elfwriter.rb | +
| 170 | +374 | +asm/machofile.rb | +
| 95 | +163 | +asm/macho.rb | +
| 19 | +28 | +asm/machosym.rb | +
| 48 | +77 | +asm/machosymtab.rb | +
| 19 | +25 | +asm/machowriter.rb | +
| 16 | +25 | +asm/objwriter.rb | +
| 20 | +31 | +asm/registers.rb | +
| 42 | +66 | +asm/regproxy.rb | +
| 56 | +89 | +asm/symtab.rb | +
| 131 | +183 | +asm/text.rb | +
| 2097 | +3269 | +total | +