{"modulePath":"github.com/liustack/beastjs","version":"v0.33.0","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/liustack/beastjs","name":"beastjs","synopsis":"Package beastjs is a JavaScript engine written for Go programs that render pages on a server: pure Go, with no cgo and no shared library, so that it builds and cross-compiles as any Go package does.","isRedistributable":true},{"path":"github.com/liustack/beastjs/cmd/beastjs","name":"main","synopsis":"Command beastjs runs a JavaScript file in the engine of this module, set up as tifa sets it up, without writing Go:","isRedistributable":true},{"path":"github.com/liustack/beastjs/fmt","name":"fmt","synopsis":"Package fmt gives a beastjs.VM some of Go's fmt: printf, println, sprint and sprintf.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/cengine","name":"cengine","synopsis":"Package cengine is the C engine of engine/ generated as Go assembly, with its Go host.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/cengine/cmd/gcpause","name":"main","synopsis":"Command gcpause measures how long the Go garbage collector waits to stop the world while VMs run a script that stays in the engine.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/cengine/cmd/interrupt","name":"main","synopsis":"Command interrupt times how long a script takes to stop after Interrupt, for the scripts of package scenarios, each of which stays inside one long operation of the engine.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/cengine/cmd/jsrun","name":"main","synopsis":"Command jsrun evaluates a JavaScript file and prints its result, how long the evaluation took and what memory the VM held.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/cengine/cmd/scenarios","name":"scenarios","synopsis":"Package scenarios holds the scripts that the commands gcpause and interrupt run: each stays inside one long operation of the engine.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/dtoatable","name":"main","synopsis":"Command dtoatable writes engine/dtoa-pow10.h, the table of powers of ten that the shortest conversion of a float64 to decimal in engine/dtoa.c uses (the Schubfach algorithm of Raffaello Giulietti, written from his paper \"The Schubfach way to render doubles\").","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/faultstate","name":"faultstate","synopsis":"Package faultstate tells whether the state of the CPU that windows/arm64 writes below the stack pointer at a fault fits in the room Go keeps for it, so that a fault in the engine cannot write past a goroutine stack into the heap.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/faulttest","name":"faulttest","synopsis":"Package faulttest is for the tests that make a memory fault on purpose: a read through a wild pointer, or a write to a guard page or to read-only memory.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/goasm/cmd/cycles","name":"main","synopsis":"Command cycles lists the cycles of the engine's call graph that no counted depth cuts.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/goasm/cmd/xform","name":"main","synopsis":"Command xform moves the code of generated Go assembly, to measure how much a speed result depends on where the code sits (see \"Code positions\" in docs/internals/performance.md).","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/goasm/gen","name":"gen","synopsis":"","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/goasm/gen/cmd/engine","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/goasm/gen/cmd/gen","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/goasm/gen/cmd/gocalls","name":"main","synopsis":"Command gocalls writes internal/cengine/gocalls.txt, the engine functions the Go code of the module names (gen.GoCalls).","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/gohost","name":"gohost","synopsis":"Package gohost is the Go side of the callbacks the C engine asks of its host (engine/host.h and host_memory_grow in engine/heap.h), for the engine generated as Go assembly.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/gointl","name":"intl","synopsis":"","isRedistributable":false},{"path":"github.com/liustack/beastjs/internal/gointl/date","name":"date","synopsis":"","isRedistributable":false},{"path":"github.com/liustack/beastjs/internal/gointl/internal/blob","name":"blob","synopsis":"","isRedistributable":false},{"path":"github.com/liustack/beastjs/internal/gointl/internal/colldata","name":"colldata","synopsis":"","isRedistributable":false},{"path":"github.com/liustack/beastjs/internal/gointl/internal/datapack","name":"datapack","synopsis":"","isRedistributable":false},{"path":"github.com/liustack/beastjs/internal/gointl/internal/datedata","name":"datedata","synopsis":"","isRedistributable":false},{"path":"github.com/liustack/beastjs/internal/gointl/internal/eastasian","name":"eastasian","synopsis":"","isRedistributable":false},{"path":"github.com/liustack/beastjs/internal/gointl/internal/layout","name":"layout","synopsis":"","isRedistributable":false},{"path":"github.com/liustack/beastjs/internal/gointl/internal/listdata","name":"listdata","synopsis":"","isRedistributable":false},{"path":"github.com/liustack/beastjs/internal/gointl/internal/namedata","name":"namedata","synopsis":"","isRedistributable":false},{"path":"github.com/liustack/beastjs/internal/gointl/internal/normdata","name":"normdata","synopsis":"","isRedistributable":false},{"path":"github.com/liustack/beastjs/internal/gointl/internal/numdata","name":"numdata","synopsis":"","isRedistributable":false},{"path":"github.com/liustack/beastjs/internal/gointl/internal/plurdata","name":"plurdata","synopsis":"","isRedistributable":false},{"path":"github.com/liustack/beastjs/internal/gointl/internal/qjspack","name":"qjspack","synopsis":"","isRedistributable":false},{"path":"github.com/liustack/beastjs/internal/gointl/internal/qjspack/gen","name":"main","synopsis":"","isRedistributable":false},{"path":"github.com/liustack/beastjs/internal/gointl/internal/rbnfdata","name":"rbnfdata","synopsis":"","isRedistributable":false},{"path":"github.com/liustack/beastjs/internal/gointl/internal/reltimedata","name":"reltimedata","synopsis":"","isRedistributable":false},{"path":"github.com/liustack/beastjs/internal/gointl/internal/tzdata","name":"tzdata","synopsis":"","isRedistributable":false},{"path":"github.com/liustack/beastjs/internal/gointl/internal/unitdata","name":"unitdata","synopsis":"","isRedistributable":false},{"path":"github.com/liustack/beastjs/internal/gointl/internal/zonedata","name":"zonedata","synopsis":"","isRedistributable":false},{"path":"github.com/liustack/beastjs/internal/gointl/temporal","name":"temporal","synopsis":"","isRedistributable":false},{"path":"github.com/liustack/beastjs/internal/goversion","name":"goversion","synopsis":"Package goversion stops a build with a Go newer than the one the engine was checked with.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/hostmem","name":"hostmem","synopsis":"Package hostmem is the memory the Go host gives the C engine.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/idtable","name":"idtable","synopsis":"Package idtable gives things small ids, which the C engine passes back to the host on every callback, and finds a thing by its id with two atomic reads and no lock: callbacks of VMs on many goroutines do not wait for each other, and do not write to memory they share.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/intlhook","name":"intlhook","synopsis":"Package intlhook connects the Intl and Temporal shims.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/measure","name":"measure","synopsis":"Package measure holds what the subcommands of go tool measure share: running a command with its output kept and timed.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/measure/bench","name":"bench","synopsis":"Package bench builds the code-position variants of a program, times them in turn, and reads the result by the protocol of docs/internals/measuring.md.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/measure/cmd/measure","name":"main","synopsis":"Command measure times builds of the C engine against each other.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/measure/hwm","name":"hwm","synopsis":"Package hwm reads the most memory the calling process held, from the process itself, for the programs that go tool measure times.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/rvgen","name":"rvgen","synopsis":"Package rvgen makes small random JavaScript programs for testing the register loop of the engine (engine/regvm.h): against Node (rvgen node) and in the tests of the Go package.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/rvgen/cmd/rvgen","name":"main","synopsis":"Command rvgen makes random programs (package rvgen) and runs them through rvdiff, the runner of the native test host that compares each run with its golden (engine/test/regvm/rvdiff.c, built by engine/test/regvm/build.sh):","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/rvgen/v1","name":"v1","synopsis":"Package v1 is rvgen frozen as it was when the goldens of the fuzz seeds were recorded from the old loop (engine/test/regvm/golden/seeds, see rvgen check): the same seed must make the same program for good, so this copy is never changed.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/stopsweep","name":"stopsweep","synopsis":"Package stopsweep is for the tests of the packages that give a VM functions written in Go (intl, temporal, fmt and url): it stops a long call at many eval timeouts, so that a part of the call that does not check the limits shows wherever it lies in the call, not only where one fixed timeout falls.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/stress","name":"main","synopsis":"Command stress renders tifa's pinned pages for a set time on pools of VMs kept as tifa's pool keeps them, with memory limits, eval timeouts, Interrupts and kills landing at random points of the renders, and checks that every VM stays correct and bounded: each render gives the page's HTML or the error its stop documents, a VM goes on after a stop that was not a kill, the memory of the engine, of the host and of Go and the goroutines stay bounded with no drift after the warm-up, and closing every VM gives all its memory back.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/unsupported","name":"unsupported","synopsis":"Package unsupported stops a build on a target the C engine does not run on: it runs on linux, darwin and windows, on amd64 and arm64, only.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/vmhook","name":"vmhook","synopsis":"Package vmhook lets the packages of this module that give a VM functions written in Go (intl, temporal, fmt and url) hold the work those functions do in Go to the limits of the VM: its eval timeout, Interrupt and its memory limit, which the engine's polls and allocator see only for the work done in the engine.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/whatwgurl","name":"whatwgurl","synopsis":"Package whatwgurl is the URL parser of the WHATWG URL standard (https://url.spec.whatwg.org/), with the setters of its API and the serializer, for package url.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/whatwgurl/bidi","name":"bidi","synopsis":"Package bidi has the Bidi class of a rune and implements the Bidi Rule defined by RFC 5893.","isRedistributable":true},{"path":"github.com/liustack/beastjs/internal/whatwgurl/idna","name":"idna","synopsis":"Package idna is the part of golang.org/x/net/idna v0.62.0 (IDNA2008 with the compatibility processing of UTS #46) that the URL standard needs: one profile, \"domain to ASCII\", which has Unicode 17's tables and the algorithm of UTS #46 revision 35.","isRedistributable":true},{"path":"github.com/liustack/beastjs/intl","name":"intl","synopsis":"Package intl gives a beastjs.VM the ECMA-402 Intl API, computed in Go.","isRedistributable":true},{"path":"github.com/liustack/beastjs/temporal","name":"temporal","synopsis":"Package temporal implements Temporal, the ECMAScript date and time API, for a beastjs.VM.","isRedistributable":true},{"path":"github.com/liustack/beastjs/tifa","name":"tifa","synopsis":"Package tifa gives a beastjs.VM what tifa (github.com/liustack/tifa) gives each VM of its pool before it runs a bundle: URL and URLSearchParams, Intl and Temporal, and the functions named __tifa_* that the bundles tifa builds ask for.","isRedistributable":true},{"path":"github.com/liustack/beastjs/url","name":"url","synopsis":"Package url gives a beastjs.VM the globals URL and URLSearchParams, as the URL standard (https://url.spec.whatwg.org/) defines them, with the parsing done in Go.","isRedistributable":true}],"total":61}}
