Re: 3.1 -> 4.0 Sample Case -- lines.ex
- Posted by jeremy (admin) Nov 18, 2010
- 1129 views
kinz said...
jeremy said...
Old: 591 Lines
New: 195 Lines
What a mysticism? The lines.ex of 3.1.1 is just 108 lines ...
Oh! I see. My bad. Lines was modified for a later 3.x release that was never released. The lines.ex I built from has quite a bit more functionality than what was released in 3.1.1. It contains the ability to traverse an entire program. For example:
include helper1.e include helper2.e ? 20
lines -i myprog.ex
would parse myprog and all include files outputting a true line count for your euphoria program, including nested includes all the way down the line, i.e. if helper1.e included myseq.e and myseq.e included libxyz.e, etc....
Jeremy