Crate wander

source ·
Expand description

This module is an implementation of the Wander language.

Modules

  • Contains the defition of Identifiers. This code is mostly taken from Ligature, but I don’t want to add a dependency on Ligature at the moment or vice-versa.

Structs

  • A TypeChecker that does nothing, everything passes.
  • struct describing a HostFunction.
  • A value of a type provided by the host application that can be accessed via Wander. Note it cannot be accessed by Wander directly, only through HostFunctions.
  • Structure used for debugging or inspecting code.
  • This is a dummy type you can use when you don’t need a HostType.
  • A struct represting a partially applied function. The function can be a Lambda or a HostFunction.
  • An error that occurs while running a Wander script.

Enums

  • Values in Wander programs used for Wander’s implementation and interfacing between Wander and the host application.

Traits

  • A trait representing a function exported from the hosting application that can be called from Wander.
  • A combination of all the traits needed to implement a HostType.
  • A trait for the pluggable type checker used by Wander.

Functions

Type Aliases