[][src]Struct litto::lang::tinylang::TinyLang

pub struct TinyLang;

A tiny Lisp-like language that only has lambda, begin, and define.

Trait Implementations

impl AbstractValue<TinyLang> for Nil[src]

impl AbstractValue<TinyLang> for NativeProcedure[src]

impl AbstractValue<TinyLang> for Procedure[src]

impl AbstractValue<TinyLang> for Bool[src]

impl AbstractValue<TinyLang> for Int[src]

impl AbstractValue<TinyLang> for Str[src]

impl AbstractValue<TinyLang> for List[src]

impl AbstractValue<TinyLang> for Quote[src]

impl Clone for TinyLang[src]

impl Interpreter for TinyLang[src]

type Value = Value<TinyLang>

The value type the interpreter uses and returns. Read more

type Error = String

The error type that the interpreter raises. Read more

type Env = KvEnv<Self::Value>

The environment type that is used to evaluate code. Read more

type Expr = Sexp<Self::Value>

The expression type. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.