doc(interface-types) Improve module descriptions.

This commit is contained in:
Ivan Enderlin 2020-02-10 15:27:04 +01:00
parent d63508f19e
commit 32325c1861
4 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,6 @@
//! Represents the WIT language as a tree. This is the central
//! representation of the language.
use crate::interpreter::Instruction;
use std::str;

View File

@ -1 +1,4 @@
//! Reads the AST from a particular data representation; for instance,
//! `decoders::binary` reads the AST from a binary.
pub mod binary;

View File

@ -1 +1,5 @@
//! Writes the AST into a particular format; for instance,
//! `encoders::wat` writes the AST into a string representing WIT with
//! its textual format.
pub mod wat;

View File

@ -1,3 +1,5 @@
//! A stack-based interpreter to execute instructions of WIT adapters.
mod instruction;
mod instructions;
pub mod stack;