Skip to content

Commit

Permalink
to fix: moves
Browse files Browse the repository at this point in the history
  • Loading branch information
pmbittner committed Dec 6, 2023
1 parent caa61e8 commit ca51c0f
Show file tree
Hide file tree
Showing 22 changed files with 41 additions and 58 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Framework.V2.Constructs.Artifact where
module Construct.Artifact where

open import Data.List using (List; map)
open import Data.List.Properties using (map-cong; map-∘)
Expand All @@ -15,7 +15,7 @@ open import Framework.Compiler using (LanguageCompiler)
open LanguageCompiler
import Data.IndexedSet

open import Framework.V2.Constructs.Plain.Artifact public
open import Construct.Plain.Artifact public

Syntax :
Syntax E A = Artifact A (E A)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{-# OPTIONS --allow-unsolved-metas #-}
module Framework.V2.Constructs.Choices where
module Construct.Choices where

open import Data.Bool using (Bool; if_then_else_)
open import Data.String using (String; _<+>_; intersperse)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
module Framework.V2.Constructs.GrulerArtifacts where
{-# OPTIONS --sized-types #-}

module Construct.GrulerArtifacts where

open import Data.Maybe using (just; nothing)
open import Relation.Binary.PropositionalEquality as Eq using (_≡_; refl)

open import Framework.V2.Definitions
open import Framework.V2.Variants
open import Framework.V2.Construct
open import Framework.V2.VariabilityLanguage
open import Framework.Definitions
open import Framework.Variants
open import Framework.VariabilityLanguage
open import Framework.Construct

-- this is just a value
data Leaf {ℓ} (A : Set ℓ) : Setwhere
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

open import Framework.Definitions

module Framework.V2.Constructs.NestedChoice (F : 𝔽) where
module Construct.NestedChoice (F : 𝔽) where

open import Data.String using (String)
open import Size using (Size; ↑_)

import Framework.V2.Constructs.Choices as Chc
import Construct.Choices as Chc
open Chc.Choice₂ renaming (Syntax to 2Choice; Standard-Semantics to ⟦_⟧₂; Config to Config₂; show to show-2choice)

data NestedChoice : Size 𝔼 where
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Framework.V2.Constructs.Plain.Artifact where
module Construct.Plain.Artifact where

open import Data.List using (List; []; map)
open import Data.List.Properties using () renaming (≡-dec to ≡-dec-l)
Expand Down
19 changes: 0 additions & 19 deletions src/Framework/V2/Language.agda

This file was deleted.

2 changes: 1 addition & 1 deletion src/Framework/Variants.agda
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ open import Function using (id; _∘_; flip)
open import Size using (Size; ↑_; ∞)

open import Framework.Definitions using (𝕍; 𝔸)
open import Framework.V2.Constructs.Artifact as At using (_-<_>-; map-children; map-children-preserves) renaming (Syntax to Artifact; Construct to ArtifactC)
open import Framework.VariabilityLanguage
open import Construct.Artifact as At using (_-<_>-; map-children; map-children-preserves) renaming (Syntax to Artifact; Construct to ArtifactC)

data GrulerVariant : 𝕍 where
asset : {A : 𝔸} (a : A) GrulerVariant A
Expand Down
14 changes: 7 additions & 7 deletions src/Framework/V2/Lang/2ADT.agda → src/Lang/2ADT.agda
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{-# OPTIONS --sized-types #-}

open import Framework.V2.Definitions
open import Framework.Definitions
-- TODO: Generalize level of F
module Framework.V2.Lang.2ADT (F : 𝔽) where
module Lang.2ADT (F : 𝔽) where

open import Data.Bool using (Bool)
open import Function using (id)
open import Size using (Size; ↑_)

open import Framework.V2.VariabilityLanguage
open import Framework.V2.Constructs.GrulerArtifacts
open import Framework.V2.Constructs.Choices
open import Framework.V2.Constructs.NestedChoice F public
open import Framework.V2.Variants using (GrulerVariant)
open import Framework.VariabilityLanguage
open import Framework.Variants using (GrulerVariant)
open import Construct.GrulerArtifacts
open import Construct.Choices
open import Construct.NestedChoice F public

private
Choice₂ = VLChoice₂.Syntax
Expand Down
4 changes: 2 additions & 2 deletions src/Lang/BCC.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ open import Size using (Size; ↑_; ∞)
open import Framework.Variants
open import Framework.VariabilityLanguage
open import Framework.Construct
open import Framework.V2.Constructs.Artifact as At using () renaming (Syntax to Artifact; Construct to Artifact-Construct)
import Framework.V2.Constructs.Choices as Chc
open import Construct.Artifact as At using () renaming (Syntax to Artifact; Construct to Artifact-Construct)
import Construct.Choices as Chc
open Chc.VLChoice₂ using () renaming (Syntax to Choice₂; Semantics to chc-sem)
open Chc.Choice₂ using () renaming (Config to Config₂)
```
Expand Down
4 changes: 2 additions & 2 deletions src/Lang/CCC.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ open import Size using (Size; ↑_; ∞)
open import Framework.Variants
open import Framework.VariabilityLanguage
open import Framework.Construct
open import Framework.V2.Constructs.Artifact as At using () renaming (Syntax to Artifact; Construct to Artifact-Construct)
import Framework.V2.Constructs.Choices as Chc
open import Construct.Artifact as At using () renaming (Syntax to Artifact; Construct to Artifact-Construct)
import Construct.Choices as Chc
open Chc.VLChoiceₙ using () renaming (Syntax to Choiceₙ; Semantics to chc-sem)
open Chc.Choiceₙ using () renaming (Config to Configₙ)
```
Expand Down
16 changes: 8 additions & 8 deletions src/Framework/V2/Lang/Gruler.agda → src/Lang/Gruler.agda
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{-# OPTIONS --sized-types #-}

open import Framework.V2.Definitions
module Framework.V2.Lang.Gruler (F : 𝔽) where
open import Framework.Definitions
module Lang.Gruler (F : 𝔽) where

open import Data.Bool using (Bool)
open import Data.Maybe using (Maybe; just; nothing)
Expand All @@ -10,13 +10,13 @@ open import Size using (Size; ↑_; ∞)

open import Relation.Binary.PropositionalEquality as Eq using (_≡_; refl)

open import Framework.V2.VariabilityLanguage
open import Framework.V2.Construct
open import Framework.V2.Constructs.Choices
open import Framework.V2.Constructs.GrulerArtifacts
open import Framework.V2.Variants using (GrulerVariant)
open import Framework.VariabilityLanguage
open import Framework.Variants using (GrulerVariant)
open import Framework.Construct
open import Construct.Choices
open import Construct.GrulerArtifacts

open Framework.V2.Constructs.Choices.Choice₂ using (_⟨_,_⟩) renaming (Config to Config₂)
open Construct.Choices.Choice₂ using (_⟨_,_⟩) renaming (Config to Config₂)

private
PC = VLParallelComposition.Syntax
Expand Down
12 changes: 6 additions & 6 deletions src/Framework/V2/Lang/NADT.agda → src/Lang/NADT.agda
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{-# OPTIONS --sized-types #-}

open import Framework.V2.Definitions
open import Framework.Definitions
-- TODO: Generalize level of F
module Framework.V2.Lang.NADT (F : 𝔽) where
module Lang.NADT (F : 𝔽) where

open import Data.Nat using (ℕ)
open import Function using (id)
open import Size using (Size; ↑_)

open import Framework.V2.VariabilityLanguage
open import Framework.V2.Constructs.GrulerArtifacts
open import Framework.V2.Constructs.Choices
open import Framework.V2.Variants using (GrulerVariant)
open import Framework.VariabilityLanguage
open import Framework.Variants using (GrulerVariant)
open import Construct.GrulerArtifacts
open import Construct.Choices

private
Choiceₙ = VLChoiceₙ.Syntax
Expand Down
4 changes: 2 additions & 2 deletions src/Lang/OC.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ open import Function using (_∘_)
open import Framework.Variants
open import Framework.VariabilityLanguage
open import Framework.Construct
open import Framework.V2.Constructs.Artifact as At using () renaming (Syntax to Artifact; Construct to Artifact-Construct)
import Framework.V2.Constructs.Choices as Chc
open import Construct.Artifact as At using () renaming (Syntax to Artifact; Construct to Artifact-Construct)
import Construct.Choices as Chc
open Chc.VLChoice₂ using () renaming (Syntax to Choice₂; Semantics to chc-sem)
open Chc.Choice₂ using () renaming (Config to Config₂)
```
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ca51c0f

Please sign in to comment.