Crate dyon

source ·
Expand description

Dyon - a rusty dynamically typed scripting language

Tutorial

If you want to say thanks for Dyon, or you found any of these ideas inspiring, please donate a small amount of money as a symbolic gesture to PayPal post at cutoutpro.com. Write a sentence describing why you think this is a good language and what you want to achieve. I (bvssvni, creator of Dyon) appreciate grateful and heart-warming responses!

Re-exports

Modules

Macros

  • Used to declare an embedded/external function in Rust which can be called from Dyon.
  • This macro is used by some other Dyon macros.
  • This macro is used by some other Dyon macros.
  • Used to implement embed::PopVariable and embed::PushVariable for some object.

Structs

  • Used to call specific functions with arguments.
  • Stores closure environment.
  • Stores preloaded function constraints. These are already checked.
  • Stores Dyon errors.
  • Used to store direct reference to external function.
  • Used to store direct reference to external function.
  • Used to store direct reference to external function.
  • Used to store direct reference to external function that does not return anything.
  • Stores a link structure.
  • Wraps a 4D matrix for easier embedding with Dyon.
  • Stores functions for a Dyon module.
  • Stores a prelude, used to load standard intrinsics and type check new modules.
  • Stores a thread handle.
  • Prevents unsafe references from being accessed outside library.
  • Wraps a 4D vector for easier embedding with Dyon.

Enums

  • Refers to an external function.
  • Refers to a function.
  • Argument lifetime constraint.
  • Stores a Dyon type.
  • Dyon variable.

Constants

  • A common error message when the call stack is empty.
  • A common error message when there is no value on the stack.

Statics

Functions

  • Reports and error to standard output.
  • Loads source from file.
  • Loads a source from meta data. Assumes the source passes the lifetime checker.
  • Loads a source from string.
  • Runs a program using a source file.
  • Runs a program from a string.

Type Aliases

  • Type alias for Dyon arrays.
  • Type alias for lazy invariants of external functions.
  • Type alias for Dyon objects.
  • Type alias for Rust objects.