core

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const VERSION = "0.2.0"

Variables

This section is empty.

Functions

func CheckJSError

func CheckJSError(err error, shouldPanic bool)

func Globals

func Globals(ctx *quickjs.Context, this quickjs.Value, args []quickjs.Value) quickjs.Value

func PrintVersion added in v0.1.1

func PrintVersion()

func Repl

func Repl() error

func RunFile

func RunFile(opts RunOptions) error

Types

type RunOptions added in v0.2.0

type RunOptions struct {
	FilePath string
	AllowFS  bool
	AllowNet bool
	AllowEnv bool
}

Jump to

Keyboard shortcuts

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