rslua 0.3.0

Yet another Lua lexer and Lua parser for Lua 5.3
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub type IntType = i64;
pub type FloatType = f64;
pub enum Number {
    Int(IntType),
    Float(FloatType),
    None,
}

#[derive(Default, Debug, Copy, Clone, PartialEq)]
pub struct Source {
    pub line: usize,
    pub col: usize,
    pub length: usize,
}