luaur-code-gen 0.1.1

Native (A64/X64) code generation for Luau (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
extern crate alloc;

use crate::functions::to_dot::to_dot;
use crate::records::ir_function::IrFunction;
use alloc::string::String;

pub fn dump_dot(function: &IrFunction, include_inst: bool) -> String {
    let result = to_dot(function, include_inst);

    std::println!("{}", result);

    result
}