@@ -86,9 +86,9 @@ externsFile :: Term (Maybe FilePath)
8686externsFile = value $ opt Nothing $ (optInfo [ "e", "externs" ])
8787 { optDoc = "The output .e.ps file" }
8888
89−tco :: Term Bool
90−tco = value $ flag $ (optInfo [ "tco" ])
91− { optDoc = "Perform tail call optimizations" }
89+noTco :: Term Bool
90+noTco = value $ flag $ (optInfo [ "no-tco" ])
91+ { optDoc = "Disable tail call optimizations" }
9292
9393performRuntimeTypeChecks :: Term Bool
9494performRuntimeTypeChecks = value $ flag $ (optInfo [ "runtime-type-checks" ])
@@ -98,9 +98,9 @@ noPrelude :: Term Bool
9898noPrelude = value $ flag $ (optInfo [ "no-prelude" ])
9999 { optDoc = "Omit the Prelude" }
100100
101−magicDo :: Term Bool
102−magicDo = value $ flag $ (optInfo [ "magic-do" ])
103− { optDoc = "Overload the do keyword to generate efficient code specifically for the Eff monad." }
101+noMagicDo :: Term Bool
102+noMagicDo = value $ flag $ (optInfo [ "no-magic-do" ])
103+ { optDoc = "Disable the optimization that overloads the do keyword to generate efficient code specifically for the Eff monad." }
104104
105105runMain :: Term (Maybe String)
106106runMain = value $ defaultOpt (Just "Main") Nothing $ (optInfo [ "main" ])
@@ -123,7 +123,7 @@ codeGenModules = value $ optAll [] $ (optInfo [ "codegen" ])
123123 { optDoc = "A list of modules for which Javascript and externs should be generated. This argument can be used multiple times." }
124124
125125options :: Term P.Options
126−options = P.Options <$> tco <*> performRuntimeTypeChecks <*> magicDo <*> runMain <*> noOpts <*> browserNamespace <*> dceModules <*> codeGenModules
126+options = P.Options <$> noTco <*> performRuntimeTypeChecks <*> noMagicDo <*> runMain <*> noOpts <*> browserNamespace <*> dceModules <*> codeGenModules
127127
128128stdInOrInputFiles :: FilePath -> Term (Maybe [FilePath])
129129stdInOrInputFiles prelude = combine <$> useStdIn <*> (not <$> noPrelude) <*> inputFiles