internal/

directory
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: MIT

Directories

Path Synopsis
Package bonsai grows procedural ASCII bonsai trees in the terminal.
Package bonsai grows procedural ASCII bonsai trees in the terminal.
ast
Package ast defines the abstract syntax tree for luascript, a language with the syntax of Lua 5.4.
Package ast defines the abstract syntax tree for luascript, a language with the syntax of Lua 5.4.
bccache
Package bccache is the on-disk bytecode compile cache.
Package bccache is the on-disk bytecode compile cache.
bytecode
Package bytecode emits a stack-based instruction stream for luascript (Lua 5.4 syntax).
Package bytecode emits a stack-based instruction stream for luascript (Lua 5.4 syntax).
constcheck
Package constcheck enforces Lua 5.4's local attributes at compile time: a local declared `<const>` or `<close>` may never be assigned after its declaration.
Package constcheck enforces Lua 5.4's local attributes at compile time: a local declared `<const>` or `<close>` may never be assigned after its declaration.
debug
Package debug provides opt-in profiling helpers for the .lsc profile` subcommand.
Package debug provides opt-in profiling helpers for the .lsc profile` subcommand.
parser
Package parser builds an *ast.Program from a token stream produced by the lexer.
Package parser builds an *ast.Program from a token stream produced by the lexer.
parser/errors
Package errors defines the typed parser error used throughout the luascript front-end.
Package errors defines the typed parser error used throughout the luascript front-end.
parser/precedence
Package precedence encodes the Lua 5.4 binary-operator precedence ladder (see Lua 5.4 reference manual §3.4.8).
Package precedence encodes the Lua 5.4 binary-operator precedence ladder (see Lua 5.4 reference manual §3.4.8).
typecheck
Package typecheck is the Luau-style gradual type checker for luascript.
Package typecheck is the Luau-style gradual type checker for luascript.
Package docs is the single source of truth for luascript's reference documentation: one curated entry per built-in global, library function, native module member, and object method.
Package docs is the single source of truth for luascript's reference documentation: one curated entry per built-in global, library function, native module member, and object method.
Package formatter is a pretty-printer for luascript source.
Package formatter is a pretty-printer for luascript source.
Package gctune centralizes the process-wide GC knobs that the rest of the runtime deliberately refuses to touch.
Package gctune centralizes the process-wide GC knobs that the rest of the runtime deliberately refuses to touch.
lsp
jsonrpc2
Package jsonrpc2 is an implementation of the JSON-RPC 2 specification for Go.
Package jsonrpc2 is an implementation of the JSON-RPC 2 specification for Go.
protocol
Package protocol implements Language Server Protocol specification in Go.
Package protocol implements Language Server Protocol specification in Go.
server
Package server implements the luascript language server: the concrete protocol.Server that drives the compiler front-end (lex -> parse -> typecheck -> analyze) to serve diagnostics, hover, completion, formatting and a document outline to any LSP-speaking editor over stdio.
Package server implements the luascript language server: the concrete protocol.Server that drives the compiler front-end (lex -> parse -> typecheck -> analyze) to serve diagnostics, hover, completion, formatting and a document outline to any LSP-speaking editor over stdio.
uri
datascience/classification
Package classification is a require()-able host module exposing supervised classifiers to .lsc code: a Naive Bayesian text classifier, k-nearest-neighbours, a perceptron, logistic regression, and a kernel SVM.
Package classification is a require()-able host module exposing supervised classifiers to .lsc code: a Naive Bayesian text classifier, k-nearest-neighbours, a perceptron, logistic regression, and a kernel SVM.
datascience/clustering
Package clustering is a require()-able host module exposing unsupervised clustering algorithms (k-means, DBSCAN, agglomerative/hierarchical, and mean shift) to .lsc code.
Package clustering is a require()-able host module exposing unsupervised clustering algorithms (k-means, DBSCAN, agglomerative/hierarchical, and mean shift) to .lsc code.
datascience/csv
Package csv is a require()-able host module for reading and writing CSV, the lingua franca of tabular data.
Package csv is a require()-able host module for reading and writing CSV, the lingua franca of tabular data.
datascience/dataframe
Package dataframe is a require()-able host module providing a column- oriented, pandas-style tabular structure — the central abstraction for most data-science work in LuaScript.
Package dataframe is a require()-able host module providing a column- oriented, pandas-style tabular structure — the central abstraction for most data-science work in LuaScript.
datascience/linalg
Package linalg is a require()-able host module providing the vector and matrix primitives that underpin most numeric data-science work: dot products, norms, matrix multiplication, transpose, and the small dense solvers (determinant, inverse, linear solve via Gaussian elimination with partial pivoting) needed for, e.g., closed-form linear regression.
Package linalg is a require()-able host module providing the vector and matrix primitives that underpin most numeric data-science work: dot products, norms, matrix multiplication, transpose, and the small dense solvers (determinant, inverse, linear solve via Gaussian elimination with partial pivoting) needed for, e.g., closed-form linear regression.
datascience/ml/luaml
Package luaml is the require()-able host module that exposes the ml neural- network engine (native/ml + native/ml/training) to LuaScript as `ml`.
Package luaml is the require()-able host module that exposes the ml neural- network engine (native/ml + native/ml/training) to LuaScript as `ml`.
datascience/ndarray
Package ndarray is a require()-able host module providing a dense, N-dimensional numeric array — the NumPy-style primitive that most data-science numerics build on.
Package ndarray is a require()-able host module providing a dense, N-dimensional numeric array — the NumPy-style primitive that most data-science numerics build on.
datascience/plot
Package plot is a require()-able host module that turns numeric data into standalone SVG charts — the "see your data" half of a data-science loop.
Package plot is a require()-able host module that turns numeric data into standalone SVG charts — the "see your data" half of a data-science loop.
datascience/stats
Package stats is a require()-able host module providing the descriptive and inferential statistics a data-science workflow reaches for first: central tendency (mean/median/mode), spread (variance/stddev/iqr/range), shape (skewness/kurtosis), relationships (covariance/correlation), and the per-element transforms (zscore/normalize/standardize) used to prepare features.
Package stats is a require()-able host module providing the descriptive and inferential statistics a data-science workflow reaches for first: central tendency (mean/median/mode), spread (variance/stddev/iqr/range), shape (skewness/kurtosis), relationships (covariance/correlation), and the per-element transforms (zscore/normalize/standardize) used to prepare features.
stdlib/bit32
Package bit32 implements the Lua 5.2-style bit32 library for 32-bit unsigned integer arithmetic.
Package bit32 implements the Lua 5.2-style bit32 library for 32-bit unsigned integer arithmetic.
stdlib/db
Package db is the host-side bridge between.lsc code and Go's database/sql.
Package db is the host-side bridge between.lsc code and Go's database/sql.
stdlib/debugx
Package debugx implements the `debug` native module.
Package debugx implements the `debug` native module.
stdlib/enumrt
Package enumrt provides the runtime glue the bytecode generator emits calls into when lowering an `enum` declaration.
Package enumrt provides the runtime glue the bytecode generator emits calls into when lowering an `enum` declaration.
stdlib/httpserver
Package httpserver provides the `httpserver` native module — an HTTP *server* to complement the client-only `http` module.
Package httpserver provides the `httpserver` native module — an HTTP *server* to complement the client-only `http` module.
stdlib/iox
Package iox implements Lua 5.4's `io` library — file handles with :read/:write/:lines/:seek/:flush/:close methods, plus the module-level helpers io.open / io.lines / io.read / io.write / io.close / io.type / io.tmpfile.
Package iox implements Lua 5.4's `io` library — file handles with :read/:write/:lines/:seek/:flush/:close methods, plus the module-level helpers io.open / io.lines / io.read / io.write / io.close / io.type / io.tmpfile.
stdlib/logx
Package logx implements the `log` native module: a leveled, timestamped logger usable from LuaScript.
Package logx implements the `log` native module: a leveled, timestamped logger usable from LuaScript.
stdlib/structrt
Package structrt provides the runtime glue the bytecode generator emits when lowering a `struct` declaration.
Package structrt provides the runtime glue the bytecode generator emits when lowering a `struct` declaration.
stdlib/timex
Package timex provides the `time` native module: wall-clock and monotonic time, sleeping, and date formatting/parsing.
Package timex provides the `time` native module: wall-clock and monotonic time, sleeping, and date formatting/parsing.
stdlib/ui
Package ui exposes a thin Lua binding over Fyne v2 widgets and windows.
Package ui exposes a thin Lua binding over Fyne v2 widgets and windows.
stdlib/utf8x
Package utf8x implements Lua 5.4's utf8 library.
Package utf8x implements Lua 5.4's utf8 library.
Package pkgmanager implements luascript's git/URL-based package manager: the `luascript pkg add/install/remove` subcommands.
Package pkgmanager implements luascript's git/URL-based package manager: the `luascript pkg add/install/remove` subcommands.
Real plugin backend: generate Go source, compile it with `go build -buildmode=plugin`, and load the resulting .so.
Real plugin backend: generate Go source, compile it with `go build -buildmode=plugin`, and load the resulting .so.
Package vm executes the bytecode produced by compiler/bytecode.
Package vm executes the bytecode produced by compiler/bytecode.

Jump to

Keyboard shortcuts

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