mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'lemu/README.md')
-rw-r--r--lemu/README.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/lemu/README.md b/lemu/README.md
index 47d4e4d..34044f9 100644
--- a/lemu/README.md
+++ b/lemu/README.md
@@ -1,3 +1,11 @@
# lemu
-mindustry Logic EMUlator. \ No newline at end of file
+mindustry Logic EMUlator.
+
+## Usage
+
+```rust
+use lemu::Executor;
+let mut lex = Executor::with_output(std::io::stdout()).program(r#"print "hello world""#).expect("program ok");
+lex.run();
+``` \ No newline at end of file