Dear all,

I had a quick scan of the two installer code bases and was quite
surprised about the complexity of the installers, and how different
the two installers are. Because I could not understand most of the
code, I did some low-tech 'cat XXX | grep YYY | wc -l' comparisons of
the two installers, for your information and amusement. :-)

U: cat *.ns* specials/*.ns*  | grep XXX | wc -l
J: cat *.ns* components/*.ns* include/*.ns* | grep XXX | wc -l

Size: .nsh and .nsi only, no language files.
J: 19 files 2419 lines, 511 blank, 119 comments (; only)
U: 12 files 3570 lines, 739 blank, 294 comments (; only)

Language support:
J: 4 languages
U: 15 languages

Functions and Macros:
J: 42 functions, 50 macros
U: 32 functions, 11 macros

!include instruction
J: 28
U: 27, plus 30 language file includes

Push and Pop instructions
J: Push 38, Pop 39
U: Push 21, Pop 23

if and endif (interesting)
J: 89
U: 269

!define and Var (why?)
J: 109 define, 17 vars
U: 193 define, 90 vars

Back to (painful) reading. :-(

Bo

Reply via email to