Line counts explanation.
This commit is contained in:
parent
6e10d34b53
commit
85f8496f17
18
README.md
18
README.md
|
@ -14,6 +14,24 @@ Compact, cycle-accurate NES emulator in ~1000 lines of C++.
|
|||
## How are lines counted?
|
||||
There have been some discussions about how the number of lines has been calculated. The claim of ~1k lines doesn't include the libraries in the boost and nes_apu folders.
|
||||
|
||||
```
|
||||
[andrea@manhattan src]$ rm -rf boost nes_apu Sound_Queue.*
|
||||
[andrea@manhattan src]$ cloc .
|
||||
24 text files.
|
||||
24 unique files.
|
||||
1 file ignored.
|
||||
|
||||
github.com/AlDanial/cloc v 1.70 T=0.03 s (780.3 files/s, 63170.2 lines/s)
|
||||
-------------------------------------------------------------------------------
|
||||
Language files blank comment code
|
||||
-------------------------------------------------------------------------------
|
||||
C++ 11 210 110 1163
|
||||
C/C++ Header 12 87 7 285
|
||||
-------------------------------------------------------------------------------
|
||||
SUM: 23 297 117 1448
|
||||
-------------------------------------------------------------------------------
|
||||
```
|
||||
|
||||
## Requirements
|
||||
LaiNES should run on any Unix system that is compatible with the following tools.
|
||||
- SConstruct
|
||||
|
|
Reference in a new issue