Skip to content

Commit e734ef9

Browse files
committed
fix README
1 parent a76381e commit e734ef9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ lua syntax parser & runtime interpreter in Rust
1414
- `32bit`: use 32bit integer and float for `lua numeric` type
1515

1616
## How to use
17-
As library, add [`lua_ir`](https://crates.io/crates/lua_ir) crate to your `Cargo.toml`
17+
18+
### As Library
19+
add [`lua_ir`](https://crates.io/crates/lua_ir) crate to your `Cargo.toml`
1820
```toml
1921
[dependencies]
2022
lua_ir = "..."
@@ -33,7 +35,8 @@ let world_value = env.get_global( "var_world" )?;
3335
env.set_global( "var_hello", 10.into() )?;
3436
```
3537

36-
Simply running
38+
### As REPL interpreter
39+
clone this repository and simply run
3740
```
3841
$ cargo run <source_file.lua>
3942
```

0 commit comments

Comments
 (0)