Skip to content

Commit

Permalink
revert to wasm syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
sskeirik committed Dec 6, 2024
1 parent 259826d commit 31e717b
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions pykwasm/src/pykwasm/kdist/wasm-semantics/ulm-wasm.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
```k
requires "wasm-text.md"
requires "wasm.md"
requires "ulm.k"
```

```k
module ULM-WASM-COMMON-SYNTAX
imports WASM-TEXT-COMMON-SYNTAX
imports WASM-COMMON-SYNTAX
imports BOOL-SYNTAX
imports INT-SYNTAX
```
Expand Down Expand Up @@ -35,14 +35,14 @@ endmodule
```k
module ULM-WASM-SYNTAX
imports ULM-WASM-COMMON-SYNTAX
imports WASM-TEXT-SYNTAX
imports WASM-SYNTAX
endmodule
```

```k
module ULM-WASM
imports ULM-WASM-COMMON-SYNTAX
imports WASM-TEXT
imports WASM
imports ULM
```

Expand Down Expand Up @@ -135,15 +135,6 @@ Here we handle the case when entrypoint resolution fails.
// rule <k> Init:Initializer => . </k> [owise]
```

Instruction sugar
-----------------

We allow writing instructions at the top level in the test embedder.

```k
rule <instrs> FI:FoldedInstr => sequenceInstrs(unfoldInstrs(FI .Instrs)) ... </instrs>
```

ULM Hook Behavior
-----------------

Expand Down

0 comments on commit 31e717b

Please sign in to comment.