From fac04f27dada36a4c44529e6e70ddd02f5303460 Mon Sep 17 00:00:00 2001 From: sjs Date: Thu, 24 Sep 2009 15:37:07 -0700 Subject: [PATCH] fixed markdown in README (again) --- README.md | 122 ++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 100 insertions(+), 22 deletions(-) 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 Total Filename - Lines Lines - ----- ----- -------- - 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 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Real LinesTotal LinesFilename
87112build.rb
617891compiler.rb
1229asm/asm.rb
569843asm/binary.rb
197319asm/cstruct.rb
46asm/elfsymtab.rb
48asm/elfwriter.rb
170374asm/machofile.rb
95163asm/macho.rb
1928asm/machosym.rb
4877asm/machosymtab.rb
1925asm/machowriter.rb
1625asm/objwriter.rb
2031asm/registers.rb
4266asm/regproxy.rb
5689asm/symtab.rb
131183asm/text.rb
20973269total
Happy hacking!