Skip to main content

Module interpret

Module interpret 

Source
Expand description

A work-in-progress tree walk interpreter for Conlang

Currently, major parts of the interpreter are not yet implemented, and major parts will never be implemented in its current form. Namely, since no ConValue has a stable location, it’s meaningless to get a pointer to one, and would be undefined behavior to dereference a pointer to one in any situation.

Re-exportsΒ§

pub use self::cl_todo as todo;
pub use self::cl_unimplemented as unimplemented;

MacrosΒ§

cl_todo
Turns a todo! invocation into an Error::Panic
cl_unimplemented
Turns an unimplemented! invocation into an Error::Panic
trace πŸ”’

StructsΒ§

MatchEnv

EnumsΒ§

BindingMode
SliceMode πŸ”’

TraitsΒ§

Interpret
A work-in-progress tree walk interpreter for Conlang
Match

FunctionsΒ§

bind_enum πŸ”’
bind_struct πŸ”’
match_pat_for_struct πŸ”’