We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a76381e commit e734ef9Copy full SHA for e734ef9
README.md
@@ -14,7 +14,9 @@ lua syntax parser & runtime interpreter in Rust
14
- `32bit`: use 32bit integer and float for `lua numeric` type
15
16
## How to use
17
-As library, add [`lua_ir`](https://crates.io/crates/lua_ir) crate to your `Cargo.toml`
+
18
+### As Library
19
+add [`lua_ir`](https://crates.io/crates/lua_ir) crate to your `Cargo.toml`
20
```toml
21
[dependencies]
22
lua_ir = "..."
@@ -33,7 +35,8 @@ let world_value = env.get_global( "var_world" )?;
33
35
env.set_global( "var_hello", 10.into() )?;
34
36
```
37
-Simply running
38
+### As REPL interpreter
39
+clone this repository and simply run
40
41
$ cargo run <source_file.lua>
42
0 commit comments