Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe committed Feb 24, 2025
1 parent e92e806 commit ebc6afc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ impl Person {
}

fn main() -> Result<(), Box<dyn Error>> {
// Run the Scheme module.
// Import and run the Scheme module.
run_scheme(&include_module!("fight.scm"))?;

Ok(())
Expand Down
2 changes: 1 addition & 1 deletion examples/embedded-script/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl Person {
}

fn main() -> Result<(), Box<dyn Error>> {
// Run the Scheme module.
// Import and run the Scheme module.
run_scheme(&include_module!("fight.scm"))?;

Ok(())
Expand Down
10 changes: 4 additions & 6 deletions root/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub mod device {
//! device::ReadWriteDevice,
//! file::VoidFileSystem,
//! include_module,
//! module::{Module, UniversalModule},
//! module::Module,
//! process_context::VoidProcessContext,
//! r7rs::{SmallError, SmallPrimitiveSet},
//! time::VoidClock,
Expand Down Expand Up @@ -165,19 +165,17 @@ pub mod vm {
//! file::VoidFileSystem,
//! include_module,
//! process_context::VoidProcessContext,
//! module::{Module, UniversalModule},
//! module::Module,
//! r7rs::{SmallError, SmallPrimitiveSet},
//! time::VoidClock,
//! vm::Vm,
//! };
//!
//! const HEAP_SIZE: usize = 1 << 16;
//!
//! // Include a Scheme script in the bytecode format built by the build script above.
//! static MODULE: UniversalModule = include_module!("hello.scm");
//!
//! fn main() -> Result<(), Box<dyn Error>> {
//! run(&MODULE.bytecode())?;
//! // Include and run a Scheme script in the bytecode format built by the build script above.
//! run(&include_module!("hello.scm").bytecode())?;
//!
//! Ok(())
//! }
Expand Down

0 comments on commit ebc6afc

Please sign in to comment.