JanetDocsPlaygroundI'm feeling luckyGitHub sign in

dofile



    function
    boot.janet on line 2754, column 1

    (dofile path &keys {:read read :parser parser :source src :evaluator
    evaluator :expander expander :env env :exit exit})

    Evaluate a file and return the resulting environment. :env,
    :expander, :evaluator, :read, and :parser are passed through to the
    underlying run-context call. If exit is true, any top level errors
    will trigger a call to (os/exit 1) after printing the error.


0 examplesSign in to add an example
Loading...