finished resolver (chapter 11) and started classes (chapter 12)

This commit is contained in:
Moritz Gmeiner 2023-01-28 01:11:55 +01:00
commit 10540708d4
34 changed files with 1449 additions and 439 deletions

18
interpreter/src/lib.rs Normal file
View 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;