fuckeverythingggg

This commit is contained in:
2026-07-10 21:14:50 -06:00
parent 8bed7f09a5
commit 82927608d4
5 changed files with 29 additions and 343 deletions
+28
View File
@@ -0,0 +1,28 @@
{- HLINT ignore "Use newtype instead of data" -}
module Gyehoek.Wasm
()
where
import Data.List (List)
import GHC.Generics (Generic)
data Module = MkModule
{ typeSection :: List Type
}
deriving (Show, Generic)
data Type
deriving (Show, Generic)
data Function = MkFunction
{ params :: List Type
, result :: List Type
, locals :: List Type
, body :: Expr
}
deriving (Show, Generic)
type Expr = List Instr
type Instr = ByteString