2024-07-15 20:42:49 +00:00
|
|
|
/**
|
|
|
|
The Dust programming language.
|
|
|
|
|
|
|
|
Dust is a statically typed, interpreted programming language.
|
|
|
|
|
2024-07-28 17:06:59 +00:00
|
|
|
The [interpreter] module contains the `Interpreter` struct, which is used to lex, parse and/or
|
2024-07-15 20:42:49 +00:00
|
|
|
interpret Dust code. The `interpret` function is a convenience function that creates a new
|
|
|
|
`Interpreter` and runs the given source code.
|
|
|
|
*/
|
2024-02-25 18:49:26 +00:00
|
|
|
pub mod abstract_tree;
|
2024-08-03 22:40:27 +00:00
|
|
|
pub mod bytecode;
|
2024-02-25 18:49:26 +00:00
|
|
|
pub mod context;
|
|
|
|
pub mod error;
|
2024-03-25 04:16:55 +00:00
|
|
|
pub mod identifier;
|
2024-07-28 17:06:59 +00:00
|
|
|
pub mod interpreter;
|
2024-02-25 18:49:26 +00:00
|
|
|
pub mod lexer;
|
|
|
|
pub mod parser;
|
2024-07-01 18:23:01 +00:00
|
|
|
pub mod standard_library;
|
2024-08-02 20:33:40 +00:00
|
|
|
pub mod r#type;
|
2024-02-26 21:27:01 +00:00
|
|
|
pub mod value;
|
2024-02-23 12:40:01 +00:00
|
|
|
|
2024-07-28 17:11:42 +00:00
|
|
|
pub use context::Context;
|
|
|
|
pub use interpreter::{interpret, Interpreter, InterpreterError};
|
|
|
|
pub use lexer::{lex, lexer};
|
|
|
|
pub use parser::{parse, parser};
|
2024-08-02 20:33:40 +00:00
|
|
|
pub use r#type::Type;
|
2024-06-26 20:24:41 +00:00
|
|
|
pub use value::Value;
|