Docs.rs
rslua-0.3.0
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
rslua 0.3.0
Yet another Lua lexer and Lua parser for Lua 5.3
Crate
Source
Builds
Feature flags
Documentation
Hide files
..
bisect.lua
cf.lua
factorial.lua
fib.lua
hello.lua
json.lua
json_test.lua
life.lua
msgpack.lua
msgpack_test.lua
optest.lua
select.lua
sort.lua
table.lua
test_all.lua
test_math.lua
1
2
3
4
5
6
7
local
math
=
{
}
function
math
.
add
(
x
,
y
)
return
x
+
y
end
assert
(
math
.
add
(
3
,
4
)
==
7
)