-
Notifications
You must be signed in to change notification settings - Fork 160
WGML Keyword Statistics
Jiri Malak edited this page Feb 20, 2021
·
2 revisions
With the help of some REXX coding the OW gml sources were analyzed for actually used keywords. The keywords to search for were extracted from the not quite current files in directory openwatcom\docs\gml\manuals: script-tso.txt and script-gmlref-tso.txt.
Only keywords at the start of a line were counted.
Found 159 script keywords in docs\gml\manuals\script-tso.txt
. .' .* ... .5 .AD .AP .AR .BC .BD .BF .BI
.BL .BM .BR .BS .BT .BX .CB .CC .CD .CE .CH
.CL .CM .CO .CP .CS .CT .CW .DC .DF .DH .DM
.DO .DS .DU .EB .EC .EF .EL .EM .EP .EQ .ER
.ET .FB .FE .FI .FK .FM .FN .FO .FS .GA .GO
.GT .H1 .H2 .H3 .H4 .HE .HI .HL .HM .HN .HS
.HW .HY .IE .IF .IL .IM .IN .IR .IT .IX .JU
.LA .LB .LE .LI .LL .LN .LS .LT .MC .ME .MS
.NC .NF .NJ .NL .OB .OC .OF .OJ .OO .OP .OT
.OV .PA .PE .PF .PH .PI .PL .PM .PN .PP .PR
.PS .PT .PU .PW .QQ .QU .RA .RC .RD .RE .RI
.RM .RO .RT .RV .SA .SC .SE .SI .SK .SL .SP
.SR .SS .SU .SV .SX .SY .TB .TC .TE .TH .TI
.TM .TP .TR .TT .TU .TY .UC .UD .UL .UN .UP
.US .UW .WD .ZC
59 of 159 keywords are used in 1549 files.
overall counts for 2228 *.gml files:
keyword | count | keyword | count | keyword | count | ||
. | 367 | .' | 40 | .* | 12671 | ||
... | 0 | .5 | 4 | .AD | 0 | ||
.AP | 0 | .AR | 0 | .BC | 0 | ||
.BD | 361 | .BF | 0 | .BI | 456 | ||
.BL | 0 | .BM | 0 | .BR | 650 | ||
.BS | 0 | .BT | 0 | .BX | 127 | ||
.CB | 0 | .CC | 1 | .CD | 45 | ||
.CE | 0 | .CH | 0 | .CL | 0 | ||
.CM | 0 | .CO | 13 | .CP | 350 | ||
.CS | 1 | .CT | 340 | .CW | 41 | ||
.DC | 10 | .DF | 153 | .DH | 0 | ||
.DM | 2632 | .DO | 6652 | .DS | 0 | ||
.DU | 0 | .EB | 0 | .EC | 0 | ||
.EF | 0 | .EL | 1667 | .EM | 2 | ||
.EP | 0 | .EQ | 0 | .ER | 0 | ||
.ET | 0 | .FB | 0 | .FE | 0 | ||
.FI | 765 | .FK | 3 | .FM | 0 | ||
.FN | 2 | .FO | 15 | .FS | 0 | ||
.GA | 379 | .GO | 4 | .GT | 474 | ||
.H1 | 1 | .H2 | 1 | .H3 | 0 | ||
.H4 | 0 | .HE | 0 | .HI | 0 | ||
.HL | 0 | .HM | 0 | .HN | 0 | ||
.HS | 0 | .HW | 0 | .HY | 0 | ||
.IE | 0 | .IF | 5319 | .IL | 0 | ||
.IM | 1184 | .IN | 142 | .IR | 0 | ||
.IT | 0 | .IX | 8836 | .JU | 12 | ||
.LA | 0 | .LB | 0 | .LE | 0 | ||
.LI | 36 | .LL | 1 | .LN | 0 | ||
.LS | 0 | .LT | 0 | .MC | 0 | ||
.ME | 7 | .MS | 0 | .NC | 0 | ||
.NF | 0 | .NJ | 0 | .NL | 0 | ||
.OB | 0 | .OC | 2 | .OF | 0 | ||
.OJ | 0 | .OO | 0 | .OP | 0 | ||
.OT | 0 | .OV | 0 | .PA | 74 | ||
.PE | 8 | .PF | 0 | .PH | 0 | ||
.PI | 0 | .PL | 1 | .PM | 0 | ||
.PN | 0 | .PP | 1185 | .PR | 0 | ||
.PS | 0 | .PT | 0 | .PU | 58 | ||
.PW | 0 | 0 | .QU | 0 | |||
.RA | 5 | .RC | 0 | .RD | 0 | ||
.RE | 0 | .RI | 1 | .RM | 0 | ||
.RO | 0 | .RT | 0 | .RV | 0 | ||
.SA | 0 | .SC | 0 | .SE | 648 | ||
.SI | 0 | .SK | 181 | .SL | 0 | ||
.SP | 14 | .SR | 716 | .SS | 0 | ||
.SU | 5 | .SV | 0 | .SX | 0 | ||
.SY | 212 | .TB | 157 | .TC | 0 | ||
.TE | 0 | .TH | 1 | .TI | 9 | ||
.TM | 0 | .TP | 0 | .TR | 4 | ||
.TT | 0 | .TU | 0 | .TY | 28 | ||
.UC | 0 | .UD | 0 | .UL | 26 | ||
.UN | 0 | .UP | 0 | .US | 2036 | ||
.UW | 0 | .WD | 0 |
59 of 159 keywords are used in 1549 files.
Found 73 keywords in docs\gml\manuals\script-gmlref-tso.txt
:ABSTRACT :ADDRESS :ALINE :APPENDIX :AUTHOR :BACKM :BIB :BIBID
:BIBREF :BL :BODY :BORROW :BOX :CIT :COPYNOTE :COPYRIGHT :COURSE
:DATE :DD :DDHD :DECLARE :DF :DFREF :DL :DOCNUM :DT :DTHD :EN
:ENDNOTES :ENREF :F :FIG :FIGCAP :FIGDESC :FIGID :FIGLIST :FIGREF
:FN :FNREF :FRONTM :GD :GDOC :GL :GT :H0 :H1SUB :HDREF :HP0 :I1
:INCLUDE :INDEX :IREF :LI :LIHD :LIREF :LP :LQ :NOTE :OL :P
:PC :PREFACE :PSC :Q :SL :TAB :TABLIST :THESIS :TITLE :TITLEP
:TOC :UL :XMP
54 of 73 keywords are used in 684 files.
Overall counts for GML tags
tag | count | tag | count | |
:ABSTRACT | 42 | :ADDRESS | 29 | |
:ALINE | 30 | :APPENDIX | 40 | |
:AUTHOR | 63 | :BACKM | 29 | |
:BIB | 0 | :BIBID | 0 | |
:BIBREF | 0 | :BL | 198 | |
:BODY | 47 | :BORROW | 0 | |
:BOX | 5 | :CIT | 4 | |
:COPYNOTE | 0 | :COPYRIGHT | 0 | |
:COURSE | 0 | :DATE | 20 | |
:DD | 2751 | :DDHD | 279 | |
:DECLARE | 0 | :DF | 0 | |
:DFREF | 0 | :DL | 411 | |
:DOCNUM | 12 | :DT | 2749 | |
:DTHD | 278 | :EN | 156 | |
:ENDNOTES | 0 | :ENREF | 0 | |
:F | 967 | :FIG | 521 | |
:FIGCAP | 185 | :FIGDESC | 43 | |
:FIGID | 0 | :FIGLIST | 24 | |
:FIGREF | 20 | :FN | 150 | |
:FNREF | 1 | :FRONTM | 30 | |
:GD | 46 | :GDOC | 45 | |
:GL | 1 | :GT | 1 | |
:H0 | 65 | :H1SUB | 0 | |
:HDREF | 269 | :HP0 | 11 | |
:I1 | 849 | :INCLUDE | 1757 | |
:INDEX | 86 | :IREF | 6 | |
:LI | 1997 | :LIHD | 0 | |
:LIREF | 0 | :LP | 3 | |
:LQ | 1 | :NOTE | 31 | |
:OL | 125 | :P | 4221 | |
:PC | 371 | :PREFACE | 41 | |
:PSC | 14 | :Q | 16 | |
:SL | 59 | :TAB | 0 | |
:TABLIST | 0 | :THESIS | 0 | |
:TITLE | 179 | :TITLEP | 48 | |
:TOC | 190 | :UL | 101 | |
:XMP | 654 |
54 of 73 keywords are used in 684 files.
- Welcome
- Building
- Open Watcom Documentation
- Notes
- Relicensing effort
- Debugging
- OW tools usage Overview
- OW tools usage with CMake
- OW tools usage with Visual Studio Code
- Open Watcom 1.9 Wiki
OW Development
WGML Development
- WGML
- Augmented Devices
- Binary Device Files
- Common File Blocks
- COP Files
- Device File Blocks
- Device Function Language
- Device Function Notes
- Device Functions
- Directory File Format
- Drawing Boxes
- Driver File Blocks
- File and Directory Names
- Font File Blocks
- Fonts
- GML Tag Notes
- Keyword Statistics
- Macros and User Defined Tags
- Meta Data
- Page Layout Subsystem
- Search Paths
- Sequencing
- System Symbol Notes
- Tabs and Tabbing
- whpcvt Utility interaction