From 4b22b912cc9a5ea439b1246b41ae1a507bab917f Mon Sep 17 00:00:00 2001 From: Karl Ostmo Date: Mon, 8 Jul 2024 10:17:00 -0700 Subject: [PATCH] move to code dir --- .github/workflows/hlint.yml | 2 +- {app => code/app}/Main.hs | 0 {app => code/app}/Swarm/App.hs | 0 {app => code/app}/doc/Main.hs | 0 {app => code/app}/scene/Main.hs | 0 {app => code/app}/tournament/Main.hs | 0 .../src}/swarm-doc/Swarm/Doc/Command.hs | 0 {src => code/src}/swarm-doc/Swarm/Doc/Gen.hs | 0 .../src}/swarm-doc/Swarm/Doc/Keyword.hs | 0 .../src}/swarm-doc/Swarm/Doc/Pedagogy.hs | 0 .../swarm-doc/Swarm/Doc/Schema/Arrangement.hs | 0 .../src}/swarm-doc/Swarm/Doc/Schema/Parse.hs | 0 .../swarm-doc/Swarm/Doc/Schema/Refined.hs | 0 .../src}/swarm-doc/Swarm/Doc/Schema/Render.hs | 0 .../swarm-doc/Swarm/Doc/Schema/SchemaType.hs | 0 {src => code/src}/swarm-doc/Swarm/Doc/Util.hs | 0 .../swarm-doc/Swarm/Doc/Wiki/Cheatsheet.hs | 0 .../src}/swarm-doc/Swarm/Doc/Wiki/Matrix.hs | 0 .../src}/swarm-doc/Swarm/Doc/Wiki/Util.hs | 0 .../src}/swarm-engine/Swarm/Effect.hs | 0 .../src}/swarm-engine/Swarm/Effect/Time.hs | 0 .../Swarm/Game/Achievement/Attainment.hs | 0 .../Swarm/Game/Achievement/Description.hs | 0 .../Swarm/Game/Achievement/Persistence.hs | 0 .../src}/swarm-engine/Swarm/Game/CESK.hs | 0 .../src}/swarm-engine/Swarm/Game/Exception.hs | 0 .../swarm-engine/Swarm/Game/Robot/Activity.hs | 0 .../swarm-engine/Swarm/Game/Robot/Concrete.hs | 0 .../Swarm/Game/Scenario/Objective/WinCheck.hs | 0 .../Swarm/Game/Scenario/Scoring/Best.hs | 0 .../Swarm/Game/Scenario/Scoring/CodeSize.hs | 0 .../Game/Scenario/Scoring/ConcreteMetrics.hs | 0 .../Game/Scenario/Scoring/GenericMetrics.hs | 0 .../Swarm/Game/Scenario/Status.hs | 0 .../Scenario/Topography/Navigation/Util.hs | 0 .../Structure/Recognition/Tracking.hs | 0 .../swarm-engine/Swarm/Game/ScenarioInfo.hs | 0 .../src}/swarm-engine/Swarm/Game/State.hs | 0 .../swarm-engine/Swarm/Game/State/Robot.hs | 0 .../swarm-engine/Swarm/Game/State/Runtime.hs | 0 .../swarm-engine/Swarm/Game/State/Substate.hs | 0 .../src}/swarm-engine/Swarm/Game/Step.hs | 0 .../Swarm/Game/Step/Arithmetic.hs | 0 .../Swarm/Game/Step/Combustion.hs | 0 .../swarm-engine/Swarm/Game/Step/Const.hs | 0 .../swarm-engine/Swarm/Game/Step/Flood.hs | 0 .../Swarm/Game/Step/Path/Cache.hs | 0 .../Game/Step/Path/Cache/DistanceLimit.hs | 0 .../Swarm/Game/Step/Path/Finding.hs | 0 .../swarm-engine/Swarm/Game/Step/Path/Type.hs | 0 .../Swarm/Game/Step/Path/Walkability.hs | 0 .../Swarm/Game/Step/RobotStepState.hs | 0 .../src}/swarm-engine/Swarm/Game/Step/Util.hs | 0 .../Swarm/Game/Step/Util/Command.hs | 0 .../Swarm/Game/Step/Util/Inspect.hs | 0 .../swarm-engine/Swarm/Game/Step/Validate.hs | 0 .../src}/swarm-engine/Swarm/Game/Tick.hs | 0 .../src}/swarm-engine/Swarm/Game/Value.hs | 0 {src => code/src}/swarm-engine/Swarm/Log.hs | 0 .../src}/swarm-engine/Swarm/Version.hs | 0 .../src}/swarm-lang/Swarm/Effect/Unify.hs | 0 .../swarm-lang/Swarm/Effect/Unify/Common.hs | 0 .../swarm-lang/Swarm/Effect/Unify/Fast.hs | 0 .../swarm-lang/Swarm/Effect/Unify/Naive.hs | 0 .../swarm-lang/Swarm/Language/Capability.hs | 0 .../src}/swarm-lang/Swarm/Language/Context.hs | 0 .../swarm-lang/Swarm/Language/Elaborate.hs | 0 .../src}/swarm-lang/Swarm/Language/Format.hs | 0 .../src}/swarm-lang/Swarm/Language/JSON.hs | 0 .../src}/swarm-lang/Swarm/Language/Key.hs | 0 .../swarm-lang/Swarm/Language/Kindcheck.hs | 0 .../src}/swarm-lang/Swarm/Language/LSP.hs | 0 .../swarm-lang/Swarm/Language/LSP/Hover.hs | 0 .../swarm-lang/Swarm/Language/LSP/VarUsage.hs | 0 .../src}/swarm-lang/Swarm/Language/Parser.hs | 0 .../Swarm/Language/Parser/Comment.hs | 0 .../swarm-lang/Swarm/Language/Parser/Core.hs | 0 .../swarm-lang/Swarm/Language/Parser/Lex.hs | 0 .../swarm-lang/Swarm/Language/Parser/QQ.hs | 0 .../Swarm/Language/Parser/Record.hs | 0 .../swarm-lang/Swarm/Language/Parser/Term.hs | 0 .../swarm-lang/Swarm/Language/Parser/Type.hs | 0 .../swarm-lang/Swarm/Language/Parser/Util.hs | 0 .../swarm-lang/Swarm/Language/Pipeline.hs | 0 .../swarm-lang/Swarm/Language/Pipeline/QQ.hs | 0 .../src}/swarm-lang/Swarm/Language/Pretty.hs | 0 .../swarm-lang/Swarm/Language/Requirements.hs | 0 .../Swarm/Language/Requirements/Analysis.hs | 0 .../Swarm/Language/Requirements/Type.hs | 0 .../src}/swarm-lang/Swarm/Language/Syntax.hs | 0 .../swarm-lang/Swarm/Language/Syntax/AST.hs | 0 .../Swarm/Language/Syntax/CommandMetadata.hs | 0 .../Swarm/Language/Syntax/Comments.hs | 0 .../Swarm/Language/Syntax/Constants.hs | 0 .../swarm-lang/Swarm/Language/Syntax/Loc.hs | 0 .../Swarm/Language/Syntax/Pattern.hs | 0 .../swarm-lang/Swarm/Language/Syntax/Util.hs | 0 .../Swarm/Language/Text/Markdown.hs | 0 .../swarm-lang/Swarm/Language/Typecheck.hs | 0 .../src}/swarm-lang/Swarm/Language/Typed.hs | 0 .../src}/swarm-lang/Swarm/Language/Types.hs | 0 .../src}/swarm-lang/Swarm/Language/Value.hs | 0 .../src}/swarm-scenario/Swarm/Constant.hs | 0 .../Swarm/Game/Achievement/Definitions.hs | 0 .../src}/swarm-scenario/Swarm/Game/Device.hs | 0 .../src}/swarm-scenario/Swarm/Game/Display.hs | 0 .../src}/swarm-scenario/Swarm/Game/Entity.hs | 0 .../Swarm/Game/Entity/Cosmetic.hs | 0 .../Swarm/Game/Entity/Cosmetic/Assignment.hs | 0 .../src}/swarm-scenario/Swarm/Game/Failure.hs | 0 .../swarm-scenario/Swarm/Game/Ingredients.hs | 0 .../src}/swarm-scenario/Swarm/Game/Land.hs | 0 .../src}/swarm-scenario/Swarm/Game/Recipe.hs | 0 .../Swarm/Game/ResourceLoading.hs | 0 .../src}/swarm-scenario/Swarm/Game/Robot.hs | 0 .../swarm-scenario/Swarm/Game/Robot/Walk.hs | 0 .../swarm-scenario/Swarm/Game/Scenario.hs | 0 .../Swarm/Game/Scenario/Objective.hs | 0 .../Swarm/Game/Scenario/Objective/Graph.hs | 0 .../Swarm/Game/Scenario/Objective/Logic.hs | 0 .../Game/Scenario/Objective/Validation.hs | 0 .../Swarm/Game/Scenario/RobotLookup.hs | 0 .../Swarm/Game/Scenario/Style.hs | 0 .../Swarm/Game/Scenario/Topography/Cell.hs | 0 .../Swarm/Game/Scenario/Topography/Center.hs | 0 .../Game/Scenario/Topography/EntityFacade.hs | 0 .../Scenario/Topography/Navigation/Portal.hs | 0 .../Structure/Recognition/Precompute.hs | 0 .../Scenario/Topography/WorldDescription.hs | 0 .../Game/Scenario/Topography/WorldPalette.hs | 0 .../swarm-scenario/Swarm/Game/State/Config.hs | 0 .../Swarm/Game/State/Landscape.hs | 0 .../src}/swarm-scenario/Swarm/Game/Terrain.hs | 0 .../src}/swarm-scenario/Swarm/Game/World.hs | 0 .../Swarm/Game/World/Abstract.hs | 0 .../Swarm/Game/World/Compile.hs | 0 .../swarm-scenario/Swarm/Game/World/Eval.hs | 0 .../swarm-scenario/Swarm/Game/World/Gen.hs | 0 .../Swarm/Game/World/Interpret.hs | 0 .../swarm-scenario/Swarm/Game/World/Load.hs | 0 .../swarm-scenario/Swarm/Game/World/Modify.hs | 0 .../swarm-scenario/Swarm/Game/World/Parse.hs | 0 .../swarm-scenario/Swarm/Game/World/Render.hs | 0 .../swarm-scenario/Swarm/Game/World/Syntax.hs | 0 .../Swarm/Game/World/Typecheck.hs | 0 .../src}/swarm-scenario/Swarm/Util/Content.hs | 0 .../swarm-topography/Swarm/Game/Location.hs | 0 .../Swarm/Game/Scenario/Topography/Area.hs | 0 .../Swarm/Game/Scenario/Topography/Grid.hs | 0 .../Topography/Navigation/Waypoint.hs | 0 .../Game/Scenario/Topography/Placement.hs | 0 .../Game/Scenario/Topography/ProtoCell.hs | 0 .../Game/Scenario/Topography/Rasterize.hs | 0 .../Game/Scenario/Topography/Structure.hs | 0 .../Scenario/Topography/Structure/Assembly.hs | 0 .../Scenario/Topography/Structure/Overlay.hs | 0 .../Topography/Structure/Recognition.hs | 0 .../Topography/Structure/Recognition/Log.hs | 0 .../Structure/Recognition/Registry.hs | 0 .../Structure/Recognition/Symmetry.hs | 0 .../Topography/Structure/Recognition/Type.hs | 0 .../swarm-topography/Swarm/Game/Universe.hs | 0 .../Swarm/Game/World/Coords.hs | 0 .../src}/swarm-tournament/Swarm/Web/Auth.hs | 0 .../swarm-tournament/Swarm/Web/Tournament.hs | 0 .../Swarm/Web/Tournament/Database/Query.hs | 0 .../Swarm/Web/Tournament/Type.hs | 0 .../Swarm/Web/Tournament/Validate.hs | 0 .../Web/Tournament/Validate/FailureMode.hs | 0 .../Swarm/Web/Tournament/Validate/Upload.hs | 0 .../src}/swarm-tui/Swarm/TUI/Border.hs | 0 .../src}/swarm-tui/Swarm/TUI/Controller.hs | 0 .../Swarm/TUI/Controller/EventHandlers.hs | 0 .../TUI/Controller/EventHandlers/Frame.hs | 0 .../TUI/Controller/EventHandlers/Main.hs | 0 .../TUI/Controller/EventHandlers/REPL.hs | 0 .../TUI/Controller/EventHandlers/Robot.hs | 0 .../TUI/Controller/EventHandlers/World.hs | 0 .../Swarm/TUI/Controller/SaveScenario.hs | 0 .../Swarm/TUI/Controller/UpdateUI.hs | 0 .../swarm-tui/Swarm/TUI/Controller/Util.hs | 0 .../swarm-tui/Swarm/TUI/Editor/Controller.hs | 0 .../src}/swarm-tui/Swarm/TUI/Editor/Json.hs | 0 .../swarm-tui/Swarm/TUI/Editor/Masking.hs | 0 .../src}/swarm-tui/Swarm/TUI/Editor/Model.hs | 0 .../swarm-tui/Swarm/TUI/Editor/Palette.hs | 0 .../src}/swarm-tui/Swarm/TUI/Editor/Util.hs | 0 .../src}/swarm-tui/Swarm/TUI/Editor/View.hs | 0 .../swarm-tui/Swarm/TUI/Inventory/Sorting.hs | 0 .../swarm-tui/Swarm/TUI/Launch/Controller.hs | 0 .../src}/swarm-tui/Swarm/TUI/Launch/Model.hs | 0 .../src}/swarm-tui/Swarm/TUI/Launch/Prep.hs | 0 .../src}/swarm-tui/Swarm/TUI/Launch/View.hs | 0 {src => code/src}/swarm-tui/Swarm/TUI/List.hs | 0 .../src}/swarm-tui/Swarm/TUI/Model.hs | 0 .../swarm-tui/Swarm/TUI/Model/Achievements.hs | 0 .../src}/swarm-tui/Swarm/TUI/Model/Event.hs | 0 .../src}/swarm-tui/Swarm/TUI/Model/Goal.hs | 0 .../swarm-tui/Swarm/TUI/Model/KeyBindings.hs | 0 .../src}/swarm-tui/Swarm/TUI/Model/Menu.hs | 0 .../src}/swarm-tui/Swarm/TUI/Model/Name.hs | 0 .../src}/swarm-tui/Swarm/TUI/Model/Repl.hs | 0 .../swarm-tui/Swarm/TUI/Model/StateUpdate.hs | 0 .../swarm-tui/Swarm/TUI/Model/Structure.hs | 0 .../src}/swarm-tui/Swarm/TUI/Model/UI.hs | 0 .../src}/swarm-tui/Swarm/TUI/Panel.hs | 0 {src => code/src}/swarm-tui/Swarm/TUI/View.hs | 0 .../swarm-tui/Swarm/TUI/View/Achievement.hs | 0 .../Swarm/TUI/View/Attribute/Attr.hs | 0 .../Swarm/TUI/View/Attribute/CustomStyling.hs | 0 .../Swarm/TUI/View/Attribute/Util.hs | 0 .../swarm-tui/Swarm/TUI/View/CellDisplay.hs | 0 .../src}/swarm-tui/Swarm/TUI/View/Logo.hs | 0 .../swarm-tui/Swarm/TUI/View/Objective.hs | 0 .../swarm-tui/Swarm/TUI/View/Structure.hs | 0 .../src}/swarm-tui/Swarm/TUI/View/Util.hs | 0 .../Control/Carrier/Accum/FixedStrict.hs | 0 .../src}/swarm-util/Data/BoolExpr/Simplify.hs | 0 .../Swarm/Language/Syntax/Direction.hs | 0 {src => code/src}/swarm-util/Swarm/Util.hs | 0 .../src}/swarm-util/Swarm/Util/Effect.hs | 0 .../src}/swarm-util/Swarm/Util/Erasable.hs | 0 .../src}/swarm-util/Swarm/Util/JSON.hs | 0 .../src}/swarm-util/Swarm/Util/Lens.hs | 0 .../Swarm/Util/OccurrenceEncoder.hs | 0 .../swarm-util/Swarm/Util/ReadableIORef.hs | 0 .../src}/swarm-util/Swarm/Util/RingBuffer.hs | 0 .../swarm-util/Swarm/Util/UnitInterval.hs | 0 .../swarm-util/Swarm/Util/WindowedCounter.hs | 0 .../src}/swarm-util/Swarm/Util/Yaml.hs | 0 {src => code/src}/swarm-web/Swarm/Web.hs | 0 .../src}/swarm-web/Swarm/Web/Worldview.hs | 0 {test => code/test}/bench/Benchmark.hs | 0 {test => code/test}/integration/Main.hs | 0 .../test}/standalone-topography/src/Lib.hs | 0 .../test}/standalone-topography/src/Main.hs | 0 {test => code/test}/tournament-host/Main.hs | 0 {test => code/test}/unit/Main.hs | 0 {test => code/test}/unit/TestBoolExpr.hs | 0 {test => code/test}/unit/TestCommand.hs | 0 {test => code/test}/unit/TestEval.hs | 0 {test => code/test}/unit/TestInventory.hs | 0 {test => code/test}/unit/TestLSP.hs | 0 .../test}/unit/TestLanguagePipeline.hs | 0 {test => code/test}/unit/TestNotification.hs | 0 {test => code/test}/unit/TestOrdering.hs | 0 {test => code/test}/unit/TestOverlay.hs | 0 {test => code/test}/unit/TestParse.hs | 0 {test => code/test}/unit/TestPedagogy.hs | 0 {test => code/test}/unit/TestPretty.hs | 0 .../test}/unit/TestRecipeCoverage.hs | 0 {test => code/test}/unit/TestRepl.hs | 0 {test => code/test}/unit/TestRequirements.hs | 0 {test => code/test}/unit/TestScoring.hs | 0 {test => code/test}/unit/TestUtil.hs | 0 scripts/normalize/code-format.sh | 2 +- scripts/validate/issues-for-todos.sh | 2 +- swarm.cabal | 54 +++++++++---------- 258 files changed, 30 insertions(+), 30 deletions(-) rename {app => code/app}/Main.hs (100%) rename {app => code/app}/Swarm/App.hs (100%) rename {app => code/app}/doc/Main.hs (100%) rename {app => code/app}/scene/Main.hs (100%) rename {app => code/app}/tournament/Main.hs (100%) rename {src => code/src}/swarm-doc/Swarm/Doc/Command.hs (100%) rename {src => code/src}/swarm-doc/Swarm/Doc/Gen.hs (100%) rename {src => code/src}/swarm-doc/Swarm/Doc/Keyword.hs (100%) rename {src => code/src}/swarm-doc/Swarm/Doc/Pedagogy.hs (100%) rename {src => code/src}/swarm-doc/Swarm/Doc/Schema/Arrangement.hs (100%) rename {src => code/src}/swarm-doc/Swarm/Doc/Schema/Parse.hs (100%) rename {src => code/src}/swarm-doc/Swarm/Doc/Schema/Refined.hs (100%) rename {src => code/src}/swarm-doc/Swarm/Doc/Schema/Render.hs (100%) rename {src => code/src}/swarm-doc/Swarm/Doc/Schema/SchemaType.hs (100%) rename {src => code/src}/swarm-doc/Swarm/Doc/Util.hs (100%) rename {src => code/src}/swarm-doc/Swarm/Doc/Wiki/Cheatsheet.hs (100%) rename {src => code/src}/swarm-doc/Swarm/Doc/Wiki/Matrix.hs (100%) rename {src => code/src}/swarm-doc/Swarm/Doc/Wiki/Util.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Effect.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Effect/Time.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Achievement/Attainment.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Achievement/Description.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Achievement/Persistence.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/CESK.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Exception.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Robot/Activity.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Robot/Concrete.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Scenario/Objective/WinCheck.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Scenario/Scoring/Best.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Scenario/Scoring/CodeSize.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Scenario/Scoring/ConcreteMetrics.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Scenario/Scoring/GenericMetrics.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Scenario/Status.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Scenario/Topography/Navigation/Util.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Scenario/Topography/Structure/Recognition/Tracking.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/ScenarioInfo.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/State.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/State/Robot.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/State/Runtime.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/State/Substate.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Step.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Step/Arithmetic.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Step/Combustion.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Step/Const.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Step/Flood.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Step/Path/Cache.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Step/Path/Cache/DistanceLimit.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Step/Path/Finding.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Step/Path/Type.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Step/Path/Walkability.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Step/RobotStepState.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Step/Util.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Step/Util/Command.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Step/Util/Inspect.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Step/Validate.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Tick.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Game/Value.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Log.hs (100%) rename {src => code/src}/swarm-engine/Swarm/Version.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Effect/Unify.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Effect/Unify/Common.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Effect/Unify/Fast.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Effect/Unify/Naive.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Capability.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Context.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Elaborate.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Format.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/JSON.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Key.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Kindcheck.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/LSP.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/LSP/Hover.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/LSP/VarUsage.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Parser.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Parser/Comment.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Parser/Core.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Parser/Lex.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Parser/QQ.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Parser/Record.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Parser/Term.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Parser/Type.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Parser/Util.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Pipeline.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Pipeline/QQ.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Pretty.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Requirements.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Requirements/Analysis.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Requirements/Type.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Syntax.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Syntax/AST.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Syntax/CommandMetadata.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Syntax/Comments.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Syntax/Constants.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Syntax/Loc.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Syntax/Pattern.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Syntax/Util.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Text/Markdown.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Typecheck.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Typed.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Types.hs (100%) rename {src => code/src}/swarm-lang/Swarm/Language/Value.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Constant.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Achievement/Definitions.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Device.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Display.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Entity.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Entity/Cosmetic.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Entity/Cosmetic/Assignment.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Failure.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Ingredients.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Land.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Recipe.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/ResourceLoading.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Robot.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Robot/Walk.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Scenario.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Scenario/Objective.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Scenario/Objective/Graph.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Scenario/Objective/Logic.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Scenario/Objective/Validation.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Scenario/RobotLookup.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Scenario/Style.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Scenario/Topography/Cell.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Scenario/Topography/Center.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Scenario/Topography/EntityFacade.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Scenario/Topography/Navigation/Portal.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Scenario/Topography/Structure/Recognition/Precompute.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Scenario/Topography/WorldDescription.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Scenario/Topography/WorldPalette.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/State/Config.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/State/Landscape.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/Terrain.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/World.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/World/Abstract.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/World/Compile.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/World/Eval.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/World/Gen.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/World/Interpret.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/World/Load.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/World/Modify.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/World/Parse.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/World/Render.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/World/Syntax.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Game/World/Typecheck.hs (100%) rename {src => code/src}/swarm-scenario/Swarm/Util/Content.hs (100%) rename {src => code/src}/swarm-topography/Swarm/Game/Location.hs (100%) rename {src => code/src}/swarm-topography/Swarm/Game/Scenario/Topography/Area.hs (100%) rename {src => code/src}/swarm-topography/Swarm/Game/Scenario/Topography/Grid.hs (100%) rename {src => code/src}/swarm-topography/Swarm/Game/Scenario/Topography/Navigation/Waypoint.hs (100%) rename {src => code/src}/swarm-topography/Swarm/Game/Scenario/Topography/Placement.hs (100%) rename {src => code/src}/swarm-topography/Swarm/Game/Scenario/Topography/ProtoCell.hs (100%) rename {src => code/src}/swarm-topography/Swarm/Game/Scenario/Topography/Rasterize.hs (100%) rename {src => code/src}/swarm-topography/Swarm/Game/Scenario/Topography/Structure.hs (100%) rename {src => code/src}/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Assembly.hs (100%) rename {src => code/src}/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Overlay.hs (100%) rename {src => code/src}/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Recognition.hs (100%) rename {src => code/src}/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Recognition/Log.hs (100%) rename {src => code/src}/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Recognition/Registry.hs (100%) rename {src => code/src}/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Recognition/Symmetry.hs (100%) rename {src => code/src}/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Recognition/Type.hs (100%) rename {src => code/src}/swarm-topography/Swarm/Game/Universe.hs (100%) rename {src => code/src}/swarm-topography/Swarm/Game/World/Coords.hs (100%) rename {src => code/src}/swarm-tournament/Swarm/Web/Auth.hs (100%) rename {src => code/src}/swarm-tournament/Swarm/Web/Tournament.hs (100%) rename {src => code/src}/swarm-tournament/Swarm/Web/Tournament/Database/Query.hs (100%) rename {src => code/src}/swarm-tournament/Swarm/Web/Tournament/Type.hs (100%) rename {src => code/src}/swarm-tournament/Swarm/Web/Tournament/Validate.hs (100%) rename {src => code/src}/swarm-tournament/Swarm/Web/Tournament/Validate/FailureMode.hs (100%) rename {src => code/src}/swarm-tournament/Swarm/Web/Tournament/Validate/Upload.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Border.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Controller.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Controller/EventHandlers.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Controller/EventHandlers/Frame.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Controller/EventHandlers/Main.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Controller/EventHandlers/REPL.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Controller/EventHandlers/Robot.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Controller/EventHandlers/World.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Controller/SaveScenario.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Controller/UpdateUI.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Controller/Util.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Editor/Controller.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Editor/Json.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Editor/Masking.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Editor/Model.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Editor/Palette.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Editor/Util.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Editor/View.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Inventory/Sorting.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Launch/Controller.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Launch/Model.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Launch/Prep.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Launch/View.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/List.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Model.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Model/Achievements.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Model/Event.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Model/Goal.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Model/KeyBindings.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Model/Menu.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Model/Name.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Model/Repl.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Model/StateUpdate.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Model/Structure.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Model/UI.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/Panel.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/View.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/View/Achievement.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/View/Attribute/Attr.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/View/Attribute/CustomStyling.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/View/Attribute/Util.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/View/CellDisplay.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/View/Logo.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/View/Objective.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/View/Structure.hs (100%) rename {src => code/src}/swarm-tui/Swarm/TUI/View/Util.hs (100%) rename {src => code/src}/swarm-util/Control/Carrier/Accum/FixedStrict.hs (100%) rename {src => code/src}/swarm-util/Data/BoolExpr/Simplify.hs (100%) rename {src => code/src}/swarm-util/Swarm/Language/Syntax/Direction.hs (100%) rename {src => code/src}/swarm-util/Swarm/Util.hs (100%) rename {src => code/src}/swarm-util/Swarm/Util/Effect.hs (100%) rename {src => code/src}/swarm-util/Swarm/Util/Erasable.hs (100%) rename {src => code/src}/swarm-util/Swarm/Util/JSON.hs (100%) rename {src => code/src}/swarm-util/Swarm/Util/Lens.hs (100%) rename {src => code/src}/swarm-util/Swarm/Util/OccurrenceEncoder.hs (100%) rename {src => code/src}/swarm-util/Swarm/Util/ReadableIORef.hs (100%) rename {src => code/src}/swarm-util/Swarm/Util/RingBuffer.hs (100%) rename {src => code/src}/swarm-util/Swarm/Util/UnitInterval.hs (100%) rename {src => code/src}/swarm-util/Swarm/Util/WindowedCounter.hs (100%) rename {src => code/src}/swarm-util/Swarm/Util/Yaml.hs (100%) rename {src => code/src}/swarm-web/Swarm/Web.hs (100%) rename {src => code/src}/swarm-web/Swarm/Web/Worldview.hs (100%) rename {test => code/test}/bench/Benchmark.hs (100%) rename {test => code/test}/integration/Main.hs (100%) rename {test => code/test}/standalone-topography/src/Lib.hs (100%) rename {test => code/test}/standalone-topography/src/Main.hs (100%) rename {test => code/test}/tournament-host/Main.hs (100%) rename {test => code/test}/unit/Main.hs (100%) rename {test => code/test}/unit/TestBoolExpr.hs (100%) rename {test => code/test}/unit/TestCommand.hs (100%) rename {test => code/test}/unit/TestEval.hs (100%) rename {test => code/test}/unit/TestInventory.hs (100%) rename {test => code/test}/unit/TestLSP.hs (100%) rename {test => code/test}/unit/TestLanguagePipeline.hs (100%) rename {test => code/test}/unit/TestNotification.hs (100%) rename {test => code/test}/unit/TestOrdering.hs (100%) rename {test => code/test}/unit/TestOverlay.hs (100%) rename {test => code/test}/unit/TestParse.hs (100%) rename {test => code/test}/unit/TestPedagogy.hs (100%) rename {test => code/test}/unit/TestPretty.hs (100%) rename {test => code/test}/unit/TestRecipeCoverage.hs (100%) rename {test => code/test}/unit/TestRepl.hs (100%) rename {test => code/test}/unit/TestRequirements.hs (100%) rename {test => code/test}/unit/TestScoring.hs (100%) rename {test => code/test}/unit/TestUtil.hs (100%) diff --git a/.github/workflows/hlint.yml b/.github/workflows/hlint.yml index 56d0201ed..40b5b3925 100644 --- a/.github/workflows/hlint.yml +++ b/.github/workflows/hlint.yml @@ -27,5 +27,5 @@ jobs: - name: 'Run HLint' uses: haskell-actions/hlint-run@v2 with: - path: '["src/", "app/", "test/"]' + path: '["code/"]' fail-on: suggestion diff --git a/app/Main.hs b/code/app/Main.hs similarity index 100% rename from app/Main.hs rename to code/app/Main.hs diff --git a/app/Swarm/App.hs b/code/app/Swarm/App.hs similarity index 100% rename from app/Swarm/App.hs rename to code/app/Swarm/App.hs diff --git a/app/doc/Main.hs b/code/app/doc/Main.hs similarity index 100% rename from app/doc/Main.hs rename to code/app/doc/Main.hs diff --git a/app/scene/Main.hs b/code/app/scene/Main.hs similarity index 100% rename from app/scene/Main.hs rename to code/app/scene/Main.hs diff --git a/app/tournament/Main.hs b/code/app/tournament/Main.hs similarity index 100% rename from app/tournament/Main.hs rename to code/app/tournament/Main.hs diff --git a/src/swarm-doc/Swarm/Doc/Command.hs b/code/src/swarm-doc/Swarm/Doc/Command.hs similarity index 100% rename from src/swarm-doc/Swarm/Doc/Command.hs rename to code/src/swarm-doc/Swarm/Doc/Command.hs diff --git a/src/swarm-doc/Swarm/Doc/Gen.hs b/code/src/swarm-doc/Swarm/Doc/Gen.hs similarity index 100% rename from src/swarm-doc/Swarm/Doc/Gen.hs rename to code/src/swarm-doc/Swarm/Doc/Gen.hs diff --git a/src/swarm-doc/Swarm/Doc/Keyword.hs b/code/src/swarm-doc/Swarm/Doc/Keyword.hs similarity index 100% rename from src/swarm-doc/Swarm/Doc/Keyword.hs rename to code/src/swarm-doc/Swarm/Doc/Keyword.hs diff --git a/src/swarm-doc/Swarm/Doc/Pedagogy.hs b/code/src/swarm-doc/Swarm/Doc/Pedagogy.hs similarity index 100% rename from src/swarm-doc/Swarm/Doc/Pedagogy.hs rename to code/src/swarm-doc/Swarm/Doc/Pedagogy.hs diff --git a/src/swarm-doc/Swarm/Doc/Schema/Arrangement.hs b/code/src/swarm-doc/Swarm/Doc/Schema/Arrangement.hs similarity index 100% rename from src/swarm-doc/Swarm/Doc/Schema/Arrangement.hs rename to code/src/swarm-doc/Swarm/Doc/Schema/Arrangement.hs diff --git a/src/swarm-doc/Swarm/Doc/Schema/Parse.hs b/code/src/swarm-doc/Swarm/Doc/Schema/Parse.hs similarity index 100% rename from src/swarm-doc/Swarm/Doc/Schema/Parse.hs rename to code/src/swarm-doc/Swarm/Doc/Schema/Parse.hs diff --git a/src/swarm-doc/Swarm/Doc/Schema/Refined.hs b/code/src/swarm-doc/Swarm/Doc/Schema/Refined.hs similarity index 100% rename from src/swarm-doc/Swarm/Doc/Schema/Refined.hs rename to code/src/swarm-doc/Swarm/Doc/Schema/Refined.hs diff --git a/src/swarm-doc/Swarm/Doc/Schema/Render.hs b/code/src/swarm-doc/Swarm/Doc/Schema/Render.hs similarity index 100% rename from src/swarm-doc/Swarm/Doc/Schema/Render.hs rename to code/src/swarm-doc/Swarm/Doc/Schema/Render.hs diff --git a/src/swarm-doc/Swarm/Doc/Schema/SchemaType.hs b/code/src/swarm-doc/Swarm/Doc/Schema/SchemaType.hs similarity index 100% rename from src/swarm-doc/Swarm/Doc/Schema/SchemaType.hs rename to code/src/swarm-doc/Swarm/Doc/Schema/SchemaType.hs diff --git a/src/swarm-doc/Swarm/Doc/Util.hs b/code/src/swarm-doc/Swarm/Doc/Util.hs similarity index 100% rename from src/swarm-doc/Swarm/Doc/Util.hs rename to code/src/swarm-doc/Swarm/Doc/Util.hs diff --git a/src/swarm-doc/Swarm/Doc/Wiki/Cheatsheet.hs b/code/src/swarm-doc/Swarm/Doc/Wiki/Cheatsheet.hs similarity index 100% rename from src/swarm-doc/Swarm/Doc/Wiki/Cheatsheet.hs rename to code/src/swarm-doc/Swarm/Doc/Wiki/Cheatsheet.hs diff --git a/src/swarm-doc/Swarm/Doc/Wiki/Matrix.hs b/code/src/swarm-doc/Swarm/Doc/Wiki/Matrix.hs similarity index 100% rename from src/swarm-doc/Swarm/Doc/Wiki/Matrix.hs rename to code/src/swarm-doc/Swarm/Doc/Wiki/Matrix.hs diff --git a/src/swarm-doc/Swarm/Doc/Wiki/Util.hs b/code/src/swarm-doc/Swarm/Doc/Wiki/Util.hs similarity index 100% rename from src/swarm-doc/Swarm/Doc/Wiki/Util.hs rename to code/src/swarm-doc/Swarm/Doc/Wiki/Util.hs diff --git a/src/swarm-engine/Swarm/Effect.hs b/code/src/swarm-engine/Swarm/Effect.hs similarity index 100% rename from src/swarm-engine/Swarm/Effect.hs rename to code/src/swarm-engine/Swarm/Effect.hs diff --git a/src/swarm-engine/Swarm/Effect/Time.hs b/code/src/swarm-engine/Swarm/Effect/Time.hs similarity index 100% rename from src/swarm-engine/Swarm/Effect/Time.hs rename to code/src/swarm-engine/Swarm/Effect/Time.hs diff --git a/src/swarm-engine/Swarm/Game/Achievement/Attainment.hs b/code/src/swarm-engine/Swarm/Game/Achievement/Attainment.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Achievement/Attainment.hs rename to code/src/swarm-engine/Swarm/Game/Achievement/Attainment.hs diff --git a/src/swarm-engine/Swarm/Game/Achievement/Description.hs b/code/src/swarm-engine/Swarm/Game/Achievement/Description.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Achievement/Description.hs rename to code/src/swarm-engine/Swarm/Game/Achievement/Description.hs diff --git a/src/swarm-engine/Swarm/Game/Achievement/Persistence.hs b/code/src/swarm-engine/Swarm/Game/Achievement/Persistence.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Achievement/Persistence.hs rename to code/src/swarm-engine/Swarm/Game/Achievement/Persistence.hs diff --git a/src/swarm-engine/Swarm/Game/CESK.hs b/code/src/swarm-engine/Swarm/Game/CESK.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/CESK.hs rename to code/src/swarm-engine/Swarm/Game/CESK.hs diff --git a/src/swarm-engine/Swarm/Game/Exception.hs b/code/src/swarm-engine/Swarm/Game/Exception.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Exception.hs rename to code/src/swarm-engine/Swarm/Game/Exception.hs diff --git a/src/swarm-engine/Swarm/Game/Robot/Activity.hs b/code/src/swarm-engine/Swarm/Game/Robot/Activity.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Robot/Activity.hs rename to code/src/swarm-engine/Swarm/Game/Robot/Activity.hs diff --git a/src/swarm-engine/Swarm/Game/Robot/Concrete.hs b/code/src/swarm-engine/Swarm/Game/Robot/Concrete.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Robot/Concrete.hs rename to code/src/swarm-engine/Swarm/Game/Robot/Concrete.hs diff --git a/src/swarm-engine/Swarm/Game/Scenario/Objective/WinCheck.hs b/code/src/swarm-engine/Swarm/Game/Scenario/Objective/WinCheck.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Scenario/Objective/WinCheck.hs rename to code/src/swarm-engine/Swarm/Game/Scenario/Objective/WinCheck.hs diff --git a/src/swarm-engine/Swarm/Game/Scenario/Scoring/Best.hs b/code/src/swarm-engine/Swarm/Game/Scenario/Scoring/Best.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Scenario/Scoring/Best.hs rename to code/src/swarm-engine/Swarm/Game/Scenario/Scoring/Best.hs diff --git a/src/swarm-engine/Swarm/Game/Scenario/Scoring/CodeSize.hs b/code/src/swarm-engine/Swarm/Game/Scenario/Scoring/CodeSize.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Scenario/Scoring/CodeSize.hs rename to code/src/swarm-engine/Swarm/Game/Scenario/Scoring/CodeSize.hs diff --git a/src/swarm-engine/Swarm/Game/Scenario/Scoring/ConcreteMetrics.hs b/code/src/swarm-engine/Swarm/Game/Scenario/Scoring/ConcreteMetrics.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Scenario/Scoring/ConcreteMetrics.hs rename to code/src/swarm-engine/Swarm/Game/Scenario/Scoring/ConcreteMetrics.hs diff --git a/src/swarm-engine/Swarm/Game/Scenario/Scoring/GenericMetrics.hs b/code/src/swarm-engine/Swarm/Game/Scenario/Scoring/GenericMetrics.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Scenario/Scoring/GenericMetrics.hs rename to code/src/swarm-engine/Swarm/Game/Scenario/Scoring/GenericMetrics.hs diff --git a/src/swarm-engine/Swarm/Game/Scenario/Status.hs b/code/src/swarm-engine/Swarm/Game/Scenario/Status.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Scenario/Status.hs rename to code/src/swarm-engine/Swarm/Game/Scenario/Status.hs diff --git a/src/swarm-engine/Swarm/Game/Scenario/Topography/Navigation/Util.hs b/code/src/swarm-engine/Swarm/Game/Scenario/Topography/Navigation/Util.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Scenario/Topography/Navigation/Util.hs rename to code/src/swarm-engine/Swarm/Game/Scenario/Topography/Navigation/Util.hs diff --git a/src/swarm-engine/Swarm/Game/Scenario/Topography/Structure/Recognition/Tracking.hs b/code/src/swarm-engine/Swarm/Game/Scenario/Topography/Structure/Recognition/Tracking.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Scenario/Topography/Structure/Recognition/Tracking.hs rename to code/src/swarm-engine/Swarm/Game/Scenario/Topography/Structure/Recognition/Tracking.hs diff --git a/src/swarm-engine/Swarm/Game/ScenarioInfo.hs b/code/src/swarm-engine/Swarm/Game/ScenarioInfo.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/ScenarioInfo.hs rename to code/src/swarm-engine/Swarm/Game/ScenarioInfo.hs diff --git a/src/swarm-engine/Swarm/Game/State.hs b/code/src/swarm-engine/Swarm/Game/State.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/State.hs rename to code/src/swarm-engine/Swarm/Game/State.hs diff --git a/src/swarm-engine/Swarm/Game/State/Robot.hs b/code/src/swarm-engine/Swarm/Game/State/Robot.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/State/Robot.hs rename to code/src/swarm-engine/Swarm/Game/State/Robot.hs diff --git a/src/swarm-engine/Swarm/Game/State/Runtime.hs b/code/src/swarm-engine/Swarm/Game/State/Runtime.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/State/Runtime.hs rename to code/src/swarm-engine/Swarm/Game/State/Runtime.hs diff --git a/src/swarm-engine/Swarm/Game/State/Substate.hs b/code/src/swarm-engine/Swarm/Game/State/Substate.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/State/Substate.hs rename to code/src/swarm-engine/Swarm/Game/State/Substate.hs diff --git a/src/swarm-engine/Swarm/Game/Step.hs b/code/src/swarm-engine/Swarm/Game/Step.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Step.hs rename to code/src/swarm-engine/Swarm/Game/Step.hs diff --git a/src/swarm-engine/Swarm/Game/Step/Arithmetic.hs b/code/src/swarm-engine/Swarm/Game/Step/Arithmetic.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Step/Arithmetic.hs rename to code/src/swarm-engine/Swarm/Game/Step/Arithmetic.hs diff --git a/src/swarm-engine/Swarm/Game/Step/Combustion.hs b/code/src/swarm-engine/Swarm/Game/Step/Combustion.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Step/Combustion.hs rename to code/src/swarm-engine/Swarm/Game/Step/Combustion.hs diff --git a/src/swarm-engine/Swarm/Game/Step/Const.hs b/code/src/swarm-engine/Swarm/Game/Step/Const.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Step/Const.hs rename to code/src/swarm-engine/Swarm/Game/Step/Const.hs diff --git a/src/swarm-engine/Swarm/Game/Step/Flood.hs b/code/src/swarm-engine/Swarm/Game/Step/Flood.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Step/Flood.hs rename to code/src/swarm-engine/Swarm/Game/Step/Flood.hs diff --git a/src/swarm-engine/Swarm/Game/Step/Path/Cache.hs b/code/src/swarm-engine/Swarm/Game/Step/Path/Cache.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Step/Path/Cache.hs rename to code/src/swarm-engine/Swarm/Game/Step/Path/Cache.hs diff --git a/src/swarm-engine/Swarm/Game/Step/Path/Cache/DistanceLimit.hs b/code/src/swarm-engine/Swarm/Game/Step/Path/Cache/DistanceLimit.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Step/Path/Cache/DistanceLimit.hs rename to code/src/swarm-engine/Swarm/Game/Step/Path/Cache/DistanceLimit.hs diff --git a/src/swarm-engine/Swarm/Game/Step/Path/Finding.hs b/code/src/swarm-engine/Swarm/Game/Step/Path/Finding.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Step/Path/Finding.hs rename to code/src/swarm-engine/Swarm/Game/Step/Path/Finding.hs diff --git a/src/swarm-engine/Swarm/Game/Step/Path/Type.hs b/code/src/swarm-engine/Swarm/Game/Step/Path/Type.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Step/Path/Type.hs rename to code/src/swarm-engine/Swarm/Game/Step/Path/Type.hs diff --git a/src/swarm-engine/Swarm/Game/Step/Path/Walkability.hs b/code/src/swarm-engine/Swarm/Game/Step/Path/Walkability.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Step/Path/Walkability.hs rename to code/src/swarm-engine/Swarm/Game/Step/Path/Walkability.hs diff --git a/src/swarm-engine/Swarm/Game/Step/RobotStepState.hs b/code/src/swarm-engine/Swarm/Game/Step/RobotStepState.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Step/RobotStepState.hs rename to code/src/swarm-engine/Swarm/Game/Step/RobotStepState.hs diff --git a/src/swarm-engine/Swarm/Game/Step/Util.hs b/code/src/swarm-engine/Swarm/Game/Step/Util.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Step/Util.hs rename to code/src/swarm-engine/Swarm/Game/Step/Util.hs diff --git a/src/swarm-engine/Swarm/Game/Step/Util/Command.hs b/code/src/swarm-engine/Swarm/Game/Step/Util/Command.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Step/Util/Command.hs rename to code/src/swarm-engine/Swarm/Game/Step/Util/Command.hs diff --git a/src/swarm-engine/Swarm/Game/Step/Util/Inspect.hs b/code/src/swarm-engine/Swarm/Game/Step/Util/Inspect.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Step/Util/Inspect.hs rename to code/src/swarm-engine/Swarm/Game/Step/Util/Inspect.hs diff --git a/src/swarm-engine/Swarm/Game/Step/Validate.hs b/code/src/swarm-engine/Swarm/Game/Step/Validate.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Step/Validate.hs rename to code/src/swarm-engine/Swarm/Game/Step/Validate.hs diff --git a/src/swarm-engine/Swarm/Game/Tick.hs b/code/src/swarm-engine/Swarm/Game/Tick.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Tick.hs rename to code/src/swarm-engine/Swarm/Game/Tick.hs diff --git a/src/swarm-engine/Swarm/Game/Value.hs b/code/src/swarm-engine/Swarm/Game/Value.hs similarity index 100% rename from src/swarm-engine/Swarm/Game/Value.hs rename to code/src/swarm-engine/Swarm/Game/Value.hs diff --git a/src/swarm-engine/Swarm/Log.hs b/code/src/swarm-engine/Swarm/Log.hs similarity index 100% rename from src/swarm-engine/Swarm/Log.hs rename to code/src/swarm-engine/Swarm/Log.hs diff --git a/src/swarm-engine/Swarm/Version.hs b/code/src/swarm-engine/Swarm/Version.hs similarity index 100% rename from src/swarm-engine/Swarm/Version.hs rename to code/src/swarm-engine/Swarm/Version.hs diff --git a/src/swarm-lang/Swarm/Effect/Unify.hs b/code/src/swarm-lang/Swarm/Effect/Unify.hs similarity index 100% rename from src/swarm-lang/Swarm/Effect/Unify.hs rename to code/src/swarm-lang/Swarm/Effect/Unify.hs diff --git a/src/swarm-lang/Swarm/Effect/Unify/Common.hs b/code/src/swarm-lang/Swarm/Effect/Unify/Common.hs similarity index 100% rename from src/swarm-lang/Swarm/Effect/Unify/Common.hs rename to code/src/swarm-lang/Swarm/Effect/Unify/Common.hs diff --git a/src/swarm-lang/Swarm/Effect/Unify/Fast.hs b/code/src/swarm-lang/Swarm/Effect/Unify/Fast.hs similarity index 100% rename from src/swarm-lang/Swarm/Effect/Unify/Fast.hs rename to code/src/swarm-lang/Swarm/Effect/Unify/Fast.hs diff --git a/src/swarm-lang/Swarm/Effect/Unify/Naive.hs b/code/src/swarm-lang/Swarm/Effect/Unify/Naive.hs similarity index 100% rename from src/swarm-lang/Swarm/Effect/Unify/Naive.hs rename to code/src/swarm-lang/Swarm/Effect/Unify/Naive.hs diff --git a/src/swarm-lang/Swarm/Language/Capability.hs b/code/src/swarm-lang/Swarm/Language/Capability.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Capability.hs rename to code/src/swarm-lang/Swarm/Language/Capability.hs diff --git a/src/swarm-lang/Swarm/Language/Context.hs b/code/src/swarm-lang/Swarm/Language/Context.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Context.hs rename to code/src/swarm-lang/Swarm/Language/Context.hs diff --git a/src/swarm-lang/Swarm/Language/Elaborate.hs b/code/src/swarm-lang/Swarm/Language/Elaborate.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Elaborate.hs rename to code/src/swarm-lang/Swarm/Language/Elaborate.hs diff --git a/src/swarm-lang/Swarm/Language/Format.hs b/code/src/swarm-lang/Swarm/Language/Format.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Format.hs rename to code/src/swarm-lang/Swarm/Language/Format.hs diff --git a/src/swarm-lang/Swarm/Language/JSON.hs b/code/src/swarm-lang/Swarm/Language/JSON.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/JSON.hs rename to code/src/swarm-lang/Swarm/Language/JSON.hs diff --git a/src/swarm-lang/Swarm/Language/Key.hs b/code/src/swarm-lang/Swarm/Language/Key.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Key.hs rename to code/src/swarm-lang/Swarm/Language/Key.hs diff --git a/src/swarm-lang/Swarm/Language/Kindcheck.hs b/code/src/swarm-lang/Swarm/Language/Kindcheck.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Kindcheck.hs rename to code/src/swarm-lang/Swarm/Language/Kindcheck.hs diff --git a/src/swarm-lang/Swarm/Language/LSP.hs b/code/src/swarm-lang/Swarm/Language/LSP.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/LSP.hs rename to code/src/swarm-lang/Swarm/Language/LSP.hs diff --git a/src/swarm-lang/Swarm/Language/LSP/Hover.hs b/code/src/swarm-lang/Swarm/Language/LSP/Hover.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/LSP/Hover.hs rename to code/src/swarm-lang/Swarm/Language/LSP/Hover.hs diff --git a/src/swarm-lang/Swarm/Language/LSP/VarUsage.hs b/code/src/swarm-lang/Swarm/Language/LSP/VarUsage.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/LSP/VarUsage.hs rename to code/src/swarm-lang/Swarm/Language/LSP/VarUsage.hs diff --git a/src/swarm-lang/Swarm/Language/Parser.hs b/code/src/swarm-lang/Swarm/Language/Parser.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Parser.hs rename to code/src/swarm-lang/Swarm/Language/Parser.hs diff --git a/src/swarm-lang/Swarm/Language/Parser/Comment.hs b/code/src/swarm-lang/Swarm/Language/Parser/Comment.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Parser/Comment.hs rename to code/src/swarm-lang/Swarm/Language/Parser/Comment.hs diff --git a/src/swarm-lang/Swarm/Language/Parser/Core.hs b/code/src/swarm-lang/Swarm/Language/Parser/Core.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Parser/Core.hs rename to code/src/swarm-lang/Swarm/Language/Parser/Core.hs diff --git a/src/swarm-lang/Swarm/Language/Parser/Lex.hs b/code/src/swarm-lang/Swarm/Language/Parser/Lex.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Parser/Lex.hs rename to code/src/swarm-lang/Swarm/Language/Parser/Lex.hs diff --git a/src/swarm-lang/Swarm/Language/Parser/QQ.hs b/code/src/swarm-lang/Swarm/Language/Parser/QQ.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Parser/QQ.hs rename to code/src/swarm-lang/Swarm/Language/Parser/QQ.hs diff --git a/src/swarm-lang/Swarm/Language/Parser/Record.hs b/code/src/swarm-lang/Swarm/Language/Parser/Record.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Parser/Record.hs rename to code/src/swarm-lang/Swarm/Language/Parser/Record.hs diff --git a/src/swarm-lang/Swarm/Language/Parser/Term.hs b/code/src/swarm-lang/Swarm/Language/Parser/Term.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Parser/Term.hs rename to code/src/swarm-lang/Swarm/Language/Parser/Term.hs diff --git a/src/swarm-lang/Swarm/Language/Parser/Type.hs b/code/src/swarm-lang/Swarm/Language/Parser/Type.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Parser/Type.hs rename to code/src/swarm-lang/Swarm/Language/Parser/Type.hs diff --git a/src/swarm-lang/Swarm/Language/Parser/Util.hs b/code/src/swarm-lang/Swarm/Language/Parser/Util.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Parser/Util.hs rename to code/src/swarm-lang/Swarm/Language/Parser/Util.hs diff --git a/src/swarm-lang/Swarm/Language/Pipeline.hs b/code/src/swarm-lang/Swarm/Language/Pipeline.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Pipeline.hs rename to code/src/swarm-lang/Swarm/Language/Pipeline.hs diff --git a/src/swarm-lang/Swarm/Language/Pipeline/QQ.hs b/code/src/swarm-lang/Swarm/Language/Pipeline/QQ.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Pipeline/QQ.hs rename to code/src/swarm-lang/Swarm/Language/Pipeline/QQ.hs diff --git a/src/swarm-lang/Swarm/Language/Pretty.hs b/code/src/swarm-lang/Swarm/Language/Pretty.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Pretty.hs rename to code/src/swarm-lang/Swarm/Language/Pretty.hs diff --git a/src/swarm-lang/Swarm/Language/Requirements.hs b/code/src/swarm-lang/Swarm/Language/Requirements.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Requirements.hs rename to code/src/swarm-lang/Swarm/Language/Requirements.hs diff --git a/src/swarm-lang/Swarm/Language/Requirements/Analysis.hs b/code/src/swarm-lang/Swarm/Language/Requirements/Analysis.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Requirements/Analysis.hs rename to code/src/swarm-lang/Swarm/Language/Requirements/Analysis.hs diff --git a/src/swarm-lang/Swarm/Language/Requirements/Type.hs b/code/src/swarm-lang/Swarm/Language/Requirements/Type.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Requirements/Type.hs rename to code/src/swarm-lang/Swarm/Language/Requirements/Type.hs diff --git a/src/swarm-lang/Swarm/Language/Syntax.hs b/code/src/swarm-lang/Swarm/Language/Syntax.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Syntax.hs rename to code/src/swarm-lang/Swarm/Language/Syntax.hs diff --git a/src/swarm-lang/Swarm/Language/Syntax/AST.hs b/code/src/swarm-lang/Swarm/Language/Syntax/AST.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Syntax/AST.hs rename to code/src/swarm-lang/Swarm/Language/Syntax/AST.hs diff --git a/src/swarm-lang/Swarm/Language/Syntax/CommandMetadata.hs b/code/src/swarm-lang/Swarm/Language/Syntax/CommandMetadata.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Syntax/CommandMetadata.hs rename to code/src/swarm-lang/Swarm/Language/Syntax/CommandMetadata.hs diff --git a/src/swarm-lang/Swarm/Language/Syntax/Comments.hs b/code/src/swarm-lang/Swarm/Language/Syntax/Comments.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Syntax/Comments.hs rename to code/src/swarm-lang/Swarm/Language/Syntax/Comments.hs diff --git a/src/swarm-lang/Swarm/Language/Syntax/Constants.hs b/code/src/swarm-lang/Swarm/Language/Syntax/Constants.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Syntax/Constants.hs rename to code/src/swarm-lang/Swarm/Language/Syntax/Constants.hs diff --git a/src/swarm-lang/Swarm/Language/Syntax/Loc.hs b/code/src/swarm-lang/Swarm/Language/Syntax/Loc.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Syntax/Loc.hs rename to code/src/swarm-lang/Swarm/Language/Syntax/Loc.hs diff --git a/src/swarm-lang/Swarm/Language/Syntax/Pattern.hs b/code/src/swarm-lang/Swarm/Language/Syntax/Pattern.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Syntax/Pattern.hs rename to code/src/swarm-lang/Swarm/Language/Syntax/Pattern.hs diff --git a/src/swarm-lang/Swarm/Language/Syntax/Util.hs b/code/src/swarm-lang/Swarm/Language/Syntax/Util.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Syntax/Util.hs rename to code/src/swarm-lang/Swarm/Language/Syntax/Util.hs diff --git a/src/swarm-lang/Swarm/Language/Text/Markdown.hs b/code/src/swarm-lang/Swarm/Language/Text/Markdown.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Text/Markdown.hs rename to code/src/swarm-lang/Swarm/Language/Text/Markdown.hs diff --git a/src/swarm-lang/Swarm/Language/Typecheck.hs b/code/src/swarm-lang/Swarm/Language/Typecheck.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Typecheck.hs rename to code/src/swarm-lang/Swarm/Language/Typecheck.hs diff --git a/src/swarm-lang/Swarm/Language/Typed.hs b/code/src/swarm-lang/Swarm/Language/Typed.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Typed.hs rename to code/src/swarm-lang/Swarm/Language/Typed.hs diff --git a/src/swarm-lang/Swarm/Language/Types.hs b/code/src/swarm-lang/Swarm/Language/Types.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Types.hs rename to code/src/swarm-lang/Swarm/Language/Types.hs diff --git a/src/swarm-lang/Swarm/Language/Value.hs b/code/src/swarm-lang/Swarm/Language/Value.hs similarity index 100% rename from src/swarm-lang/Swarm/Language/Value.hs rename to code/src/swarm-lang/Swarm/Language/Value.hs diff --git a/src/swarm-scenario/Swarm/Constant.hs b/code/src/swarm-scenario/Swarm/Constant.hs similarity index 100% rename from src/swarm-scenario/Swarm/Constant.hs rename to code/src/swarm-scenario/Swarm/Constant.hs diff --git a/src/swarm-scenario/Swarm/Game/Achievement/Definitions.hs b/code/src/swarm-scenario/Swarm/Game/Achievement/Definitions.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Achievement/Definitions.hs rename to code/src/swarm-scenario/Swarm/Game/Achievement/Definitions.hs diff --git a/src/swarm-scenario/Swarm/Game/Device.hs b/code/src/swarm-scenario/Swarm/Game/Device.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Device.hs rename to code/src/swarm-scenario/Swarm/Game/Device.hs diff --git a/src/swarm-scenario/Swarm/Game/Display.hs b/code/src/swarm-scenario/Swarm/Game/Display.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Display.hs rename to code/src/swarm-scenario/Swarm/Game/Display.hs diff --git a/src/swarm-scenario/Swarm/Game/Entity.hs b/code/src/swarm-scenario/Swarm/Game/Entity.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Entity.hs rename to code/src/swarm-scenario/Swarm/Game/Entity.hs diff --git a/src/swarm-scenario/Swarm/Game/Entity/Cosmetic.hs b/code/src/swarm-scenario/Swarm/Game/Entity/Cosmetic.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Entity/Cosmetic.hs rename to code/src/swarm-scenario/Swarm/Game/Entity/Cosmetic.hs diff --git a/src/swarm-scenario/Swarm/Game/Entity/Cosmetic/Assignment.hs b/code/src/swarm-scenario/Swarm/Game/Entity/Cosmetic/Assignment.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Entity/Cosmetic/Assignment.hs rename to code/src/swarm-scenario/Swarm/Game/Entity/Cosmetic/Assignment.hs diff --git a/src/swarm-scenario/Swarm/Game/Failure.hs b/code/src/swarm-scenario/Swarm/Game/Failure.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Failure.hs rename to code/src/swarm-scenario/Swarm/Game/Failure.hs diff --git a/src/swarm-scenario/Swarm/Game/Ingredients.hs b/code/src/swarm-scenario/Swarm/Game/Ingredients.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Ingredients.hs rename to code/src/swarm-scenario/Swarm/Game/Ingredients.hs diff --git a/src/swarm-scenario/Swarm/Game/Land.hs b/code/src/swarm-scenario/Swarm/Game/Land.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Land.hs rename to code/src/swarm-scenario/Swarm/Game/Land.hs diff --git a/src/swarm-scenario/Swarm/Game/Recipe.hs b/code/src/swarm-scenario/Swarm/Game/Recipe.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Recipe.hs rename to code/src/swarm-scenario/Swarm/Game/Recipe.hs diff --git a/src/swarm-scenario/Swarm/Game/ResourceLoading.hs b/code/src/swarm-scenario/Swarm/Game/ResourceLoading.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/ResourceLoading.hs rename to code/src/swarm-scenario/Swarm/Game/ResourceLoading.hs diff --git a/src/swarm-scenario/Swarm/Game/Robot.hs b/code/src/swarm-scenario/Swarm/Game/Robot.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Robot.hs rename to code/src/swarm-scenario/Swarm/Game/Robot.hs diff --git a/src/swarm-scenario/Swarm/Game/Robot/Walk.hs b/code/src/swarm-scenario/Swarm/Game/Robot/Walk.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Robot/Walk.hs rename to code/src/swarm-scenario/Swarm/Game/Robot/Walk.hs diff --git a/src/swarm-scenario/Swarm/Game/Scenario.hs b/code/src/swarm-scenario/Swarm/Game/Scenario.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Scenario.hs rename to code/src/swarm-scenario/Swarm/Game/Scenario.hs diff --git a/src/swarm-scenario/Swarm/Game/Scenario/Objective.hs b/code/src/swarm-scenario/Swarm/Game/Scenario/Objective.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Scenario/Objective.hs rename to code/src/swarm-scenario/Swarm/Game/Scenario/Objective.hs diff --git a/src/swarm-scenario/Swarm/Game/Scenario/Objective/Graph.hs b/code/src/swarm-scenario/Swarm/Game/Scenario/Objective/Graph.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Scenario/Objective/Graph.hs rename to code/src/swarm-scenario/Swarm/Game/Scenario/Objective/Graph.hs diff --git a/src/swarm-scenario/Swarm/Game/Scenario/Objective/Logic.hs b/code/src/swarm-scenario/Swarm/Game/Scenario/Objective/Logic.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Scenario/Objective/Logic.hs rename to code/src/swarm-scenario/Swarm/Game/Scenario/Objective/Logic.hs diff --git a/src/swarm-scenario/Swarm/Game/Scenario/Objective/Validation.hs b/code/src/swarm-scenario/Swarm/Game/Scenario/Objective/Validation.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Scenario/Objective/Validation.hs rename to code/src/swarm-scenario/Swarm/Game/Scenario/Objective/Validation.hs diff --git a/src/swarm-scenario/Swarm/Game/Scenario/RobotLookup.hs b/code/src/swarm-scenario/Swarm/Game/Scenario/RobotLookup.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Scenario/RobotLookup.hs rename to code/src/swarm-scenario/Swarm/Game/Scenario/RobotLookup.hs diff --git a/src/swarm-scenario/Swarm/Game/Scenario/Style.hs b/code/src/swarm-scenario/Swarm/Game/Scenario/Style.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Scenario/Style.hs rename to code/src/swarm-scenario/Swarm/Game/Scenario/Style.hs diff --git a/src/swarm-scenario/Swarm/Game/Scenario/Topography/Cell.hs b/code/src/swarm-scenario/Swarm/Game/Scenario/Topography/Cell.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Scenario/Topography/Cell.hs rename to code/src/swarm-scenario/Swarm/Game/Scenario/Topography/Cell.hs diff --git a/src/swarm-scenario/Swarm/Game/Scenario/Topography/Center.hs b/code/src/swarm-scenario/Swarm/Game/Scenario/Topography/Center.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Scenario/Topography/Center.hs rename to code/src/swarm-scenario/Swarm/Game/Scenario/Topography/Center.hs diff --git a/src/swarm-scenario/Swarm/Game/Scenario/Topography/EntityFacade.hs b/code/src/swarm-scenario/Swarm/Game/Scenario/Topography/EntityFacade.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Scenario/Topography/EntityFacade.hs rename to code/src/swarm-scenario/Swarm/Game/Scenario/Topography/EntityFacade.hs diff --git a/src/swarm-scenario/Swarm/Game/Scenario/Topography/Navigation/Portal.hs b/code/src/swarm-scenario/Swarm/Game/Scenario/Topography/Navigation/Portal.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Scenario/Topography/Navigation/Portal.hs rename to code/src/swarm-scenario/Swarm/Game/Scenario/Topography/Navigation/Portal.hs diff --git a/src/swarm-scenario/Swarm/Game/Scenario/Topography/Structure/Recognition/Precompute.hs b/code/src/swarm-scenario/Swarm/Game/Scenario/Topography/Structure/Recognition/Precompute.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Scenario/Topography/Structure/Recognition/Precompute.hs rename to code/src/swarm-scenario/Swarm/Game/Scenario/Topography/Structure/Recognition/Precompute.hs diff --git a/src/swarm-scenario/Swarm/Game/Scenario/Topography/WorldDescription.hs b/code/src/swarm-scenario/Swarm/Game/Scenario/Topography/WorldDescription.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Scenario/Topography/WorldDescription.hs rename to code/src/swarm-scenario/Swarm/Game/Scenario/Topography/WorldDescription.hs diff --git a/src/swarm-scenario/Swarm/Game/Scenario/Topography/WorldPalette.hs b/code/src/swarm-scenario/Swarm/Game/Scenario/Topography/WorldPalette.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Scenario/Topography/WorldPalette.hs rename to code/src/swarm-scenario/Swarm/Game/Scenario/Topography/WorldPalette.hs diff --git a/src/swarm-scenario/Swarm/Game/State/Config.hs b/code/src/swarm-scenario/Swarm/Game/State/Config.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/State/Config.hs rename to code/src/swarm-scenario/Swarm/Game/State/Config.hs diff --git a/src/swarm-scenario/Swarm/Game/State/Landscape.hs b/code/src/swarm-scenario/Swarm/Game/State/Landscape.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/State/Landscape.hs rename to code/src/swarm-scenario/Swarm/Game/State/Landscape.hs diff --git a/src/swarm-scenario/Swarm/Game/Terrain.hs b/code/src/swarm-scenario/Swarm/Game/Terrain.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/Terrain.hs rename to code/src/swarm-scenario/Swarm/Game/Terrain.hs diff --git a/src/swarm-scenario/Swarm/Game/World.hs b/code/src/swarm-scenario/Swarm/Game/World.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/World.hs rename to code/src/swarm-scenario/Swarm/Game/World.hs diff --git a/src/swarm-scenario/Swarm/Game/World/Abstract.hs b/code/src/swarm-scenario/Swarm/Game/World/Abstract.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/World/Abstract.hs rename to code/src/swarm-scenario/Swarm/Game/World/Abstract.hs diff --git a/src/swarm-scenario/Swarm/Game/World/Compile.hs b/code/src/swarm-scenario/Swarm/Game/World/Compile.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/World/Compile.hs rename to code/src/swarm-scenario/Swarm/Game/World/Compile.hs diff --git a/src/swarm-scenario/Swarm/Game/World/Eval.hs b/code/src/swarm-scenario/Swarm/Game/World/Eval.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/World/Eval.hs rename to code/src/swarm-scenario/Swarm/Game/World/Eval.hs diff --git a/src/swarm-scenario/Swarm/Game/World/Gen.hs b/code/src/swarm-scenario/Swarm/Game/World/Gen.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/World/Gen.hs rename to code/src/swarm-scenario/Swarm/Game/World/Gen.hs diff --git a/src/swarm-scenario/Swarm/Game/World/Interpret.hs b/code/src/swarm-scenario/Swarm/Game/World/Interpret.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/World/Interpret.hs rename to code/src/swarm-scenario/Swarm/Game/World/Interpret.hs diff --git a/src/swarm-scenario/Swarm/Game/World/Load.hs b/code/src/swarm-scenario/Swarm/Game/World/Load.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/World/Load.hs rename to code/src/swarm-scenario/Swarm/Game/World/Load.hs diff --git a/src/swarm-scenario/Swarm/Game/World/Modify.hs b/code/src/swarm-scenario/Swarm/Game/World/Modify.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/World/Modify.hs rename to code/src/swarm-scenario/Swarm/Game/World/Modify.hs diff --git a/src/swarm-scenario/Swarm/Game/World/Parse.hs b/code/src/swarm-scenario/Swarm/Game/World/Parse.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/World/Parse.hs rename to code/src/swarm-scenario/Swarm/Game/World/Parse.hs diff --git a/src/swarm-scenario/Swarm/Game/World/Render.hs b/code/src/swarm-scenario/Swarm/Game/World/Render.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/World/Render.hs rename to code/src/swarm-scenario/Swarm/Game/World/Render.hs diff --git a/src/swarm-scenario/Swarm/Game/World/Syntax.hs b/code/src/swarm-scenario/Swarm/Game/World/Syntax.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/World/Syntax.hs rename to code/src/swarm-scenario/Swarm/Game/World/Syntax.hs diff --git a/src/swarm-scenario/Swarm/Game/World/Typecheck.hs b/code/src/swarm-scenario/Swarm/Game/World/Typecheck.hs similarity index 100% rename from src/swarm-scenario/Swarm/Game/World/Typecheck.hs rename to code/src/swarm-scenario/Swarm/Game/World/Typecheck.hs diff --git a/src/swarm-scenario/Swarm/Util/Content.hs b/code/src/swarm-scenario/Swarm/Util/Content.hs similarity index 100% rename from src/swarm-scenario/Swarm/Util/Content.hs rename to code/src/swarm-scenario/Swarm/Util/Content.hs diff --git a/src/swarm-topography/Swarm/Game/Location.hs b/code/src/swarm-topography/Swarm/Game/Location.hs similarity index 100% rename from src/swarm-topography/Swarm/Game/Location.hs rename to code/src/swarm-topography/Swarm/Game/Location.hs diff --git a/src/swarm-topography/Swarm/Game/Scenario/Topography/Area.hs b/code/src/swarm-topography/Swarm/Game/Scenario/Topography/Area.hs similarity index 100% rename from src/swarm-topography/Swarm/Game/Scenario/Topography/Area.hs rename to code/src/swarm-topography/Swarm/Game/Scenario/Topography/Area.hs diff --git a/src/swarm-topography/Swarm/Game/Scenario/Topography/Grid.hs b/code/src/swarm-topography/Swarm/Game/Scenario/Topography/Grid.hs similarity index 100% rename from src/swarm-topography/Swarm/Game/Scenario/Topography/Grid.hs rename to code/src/swarm-topography/Swarm/Game/Scenario/Topography/Grid.hs diff --git a/src/swarm-topography/Swarm/Game/Scenario/Topography/Navigation/Waypoint.hs b/code/src/swarm-topography/Swarm/Game/Scenario/Topography/Navigation/Waypoint.hs similarity index 100% rename from src/swarm-topography/Swarm/Game/Scenario/Topography/Navigation/Waypoint.hs rename to code/src/swarm-topography/Swarm/Game/Scenario/Topography/Navigation/Waypoint.hs diff --git a/src/swarm-topography/Swarm/Game/Scenario/Topography/Placement.hs b/code/src/swarm-topography/Swarm/Game/Scenario/Topography/Placement.hs similarity index 100% rename from src/swarm-topography/Swarm/Game/Scenario/Topography/Placement.hs rename to code/src/swarm-topography/Swarm/Game/Scenario/Topography/Placement.hs diff --git a/src/swarm-topography/Swarm/Game/Scenario/Topography/ProtoCell.hs b/code/src/swarm-topography/Swarm/Game/Scenario/Topography/ProtoCell.hs similarity index 100% rename from src/swarm-topography/Swarm/Game/Scenario/Topography/ProtoCell.hs rename to code/src/swarm-topography/Swarm/Game/Scenario/Topography/ProtoCell.hs diff --git a/src/swarm-topography/Swarm/Game/Scenario/Topography/Rasterize.hs b/code/src/swarm-topography/Swarm/Game/Scenario/Topography/Rasterize.hs similarity index 100% rename from src/swarm-topography/Swarm/Game/Scenario/Topography/Rasterize.hs rename to code/src/swarm-topography/Swarm/Game/Scenario/Topography/Rasterize.hs diff --git a/src/swarm-topography/Swarm/Game/Scenario/Topography/Structure.hs b/code/src/swarm-topography/Swarm/Game/Scenario/Topography/Structure.hs similarity index 100% rename from src/swarm-topography/Swarm/Game/Scenario/Topography/Structure.hs rename to code/src/swarm-topography/Swarm/Game/Scenario/Topography/Structure.hs diff --git a/src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Assembly.hs b/code/src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Assembly.hs similarity index 100% rename from src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Assembly.hs rename to code/src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Assembly.hs diff --git a/src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Overlay.hs b/code/src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Overlay.hs similarity index 100% rename from src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Overlay.hs rename to code/src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Overlay.hs diff --git a/src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Recognition.hs b/code/src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Recognition.hs similarity index 100% rename from src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Recognition.hs rename to code/src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Recognition.hs diff --git a/src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Recognition/Log.hs b/code/src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Recognition/Log.hs similarity index 100% rename from src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Recognition/Log.hs rename to code/src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Recognition/Log.hs diff --git a/src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Recognition/Registry.hs b/code/src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Recognition/Registry.hs similarity index 100% rename from src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Recognition/Registry.hs rename to code/src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Recognition/Registry.hs diff --git a/src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Recognition/Symmetry.hs b/code/src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Recognition/Symmetry.hs similarity index 100% rename from src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Recognition/Symmetry.hs rename to code/src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Recognition/Symmetry.hs diff --git a/src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Recognition/Type.hs b/code/src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Recognition/Type.hs similarity index 100% rename from src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Recognition/Type.hs rename to code/src/swarm-topography/Swarm/Game/Scenario/Topography/Structure/Recognition/Type.hs diff --git a/src/swarm-topography/Swarm/Game/Universe.hs b/code/src/swarm-topography/Swarm/Game/Universe.hs similarity index 100% rename from src/swarm-topography/Swarm/Game/Universe.hs rename to code/src/swarm-topography/Swarm/Game/Universe.hs diff --git a/src/swarm-topography/Swarm/Game/World/Coords.hs b/code/src/swarm-topography/Swarm/Game/World/Coords.hs similarity index 100% rename from src/swarm-topography/Swarm/Game/World/Coords.hs rename to code/src/swarm-topography/Swarm/Game/World/Coords.hs diff --git a/src/swarm-tournament/Swarm/Web/Auth.hs b/code/src/swarm-tournament/Swarm/Web/Auth.hs similarity index 100% rename from src/swarm-tournament/Swarm/Web/Auth.hs rename to code/src/swarm-tournament/Swarm/Web/Auth.hs diff --git a/src/swarm-tournament/Swarm/Web/Tournament.hs b/code/src/swarm-tournament/Swarm/Web/Tournament.hs similarity index 100% rename from src/swarm-tournament/Swarm/Web/Tournament.hs rename to code/src/swarm-tournament/Swarm/Web/Tournament.hs diff --git a/src/swarm-tournament/Swarm/Web/Tournament/Database/Query.hs b/code/src/swarm-tournament/Swarm/Web/Tournament/Database/Query.hs similarity index 100% rename from src/swarm-tournament/Swarm/Web/Tournament/Database/Query.hs rename to code/src/swarm-tournament/Swarm/Web/Tournament/Database/Query.hs diff --git a/src/swarm-tournament/Swarm/Web/Tournament/Type.hs b/code/src/swarm-tournament/Swarm/Web/Tournament/Type.hs similarity index 100% rename from src/swarm-tournament/Swarm/Web/Tournament/Type.hs rename to code/src/swarm-tournament/Swarm/Web/Tournament/Type.hs diff --git a/src/swarm-tournament/Swarm/Web/Tournament/Validate.hs b/code/src/swarm-tournament/Swarm/Web/Tournament/Validate.hs similarity index 100% rename from src/swarm-tournament/Swarm/Web/Tournament/Validate.hs rename to code/src/swarm-tournament/Swarm/Web/Tournament/Validate.hs diff --git a/src/swarm-tournament/Swarm/Web/Tournament/Validate/FailureMode.hs b/code/src/swarm-tournament/Swarm/Web/Tournament/Validate/FailureMode.hs similarity index 100% rename from src/swarm-tournament/Swarm/Web/Tournament/Validate/FailureMode.hs rename to code/src/swarm-tournament/Swarm/Web/Tournament/Validate/FailureMode.hs diff --git a/src/swarm-tournament/Swarm/Web/Tournament/Validate/Upload.hs b/code/src/swarm-tournament/Swarm/Web/Tournament/Validate/Upload.hs similarity index 100% rename from src/swarm-tournament/Swarm/Web/Tournament/Validate/Upload.hs rename to code/src/swarm-tournament/Swarm/Web/Tournament/Validate/Upload.hs diff --git a/src/swarm-tui/Swarm/TUI/Border.hs b/code/src/swarm-tui/Swarm/TUI/Border.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Border.hs rename to code/src/swarm-tui/Swarm/TUI/Border.hs diff --git a/src/swarm-tui/Swarm/TUI/Controller.hs b/code/src/swarm-tui/Swarm/TUI/Controller.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Controller.hs rename to code/src/swarm-tui/Swarm/TUI/Controller.hs diff --git a/src/swarm-tui/Swarm/TUI/Controller/EventHandlers.hs b/code/src/swarm-tui/Swarm/TUI/Controller/EventHandlers.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Controller/EventHandlers.hs rename to code/src/swarm-tui/Swarm/TUI/Controller/EventHandlers.hs diff --git a/src/swarm-tui/Swarm/TUI/Controller/EventHandlers/Frame.hs b/code/src/swarm-tui/Swarm/TUI/Controller/EventHandlers/Frame.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Controller/EventHandlers/Frame.hs rename to code/src/swarm-tui/Swarm/TUI/Controller/EventHandlers/Frame.hs diff --git a/src/swarm-tui/Swarm/TUI/Controller/EventHandlers/Main.hs b/code/src/swarm-tui/Swarm/TUI/Controller/EventHandlers/Main.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Controller/EventHandlers/Main.hs rename to code/src/swarm-tui/Swarm/TUI/Controller/EventHandlers/Main.hs diff --git a/src/swarm-tui/Swarm/TUI/Controller/EventHandlers/REPL.hs b/code/src/swarm-tui/Swarm/TUI/Controller/EventHandlers/REPL.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Controller/EventHandlers/REPL.hs rename to code/src/swarm-tui/Swarm/TUI/Controller/EventHandlers/REPL.hs diff --git a/src/swarm-tui/Swarm/TUI/Controller/EventHandlers/Robot.hs b/code/src/swarm-tui/Swarm/TUI/Controller/EventHandlers/Robot.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Controller/EventHandlers/Robot.hs rename to code/src/swarm-tui/Swarm/TUI/Controller/EventHandlers/Robot.hs diff --git a/src/swarm-tui/Swarm/TUI/Controller/EventHandlers/World.hs b/code/src/swarm-tui/Swarm/TUI/Controller/EventHandlers/World.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Controller/EventHandlers/World.hs rename to code/src/swarm-tui/Swarm/TUI/Controller/EventHandlers/World.hs diff --git a/src/swarm-tui/Swarm/TUI/Controller/SaveScenario.hs b/code/src/swarm-tui/Swarm/TUI/Controller/SaveScenario.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Controller/SaveScenario.hs rename to code/src/swarm-tui/Swarm/TUI/Controller/SaveScenario.hs diff --git a/src/swarm-tui/Swarm/TUI/Controller/UpdateUI.hs b/code/src/swarm-tui/Swarm/TUI/Controller/UpdateUI.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Controller/UpdateUI.hs rename to code/src/swarm-tui/Swarm/TUI/Controller/UpdateUI.hs diff --git a/src/swarm-tui/Swarm/TUI/Controller/Util.hs b/code/src/swarm-tui/Swarm/TUI/Controller/Util.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Controller/Util.hs rename to code/src/swarm-tui/Swarm/TUI/Controller/Util.hs diff --git a/src/swarm-tui/Swarm/TUI/Editor/Controller.hs b/code/src/swarm-tui/Swarm/TUI/Editor/Controller.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Editor/Controller.hs rename to code/src/swarm-tui/Swarm/TUI/Editor/Controller.hs diff --git a/src/swarm-tui/Swarm/TUI/Editor/Json.hs b/code/src/swarm-tui/Swarm/TUI/Editor/Json.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Editor/Json.hs rename to code/src/swarm-tui/Swarm/TUI/Editor/Json.hs diff --git a/src/swarm-tui/Swarm/TUI/Editor/Masking.hs b/code/src/swarm-tui/Swarm/TUI/Editor/Masking.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Editor/Masking.hs rename to code/src/swarm-tui/Swarm/TUI/Editor/Masking.hs diff --git a/src/swarm-tui/Swarm/TUI/Editor/Model.hs b/code/src/swarm-tui/Swarm/TUI/Editor/Model.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Editor/Model.hs rename to code/src/swarm-tui/Swarm/TUI/Editor/Model.hs diff --git a/src/swarm-tui/Swarm/TUI/Editor/Palette.hs b/code/src/swarm-tui/Swarm/TUI/Editor/Palette.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Editor/Palette.hs rename to code/src/swarm-tui/Swarm/TUI/Editor/Palette.hs diff --git a/src/swarm-tui/Swarm/TUI/Editor/Util.hs b/code/src/swarm-tui/Swarm/TUI/Editor/Util.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Editor/Util.hs rename to code/src/swarm-tui/Swarm/TUI/Editor/Util.hs diff --git a/src/swarm-tui/Swarm/TUI/Editor/View.hs b/code/src/swarm-tui/Swarm/TUI/Editor/View.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Editor/View.hs rename to code/src/swarm-tui/Swarm/TUI/Editor/View.hs diff --git a/src/swarm-tui/Swarm/TUI/Inventory/Sorting.hs b/code/src/swarm-tui/Swarm/TUI/Inventory/Sorting.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Inventory/Sorting.hs rename to code/src/swarm-tui/Swarm/TUI/Inventory/Sorting.hs diff --git a/src/swarm-tui/Swarm/TUI/Launch/Controller.hs b/code/src/swarm-tui/Swarm/TUI/Launch/Controller.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Launch/Controller.hs rename to code/src/swarm-tui/Swarm/TUI/Launch/Controller.hs diff --git a/src/swarm-tui/Swarm/TUI/Launch/Model.hs b/code/src/swarm-tui/Swarm/TUI/Launch/Model.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Launch/Model.hs rename to code/src/swarm-tui/Swarm/TUI/Launch/Model.hs diff --git a/src/swarm-tui/Swarm/TUI/Launch/Prep.hs b/code/src/swarm-tui/Swarm/TUI/Launch/Prep.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Launch/Prep.hs rename to code/src/swarm-tui/Swarm/TUI/Launch/Prep.hs diff --git a/src/swarm-tui/Swarm/TUI/Launch/View.hs b/code/src/swarm-tui/Swarm/TUI/Launch/View.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Launch/View.hs rename to code/src/swarm-tui/Swarm/TUI/Launch/View.hs diff --git a/src/swarm-tui/Swarm/TUI/List.hs b/code/src/swarm-tui/Swarm/TUI/List.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/List.hs rename to code/src/swarm-tui/Swarm/TUI/List.hs diff --git a/src/swarm-tui/Swarm/TUI/Model.hs b/code/src/swarm-tui/Swarm/TUI/Model.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Model.hs rename to code/src/swarm-tui/Swarm/TUI/Model.hs diff --git a/src/swarm-tui/Swarm/TUI/Model/Achievements.hs b/code/src/swarm-tui/Swarm/TUI/Model/Achievements.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Model/Achievements.hs rename to code/src/swarm-tui/Swarm/TUI/Model/Achievements.hs diff --git a/src/swarm-tui/Swarm/TUI/Model/Event.hs b/code/src/swarm-tui/Swarm/TUI/Model/Event.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Model/Event.hs rename to code/src/swarm-tui/Swarm/TUI/Model/Event.hs diff --git a/src/swarm-tui/Swarm/TUI/Model/Goal.hs b/code/src/swarm-tui/Swarm/TUI/Model/Goal.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Model/Goal.hs rename to code/src/swarm-tui/Swarm/TUI/Model/Goal.hs diff --git a/src/swarm-tui/Swarm/TUI/Model/KeyBindings.hs b/code/src/swarm-tui/Swarm/TUI/Model/KeyBindings.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Model/KeyBindings.hs rename to code/src/swarm-tui/Swarm/TUI/Model/KeyBindings.hs diff --git a/src/swarm-tui/Swarm/TUI/Model/Menu.hs b/code/src/swarm-tui/Swarm/TUI/Model/Menu.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Model/Menu.hs rename to code/src/swarm-tui/Swarm/TUI/Model/Menu.hs diff --git a/src/swarm-tui/Swarm/TUI/Model/Name.hs b/code/src/swarm-tui/Swarm/TUI/Model/Name.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Model/Name.hs rename to code/src/swarm-tui/Swarm/TUI/Model/Name.hs diff --git a/src/swarm-tui/Swarm/TUI/Model/Repl.hs b/code/src/swarm-tui/Swarm/TUI/Model/Repl.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Model/Repl.hs rename to code/src/swarm-tui/Swarm/TUI/Model/Repl.hs diff --git a/src/swarm-tui/Swarm/TUI/Model/StateUpdate.hs b/code/src/swarm-tui/Swarm/TUI/Model/StateUpdate.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Model/StateUpdate.hs rename to code/src/swarm-tui/Swarm/TUI/Model/StateUpdate.hs diff --git a/src/swarm-tui/Swarm/TUI/Model/Structure.hs b/code/src/swarm-tui/Swarm/TUI/Model/Structure.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Model/Structure.hs rename to code/src/swarm-tui/Swarm/TUI/Model/Structure.hs diff --git a/src/swarm-tui/Swarm/TUI/Model/UI.hs b/code/src/swarm-tui/Swarm/TUI/Model/UI.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Model/UI.hs rename to code/src/swarm-tui/Swarm/TUI/Model/UI.hs diff --git a/src/swarm-tui/Swarm/TUI/Panel.hs b/code/src/swarm-tui/Swarm/TUI/Panel.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/Panel.hs rename to code/src/swarm-tui/Swarm/TUI/Panel.hs diff --git a/src/swarm-tui/Swarm/TUI/View.hs b/code/src/swarm-tui/Swarm/TUI/View.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/View.hs rename to code/src/swarm-tui/Swarm/TUI/View.hs diff --git a/src/swarm-tui/Swarm/TUI/View/Achievement.hs b/code/src/swarm-tui/Swarm/TUI/View/Achievement.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/View/Achievement.hs rename to code/src/swarm-tui/Swarm/TUI/View/Achievement.hs diff --git a/src/swarm-tui/Swarm/TUI/View/Attribute/Attr.hs b/code/src/swarm-tui/Swarm/TUI/View/Attribute/Attr.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/View/Attribute/Attr.hs rename to code/src/swarm-tui/Swarm/TUI/View/Attribute/Attr.hs diff --git a/src/swarm-tui/Swarm/TUI/View/Attribute/CustomStyling.hs b/code/src/swarm-tui/Swarm/TUI/View/Attribute/CustomStyling.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/View/Attribute/CustomStyling.hs rename to code/src/swarm-tui/Swarm/TUI/View/Attribute/CustomStyling.hs diff --git a/src/swarm-tui/Swarm/TUI/View/Attribute/Util.hs b/code/src/swarm-tui/Swarm/TUI/View/Attribute/Util.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/View/Attribute/Util.hs rename to code/src/swarm-tui/Swarm/TUI/View/Attribute/Util.hs diff --git a/src/swarm-tui/Swarm/TUI/View/CellDisplay.hs b/code/src/swarm-tui/Swarm/TUI/View/CellDisplay.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/View/CellDisplay.hs rename to code/src/swarm-tui/Swarm/TUI/View/CellDisplay.hs diff --git a/src/swarm-tui/Swarm/TUI/View/Logo.hs b/code/src/swarm-tui/Swarm/TUI/View/Logo.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/View/Logo.hs rename to code/src/swarm-tui/Swarm/TUI/View/Logo.hs diff --git a/src/swarm-tui/Swarm/TUI/View/Objective.hs b/code/src/swarm-tui/Swarm/TUI/View/Objective.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/View/Objective.hs rename to code/src/swarm-tui/Swarm/TUI/View/Objective.hs diff --git a/src/swarm-tui/Swarm/TUI/View/Structure.hs b/code/src/swarm-tui/Swarm/TUI/View/Structure.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/View/Structure.hs rename to code/src/swarm-tui/Swarm/TUI/View/Structure.hs diff --git a/src/swarm-tui/Swarm/TUI/View/Util.hs b/code/src/swarm-tui/Swarm/TUI/View/Util.hs similarity index 100% rename from src/swarm-tui/Swarm/TUI/View/Util.hs rename to code/src/swarm-tui/Swarm/TUI/View/Util.hs diff --git a/src/swarm-util/Control/Carrier/Accum/FixedStrict.hs b/code/src/swarm-util/Control/Carrier/Accum/FixedStrict.hs similarity index 100% rename from src/swarm-util/Control/Carrier/Accum/FixedStrict.hs rename to code/src/swarm-util/Control/Carrier/Accum/FixedStrict.hs diff --git a/src/swarm-util/Data/BoolExpr/Simplify.hs b/code/src/swarm-util/Data/BoolExpr/Simplify.hs similarity index 100% rename from src/swarm-util/Data/BoolExpr/Simplify.hs rename to code/src/swarm-util/Data/BoolExpr/Simplify.hs diff --git a/src/swarm-util/Swarm/Language/Syntax/Direction.hs b/code/src/swarm-util/Swarm/Language/Syntax/Direction.hs similarity index 100% rename from src/swarm-util/Swarm/Language/Syntax/Direction.hs rename to code/src/swarm-util/Swarm/Language/Syntax/Direction.hs diff --git a/src/swarm-util/Swarm/Util.hs b/code/src/swarm-util/Swarm/Util.hs similarity index 100% rename from src/swarm-util/Swarm/Util.hs rename to code/src/swarm-util/Swarm/Util.hs diff --git a/src/swarm-util/Swarm/Util/Effect.hs b/code/src/swarm-util/Swarm/Util/Effect.hs similarity index 100% rename from src/swarm-util/Swarm/Util/Effect.hs rename to code/src/swarm-util/Swarm/Util/Effect.hs diff --git a/src/swarm-util/Swarm/Util/Erasable.hs b/code/src/swarm-util/Swarm/Util/Erasable.hs similarity index 100% rename from src/swarm-util/Swarm/Util/Erasable.hs rename to code/src/swarm-util/Swarm/Util/Erasable.hs diff --git a/src/swarm-util/Swarm/Util/JSON.hs b/code/src/swarm-util/Swarm/Util/JSON.hs similarity index 100% rename from src/swarm-util/Swarm/Util/JSON.hs rename to code/src/swarm-util/Swarm/Util/JSON.hs diff --git a/src/swarm-util/Swarm/Util/Lens.hs b/code/src/swarm-util/Swarm/Util/Lens.hs similarity index 100% rename from src/swarm-util/Swarm/Util/Lens.hs rename to code/src/swarm-util/Swarm/Util/Lens.hs diff --git a/src/swarm-util/Swarm/Util/OccurrenceEncoder.hs b/code/src/swarm-util/Swarm/Util/OccurrenceEncoder.hs similarity index 100% rename from src/swarm-util/Swarm/Util/OccurrenceEncoder.hs rename to code/src/swarm-util/Swarm/Util/OccurrenceEncoder.hs diff --git a/src/swarm-util/Swarm/Util/ReadableIORef.hs b/code/src/swarm-util/Swarm/Util/ReadableIORef.hs similarity index 100% rename from src/swarm-util/Swarm/Util/ReadableIORef.hs rename to code/src/swarm-util/Swarm/Util/ReadableIORef.hs diff --git a/src/swarm-util/Swarm/Util/RingBuffer.hs b/code/src/swarm-util/Swarm/Util/RingBuffer.hs similarity index 100% rename from src/swarm-util/Swarm/Util/RingBuffer.hs rename to code/src/swarm-util/Swarm/Util/RingBuffer.hs diff --git a/src/swarm-util/Swarm/Util/UnitInterval.hs b/code/src/swarm-util/Swarm/Util/UnitInterval.hs similarity index 100% rename from src/swarm-util/Swarm/Util/UnitInterval.hs rename to code/src/swarm-util/Swarm/Util/UnitInterval.hs diff --git a/src/swarm-util/Swarm/Util/WindowedCounter.hs b/code/src/swarm-util/Swarm/Util/WindowedCounter.hs similarity index 100% rename from src/swarm-util/Swarm/Util/WindowedCounter.hs rename to code/src/swarm-util/Swarm/Util/WindowedCounter.hs diff --git a/src/swarm-util/Swarm/Util/Yaml.hs b/code/src/swarm-util/Swarm/Util/Yaml.hs similarity index 100% rename from src/swarm-util/Swarm/Util/Yaml.hs rename to code/src/swarm-util/Swarm/Util/Yaml.hs diff --git a/src/swarm-web/Swarm/Web.hs b/code/src/swarm-web/Swarm/Web.hs similarity index 100% rename from src/swarm-web/Swarm/Web.hs rename to code/src/swarm-web/Swarm/Web.hs diff --git a/src/swarm-web/Swarm/Web/Worldview.hs b/code/src/swarm-web/Swarm/Web/Worldview.hs similarity index 100% rename from src/swarm-web/Swarm/Web/Worldview.hs rename to code/src/swarm-web/Swarm/Web/Worldview.hs diff --git a/test/bench/Benchmark.hs b/code/test/bench/Benchmark.hs similarity index 100% rename from test/bench/Benchmark.hs rename to code/test/bench/Benchmark.hs diff --git a/test/integration/Main.hs b/code/test/integration/Main.hs similarity index 100% rename from test/integration/Main.hs rename to code/test/integration/Main.hs diff --git a/test/standalone-topography/src/Lib.hs b/code/test/standalone-topography/src/Lib.hs similarity index 100% rename from test/standalone-topography/src/Lib.hs rename to code/test/standalone-topography/src/Lib.hs diff --git a/test/standalone-topography/src/Main.hs b/code/test/standalone-topography/src/Main.hs similarity index 100% rename from test/standalone-topography/src/Main.hs rename to code/test/standalone-topography/src/Main.hs diff --git a/test/tournament-host/Main.hs b/code/test/tournament-host/Main.hs similarity index 100% rename from test/tournament-host/Main.hs rename to code/test/tournament-host/Main.hs diff --git a/test/unit/Main.hs b/code/test/unit/Main.hs similarity index 100% rename from test/unit/Main.hs rename to code/test/unit/Main.hs diff --git a/test/unit/TestBoolExpr.hs b/code/test/unit/TestBoolExpr.hs similarity index 100% rename from test/unit/TestBoolExpr.hs rename to code/test/unit/TestBoolExpr.hs diff --git a/test/unit/TestCommand.hs b/code/test/unit/TestCommand.hs similarity index 100% rename from test/unit/TestCommand.hs rename to code/test/unit/TestCommand.hs diff --git a/test/unit/TestEval.hs b/code/test/unit/TestEval.hs similarity index 100% rename from test/unit/TestEval.hs rename to code/test/unit/TestEval.hs diff --git a/test/unit/TestInventory.hs b/code/test/unit/TestInventory.hs similarity index 100% rename from test/unit/TestInventory.hs rename to code/test/unit/TestInventory.hs diff --git a/test/unit/TestLSP.hs b/code/test/unit/TestLSP.hs similarity index 100% rename from test/unit/TestLSP.hs rename to code/test/unit/TestLSP.hs diff --git a/test/unit/TestLanguagePipeline.hs b/code/test/unit/TestLanguagePipeline.hs similarity index 100% rename from test/unit/TestLanguagePipeline.hs rename to code/test/unit/TestLanguagePipeline.hs diff --git a/test/unit/TestNotification.hs b/code/test/unit/TestNotification.hs similarity index 100% rename from test/unit/TestNotification.hs rename to code/test/unit/TestNotification.hs diff --git a/test/unit/TestOrdering.hs b/code/test/unit/TestOrdering.hs similarity index 100% rename from test/unit/TestOrdering.hs rename to code/test/unit/TestOrdering.hs diff --git a/test/unit/TestOverlay.hs b/code/test/unit/TestOverlay.hs similarity index 100% rename from test/unit/TestOverlay.hs rename to code/test/unit/TestOverlay.hs diff --git a/test/unit/TestParse.hs b/code/test/unit/TestParse.hs similarity index 100% rename from test/unit/TestParse.hs rename to code/test/unit/TestParse.hs diff --git a/test/unit/TestPedagogy.hs b/code/test/unit/TestPedagogy.hs similarity index 100% rename from test/unit/TestPedagogy.hs rename to code/test/unit/TestPedagogy.hs diff --git a/test/unit/TestPretty.hs b/code/test/unit/TestPretty.hs similarity index 100% rename from test/unit/TestPretty.hs rename to code/test/unit/TestPretty.hs diff --git a/test/unit/TestRecipeCoverage.hs b/code/test/unit/TestRecipeCoverage.hs similarity index 100% rename from test/unit/TestRecipeCoverage.hs rename to code/test/unit/TestRecipeCoverage.hs diff --git a/test/unit/TestRepl.hs b/code/test/unit/TestRepl.hs similarity index 100% rename from test/unit/TestRepl.hs rename to code/test/unit/TestRepl.hs diff --git a/test/unit/TestRequirements.hs b/code/test/unit/TestRequirements.hs similarity index 100% rename from test/unit/TestRequirements.hs rename to code/test/unit/TestRequirements.hs diff --git a/test/unit/TestScoring.hs b/code/test/unit/TestScoring.hs similarity index 100% rename from test/unit/TestScoring.hs rename to code/test/unit/TestScoring.hs diff --git a/test/unit/TestUtil.hs b/code/test/unit/TestUtil.hs similarity index 100% rename from test/unit/TestUtil.hs rename to code/test/unit/TestUtil.hs diff --git a/scripts/normalize/code-format.sh b/scripts/normalize/code-format.sh index c1b88bf9c..de85c523b 100755 --- a/scripts/normalize/code-format.sh +++ b/scripts/normalize/code-format.sh @@ -3,4 +3,4 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) cd $SCRIPT_DIR/../.. -fourmolu --mode=inplace src app test scripts \ No newline at end of file +fourmolu --mode=inplace code scripts \ No newline at end of file diff --git a/scripts/validate/issues-for-todos.sh b/scripts/validate/issues-for-todos.sh index fb87397bb..5e7b8f0fb 100755 --- a/scripts/validate/issues-for-todos.sh +++ b/scripts/validate/issues-for-todos.sh @@ -4,7 +4,7 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) cd $SCRIPT_DIR/../.. -if grep --line-number --include \*.hs -riP '(TODO|FIXME|XXX)\b' src app 2>&1 | grep -vP '#\d+'; then +if grep --line-number --include \*.hs -riP '(TODO|FIXME|XXX)\b' code 2>&1 | grep -vP '#\d+'; then echo "Please add a link to Issue, for example: TODO: #123" exit 1 else diff --git a/swarm.cabal b/swarm.cabal index 5d711d095..b49ccbcf0 100644 --- a/swarm.cabal +++ b/swarm.cabal @@ -120,7 +120,7 @@ common ghc2021-extensions library swarm-lang import: stan-config, common, ghc2021-extensions visibility: public - -- cabal-gild: discover src/swarm-lang + -- cabal-gild: discover code/src/swarm-lang exposed-modules: Swarm.Effect.Unify Swarm.Effect.Unify.Common @@ -197,7 +197,7 @@ library swarm-lang yaml, build-depends: swarm:swarm-util - hs-source-dirs: src/swarm-lang + hs-source-dirs: code/src/swarm-lang default-language: Haskell2010 default-extensions: -- Avoid unexpected unevaluated thunk buildup @@ -207,7 +207,7 @@ library swarm-lang library swarm-topography import: stan-config, common, ghc2021-extensions visibility: public - -- cabal-gild: discover src/swarm-topography + -- cabal-gild: discover code/src/swarm-topography exposed-modules: Swarm.Game.Location Swarm.Game.Scenario.Topography.Area @@ -248,7 +248,7 @@ library swarm-topography build-depends: swarm:swarm-util - hs-source-dirs: src/swarm-topography + hs-source-dirs: code/src/swarm-topography default-language: Haskell2010 default-extensions: -- Avoid unexpected unevaluated thunk buildup @@ -258,7 +258,7 @@ library swarm-topography library swarm-scenario import: stan-config, common, ghc2021-extensions visibility: public - -- cabal-gild: discover src/swarm-scenario + -- cabal-gild: discover code/src/swarm-scenario exposed-modules: Swarm.Constant Swarm.Game.Achievement.Definitions @@ -347,7 +347,7 @@ library swarm-scenario swarm:swarm-topography, swarm:swarm-util, - hs-source-dirs: src/swarm-scenario + hs-source-dirs: code/src/swarm-scenario default-language: Haskell2010 default-extensions: -- Avoid unexpected unevaluated thunk buildup @@ -357,7 +357,7 @@ library swarm-scenario library swarm-engine import: stan-config, common, ghc2021-extensions visibility: public - -- cabal-gild: discover src/swarm-engine + -- cabal-gild: discover code/src/swarm-engine exposed-modules: Swarm.Effect Swarm.Effect.Time @@ -446,7 +446,7 @@ library swarm-engine swarm:swarm-topography, swarm:swarm-util, - hs-source-dirs: src/swarm-engine + hs-source-dirs: code/src/swarm-engine default-language: Haskell2010 default-extensions: -- Avoid unexpected unevaluated thunk buildup @@ -456,7 +456,7 @@ library swarm-engine library swarm-web import: stan-config, common, ghc2021-extensions visibility: public - -- cabal-gild: discover src/swarm-web + -- cabal-gild: discover code/src/swarm-web exposed-modules: Swarm.Web Swarm.Web.Worldview @@ -492,7 +492,7 @@ library swarm-web swarm:swarm-tui, swarm:swarm-util, - hs-source-dirs: src/swarm-web + hs-source-dirs: code/src/swarm-web default-language: Haskell2010 default-extensions: -- Avoid unexpected unevaluated thunk buildup @@ -502,7 +502,7 @@ library swarm-web library swarm-tournament import: stan-config, common, ghc2021-extensions visibility: public - -- cabal-gild: discover src/swarm-tournament + -- cabal-gild: discover code/src/swarm-tournament exposed-modules: Swarm.Web.Auth Swarm.Web.Tournament @@ -550,13 +550,13 @@ library swarm-tournament swarm:swarm-scenario, swarm:swarm-util, - hs-source-dirs: src/swarm-tournament + hs-source-dirs: code/src/swarm-tournament default-language: Haskell2010 library swarm-util import: stan-config, common, ghc2021-extensions visibility: public - -- cabal-gild: discover src/swarm-util + -- cabal-gild: discover code/src/swarm-util exposed-modules: Control.Carrier.Accum.FixedStrict Data.BoolExpr.Simplify @@ -599,7 +599,7 @@ library swarm-util witherable >=0.4 && <0.5, yaml >=0.11 && <0.11.12.0, - hs-source-dirs: src/swarm-util + hs-source-dirs: code/src/swarm-util default-language: Haskell2010 default-extensions: -- Avoid unexpected unevaluated thunk buildup @@ -609,7 +609,7 @@ library swarm-util library swarm-doc import: stan-config, common, ghc2021-extensions visibility: public - -- cabal-gild: discover src/swarm-doc + -- cabal-gild: discover code/src/swarm-doc exposed-modules: Swarm.Doc.Command Swarm.Doc.Gen @@ -650,7 +650,7 @@ library swarm-doc swarm:swarm-scenario, swarm:swarm-util, - hs-source-dirs: src/swarm-doc + hs-source-dirs: code/src/swarm-doc default-language: Haskell2010 default-extensions: -- Avoid unexpected unevaluated thunk buildup @@ -660,7 +660,7 @@ library swarm-doc library swarm-tui import: stan-config, common, ghc2021-extensions visibility: public - -- cabal-gild: discover src/swarm-tui + -- cabal-gild: discover code/src/swarm-tui exposed-modules: Swarm.TUI.Border Swarm.TUI.Controller @@ -754,7 +754,7 @@ library swarm-tui swarm:swarm-topography, swarm:swarm-util, - hs-source-dirs: src/swarm-tui + hs-source-dirs: code/src/swarm-tui default-language: Haskell2010 default-extensions: -- Avoid unexpected unevaluated thunk buildup @@ -783,7 +783,7 @@ executable swarm vty, vty-crossplatform >=0.4 && <0.5, - hs-source-dirs: app + hs-source-dirs: code/app default-language: Haskell2010 ghc-options: -threaded default-extensions: ImportQualifiedPost @@ -799,7 +799,7 @@ executable swarm-scene swarm:swarm-scenario, swarm:swarm-topography, - hs-source-dirs: app/scene + hs-source-dirs: code/app/scene default-language: Haskell2010 ghc-options: -threaded default-extensions: ImportQualifiedPost @@ -815,7 +815,7 @@ executable swarm-docs swarm:swarm-doc, text, - hs-source-dirs: app/doc + hs-source-dirs: code/app/doc default-language: Haskell2010 ghc-options: -threaded default-extensions: ImportQualifiedPost @@ -835,7 +835,7 @@ executable swarm-host-tournament swarm:swarm-engine, swarm:swarm-tournament, - hs-source-dirs: app/tournament + hs-source-dirs: code/app/tournament default-language: Haskell2010 ghc-options: -threaded default-extensions: ImportQualifiedPost @@ -894,7 +894,7 @@ test-suite swarm-unit swarm:swarm-tui, swarm:swarm-util, - hs-source-dirs: test/unit + hs-source-dirs: code/test/unit default-language: Haskell2010 ghc-options: -threaded @@ -925,7 +925,7 @@ test-suite swarm-integration swarm:swarm-tui, swarm:swarm-util, - hs-source-dirs: test/integration + hs-source-dirs: code/test/integration default-language: Haskell2010 ghc-options: -threaded @@ -948,7 +948,7 @@ test-suite tournament-host swarm:swarm-engine, swarm:swarm-tournament, - hs-source-dirs: test/tournament-host + hs-source-dirs: code/test/tournament-host default-language: Haskell2010 ghc-options: -threaded @@ -976,14 +976,14 @@ test-suite standalone-topography swarm:swarm-topography, swarm:swarm-util, - hs-source-dirs: test/standalone-topography/src + hs-source-dirs: code/test/standalone-topography/src default-language: Haskell2010 ghc-options: -threaded benchmark benchmark import: stan-config, common, ghc2021-extensions main-is: Benchmark.hs - hs-source-dirs: test/bench + hs-source-dirs: code/test/bench type: exitcode-stdio-1.0 build-depends: base,