"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/plugins/reduce_filesize.lua" (12 May 2020, 264 Bytes) of package /windows/www/highlight-3.57-x64.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Lua source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 Description="Reduce output file size by ignoring numbers and operators"
    2 
    3 Categories = {"format" }
    4 
    5 -- optional parameter: syntax description
    6 function syntaxUpdate(desc)
    7   Digits = '(?!x)x'
    8   Operators = None
    9 end
   10 
   11 Plugins={
   12   { Type="lang", Chunk=syntaxUpdate },
   13 }