compile

package
v0.0.0-...-d095abb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2026 License: Unlicense Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const Ext = ".luau"

Variables

This section is empty.

Functions

func Deserialise

func Deserialise(b []byte) (d internal.Deserialised, err error)

func MakeCompiler

func MakeCompiler(o uint8) Compiler

MakeCompiler creates a new compiler with the given optimisation level.

Types

type Program

type Program struct {
	internal.Deserpath
	Filepath       string
	Compiler       Compiler
	RequireHistory []string
}

func Compile

func Compile(c Compiler, path string) (p Program, err error)

Compile compiles a program at a specific path to bytecode and returns its deserialised form.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL