mirror of
https://github.com/MorizzG/rlox.git
synced 2025-12-06 04:12:42 +00:00
finished resolver (chapter 11) and started classes (chapter 12)
This commit is contained in:
parent
42c9f17399
commit
10540708d4
34 changed files with 1449 additions and 439 deletions
18
interpreter/src/lib.rs
Normal file
18
interpreter/src/lib.rs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
mod class;
|
||||
mod environment;
|
||||
mod error;
|
||||
mod function;
|
||||
mod interpret;
|
||||
mod lox_std;
|
||||
mod resolver;
|
||||
mod run;
|
||||
mod runtime;
|
||||
mod value;
|
||||
|
||||
pub use class::LoxClass;
|
||||
pub use error::{LoxError, RuntimeError};
|
||||
pub use function::LoxFunction;
|
||||
pub use resolver::{resolve, ResolverError};
|
||||
pub use run::{run_file, run_repl};
|
||||
pub use runtime::Runtime;
|
||||
pub use value::Value;
|
||||
Loading…
Add table
Add a link
Reference in a new issue