compile_file

Function compile_file 

Source
pub fn compile_file(
    path: &Path,
    options: &CompileOptions,
) -> Result<CompileResult>
Expand description

Compile a Fusabi source file to bytecode.

§Arguments

  • path - Path to the source file (.fsx)
  • options - Compilation options

§Returns

A CompileResult containing bytecode, metadata, and diagnostics.