sonic-weave
    Preparing search index...

    Function getSourceVisitor

    • Obtain a runtime visitor for the body of a program produced by parseAST.

      Parameters

      • includePrelude: boolean = true

        Whether or not to include the extended standard library. Passing in false results in a faster start-up time.

      • OptionalextraBuiltins: Record<string, SonicWeaveValue>

        Custom builtins callable inside the SonicWeave program.

      Returns StatementVisitor

      A SonicWeave statement evaluator with the global scope wired in as its parent.