From 904924c33720c3481f738966f32e9c34736f92cf Mon Sep 17 00:00:00 2001 From: Chloe Brown Date: Tue, 10 Aug 2021 19:11:38 +0100 Subject: Rewrite so only valid modules can be constructed. --- src/Wasm/Validation/Context.agda | 63 ----------- src/Wasm/Validation/Instructions.agda | 197 ---------------------------------- src/Wasm/Validation/Modules.agda | 191 -------------------------------- src/Wasm/Validation/Types.agda | 95 ---------------- 4 files changed, 546 deletions(-) delete mode 100644 src/Wasm/Validation/Context.agda delete mode 100644 src/Wasm/Validation/Instructions.agda delete mode 100644 src/Wasm/Validation/Modules.agda delete mode 100644 src/Wasm/Validation/Types.agda (limited to 'src/Wasm/Validation') diff --git a/src/Wasm/Validation/Context.agda b/src/Wasm/Validation/Context.agda deleted file mode 100644 index f7c2564..0000000 --- a/src/Wasm/Validation/Context.agda +++ /dev/null @@ -1,63 +0,0 @@ -{-# OPTIONS --without-K --safe #-} - ------------------------------------------------------------------------- --- Type Context - -module Wasm.Validation.Context where - -open import Data.Fin using (Fin; toℕ; fromℕ<) -open import Data.List using (List; length; lookup) -open import Data.Maybe using (Maybe; just; nothing) -open import Data.Nat using (_