module Drasil.DblPend.Choices where import Language.Drasil.Code (Choices(..), CodeSpec, codeSpec, Comments(..), Verbosity(..), ConstraintBehaviour(..), ImplementationType(..), Lang(..), Modularity(..), Structure(..), ConstantStructure(..), ConstantRepr(..), AuxFile(..), Visibility(..), defaultChoices, makeArchit, makeData, makeConstraints, makeODE, makeDocConfig, makeLogConfig, makeOptFeats, ExtLib(..)) import Data.Drasil.ExternalLibraries.ODELibraries (scipyODEPckg, osloPckg, apacheODEPckg, odeintPckg) import Drasil.DblPend.Body (fullSI) import Drasil.DblPend.ODEs (dblPenODEInfo) code :: CodeSpec code :: CodeSpec code = SystemInformation -> Choices -> [Mod] -> CodeSpec codeSpec SystemInformation fullSI Choices choices [] choices :: Choices choices :: Choices choices = Choices defaultChoices { lang = [Python, Cpp, CSharp, Java], architecture = makeArchit Modular Program, dataInfo = makeData Unbundled (Store Bundled) Const, optFeats = makeOptFeats (makeDocConfig [CommentFunc, CommentClass, CommentMod] Quiet Hide) (makeLogConfig [] "log.txt") [SampleInput "../../datafiles/dblpend/sampleInput.txt", ReadME], srsConstraints = makeConstraints Warning Warning, extLibs = [Math (makeODE [dblPenODEInfo] [scipyODEPckg, osloPckg, apacheODEPckg, odeintPckg])] }