From 9a81d7460fdb16f4e77712e5381d9db8781f5ae6 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 22 Oct 2016 16:56:07 -0700 Subject: 3561 --- 012transform.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '012transform.cc') diff --git a/012transform.cc b/012transform.cc index 8395bcd6..2a2cfb9b 100644 --- a/012transform.cc +++ b/012transform.cc @@ -1,12 +1,12 @@ //: Phase 2: Filter loaded recipes through an extensible list of 'transforms'. //: -//: The process of running mu code: +//: The process of running Mu code: //: load -> transform -> run //: //: The hope is that this framework of transform tools will provide a //: deconstructed alternative to conventional compilers. //: -//: We're going to have many transforms in mu, and getting their order right +//: We're going to have many transforms in Mu, and getting their order right //: (not the same as ordering of layers) is a well-known problem. Some tips: //: a) Design each layer to rely on as few previous layers as possible. //: -- cgit 1.4.1-2-gfad0 tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log blame commit diff stats
path: root/stats.txt
blob: 6ba2021370a7ee7be95bcae238ba2885ffd08161 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12




                                                              






                                        

                                        
                                        
 




                                                                        








                                        
                                        
 




                                                    








                                         
                                         

                          












                                                                                                                          
                                            
                                                                                                   
 

                                                                                                   
              
## Lines in source files
                          Initial   -whitespace/comments/tests
apps/factorial.subx         120       44
apps/crenshaw2-1.subx       561      180
apps/crenshaw2-1b.subx      757      186
apps/hex.subx              1442      149
apps/survey.subx           4733      905
apps/pack.subx             5881      840
apps/dquotes.subx          1925      383
apps/assort.subx            905      183
apps/tests.subx             284      137
apps/sigils.subx           4641      896
apps/calls.subx            1785      448
apps/braces.subx            360      121
apps/mu.subx (incomplete) 15014     5064

## Total source lines needed including libraries
                          Initial   -whitespace/comments/tests/dead code
apps/factorial.subx        8436     1700
apps/crenshaw2-1.subx      8644     1925
apps/crenshaw2-1b.subx     8736     1931
apps/hex.subx              9065     1908
apps/survey.subx          10217     3248
apps/pack.subx            10589     2727
apps/dquotes.subx          9262     2468
apps/assort.subx           8686     2425
apps/tests.subx            8519     2214
apps/sigils.subx          10578     3043
apps/calls.subx            9242     2388
apps/braces.subx           8545     2111
apps/mu.subx (incomplete) 19820     7620

## executable size in KB
                          Initial   -tests/dead code
apps/crenshaw2-1            41        4.3
apps/crenshaw2-1b           42        5.2
apps/factorial              42        5.2
apps/hex                    45        5.0
apps/survey                 51        9.6
apps/pack                   54        7.6
apps/dquotes                46        6.5
apps/assort                 42        6.4
apps/tests                  41        5.8
apps/sigils                 54        9.1
apps/calls                  47        7.1
apps/braces                 42        5.9
apps/mu (incomplete)       230       39.0

## history of apps/mu.subx
                                                        date    commit  mu.subx   -tests/cmts  binary (KB excl. dead code)
parsing function headers                           2019 Oct 30  5725      621         277         6.9
function calls                                          Nov 10  5739     1202         346         7.2
code-generating primitive instructions                  Nov 17  5750     1923         363         7.3
arguments                                               Nov 30  5785     4038        1330        13
return values                                      2020 Jan 1   5878     5432        1457        15
compound types: `addr` and `array`                      Jan 20  5911     6023        1697        16
local variables and their reclamation                   Jan 27  5934     6340        1900        18
register locals and shadowing                           Jan 27  5940     6498        1940        18
blocks                                                  Jan 29  5948     7455        2534        22
break/continue instructions                             Jan 30  5964     7871        2558        22
cleaning up locals in the presence of early exits       Feb 9   6000     8554        2918        26
pointer dereferencing                                   Feb 20  6040     9053        3075        27
arrays, and indexing them with a non-literal
user-defined types, and getting fields in them          Mar 11  6135    11592        4165        33

cleanup: switch to handles everywhere                   May 22  6382    15014        5064        39

vim:nowrap:tw&