[][src]Crate wac

Structs

Constant
Enum
File
Function
FunctionImport
FunctionType
GlobalVariable
Impl
Parser
Record
SSpan
Sink
Source
Span
Trait
WasmModule

Enums

Binop
BuiltinType
ConstValue
Error
Expr
Import
LexError
ParseError
Part
Pattern
ReturnType
Token
Type
Unop
Visibility
WasmType

Constants

MAX_STACK_DEPTH
PAGE_SIZE
RESERVED_BYTES

Number of bytes at start of memory that's reserved Compile-time constants stored in memory start from this location Of course, right after RESERVED_BYTES comes the stack.

STACK_BYTES
STACK_END
STACK_START

the location in memory where the stack starts For now, it's the first thing after RESERVED_BYTES

TAG_BOOL
TAG_F32
TAG_F64
TAG_I32
TAG_I64
TAG_ID
TAG_LIST
TAG_STRING
TAG_TYPE

Functions

lex
main
make_import_object
parse_file
parse_files
run

given a list of (filename, wac-code) pairs, runs it

run_tests

given a list of (filename, wac-code) pairs, runs all tests

translate
translate_files

translates a list of (filename, wac-code) pairs into a wat webassembly module

Type Definitions

WasmPtr