Changeset 7127 for src/Pugs/Help.hs

Show
Ignore:
Timestamp:
09/24/05 15:28:50 (3 years ago)
Author:
iblech
Message:

* Usual svn props.
* PIL2JS: runjs.pl: Added --compile-only option, needed for new -CJS.
* Main: Added support for -CJS and unbroke -CPIR.
* Pugs.CodeGen?: Better normalization so -h looks prettier (it's "PIL", not

"Pil", for example).

* Pugs.Help: Add JS to the list of backends supported.
* pugs::hack: Accomodate for the above changes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Help.hs

    r5447 r7127  
    1717import Pugs.Version 
    1818import Pugs.CodeGen (backends) 
     19import Data.List (sort) 
    1920 
    2021printInteractiveHelp :: IO () 
     
    5152        putStrLn "See documentation of pugs::run for more help." 
    5253    where 
    53     backendsStr = foldr1 addComma backends 
     54    backendsStr = foldr1 addComma $ sort ("JS":backends) 
    5455    addComma w s = w ++ (',':' ':s) 
    5556