luaur-analysis 0.1.0

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
extern crate alloc;

use alloc::string::String;
use alloc::string::ToString;

pub fn generate_name(i: usize) -> String {
    let mut n = String::new();
    n.push((b'a' + (i % 26) as u8) as char);
    if i >= 26 {
        n += &(i / 26).to_string();
    }
    return n;
}