Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
Only import WASM-TEXT in DRIVER, not in EWASM
Browse files Browse the repository at this point in the history
  • Loading branch information
hjorthjort committed Jun 13, 2020
1 parent e3609a0 commit de5f4da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions driver.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,19 @@ Ethereum Simulation
===================

```k
require "wasm-text.md"
require "ewasm.md"
require "data.md"
module DRIVER-SYNTAX
imports EWASM-SYNTAX
imports WASM-TEXT-SYNTAX
imports DRIVER
endmodule
module DRIVER
imports EWASM
imports WASM-TEXT
```

An Ewasm program is the invocation of an Ethereum contract containing Ewasm code.
Expand Down
6 changes: 3 additions & 3 deletions ewasm.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ Ewasm Specification
=================

```k
require "wasm-text.md"
require "wasm.md"
require "eei.md"
module EWASM-SYNTAX
imports WASM-TEXT-SYNTAX
imports WASM-SYNTAX
imports EWASM
endmodule
```
Expand All @@ -19,7 +19,7 @@ Ewasm consists of a WebAssembly (Wasm) semantics, and an Ethereum Environment In

```k
imports EEI
imports WASM-TEXT
imports WASM
```

The configuration composes both the top level cells of the Wasm and EEI semantics.
Expand Down

0 comments on commit de5f4da

Please sign in to comment.