Docs
Behavior of this build. Not complete q coverage and not kdb+ equivalence.
Pipeline
q is lexed, parsed, checked, lowered to an intermediate representation, and emitted as Python when the construct is in scope. Unsupported syntax produces a diagnostic instead of generated Python.
Supported subset
Long and float arithmetic, greater (|) and lesser (&), numeric $ cast, cross, infix xexp as exp(y * log x), booleans including 01b, chars, symbols, dates and months, nulls and infinities, lists, dictionaries, simple tables, assignment, lambdas without nested closures, projections, conditionals, each, over, scan, reductions such as prd, med, and var, and a limited select, exec, update, and delete. The Accuracy registry is the list for this process. xexp is covered by regression tests and is outside the original holdout.
Refused
Dot amend, peach, if, do, while, system, read0, hopen, eval, load, save, atom roll and deal, and unrecognized syntax. A numeric cast of a symbol, or of text parsed as a number, signals type at runtime.
Partial
Short, int, byte, real, and timestamp literals are represented. The rest of the promotion grid and timestamp arithmetic are not claimed. Unary over stops at a fixed point within 1000 steps or raises limit. Partial cases are outside the holdout denominator.
Validation
Corpus expectations are authored in the corpus file. Scoring rejects provenance that starts with generated-by-translator. Validate compares a case with that record. Studio validation does not attach an expectation. Neither path calls a live q process in this build.
Execution
HTTP validation uses a Python subprocess, a stripped environment, CPU, address-space, and file-size limits, and an AST allow-list. Generated code may call only the runtime facade. Corpus scoring uses the same allow-list in-process and does not apply those resource limits. The subprocess is not a container, a VM, or a network namespace.
Oracle
With no q binary on PATH and no Q2PY_Q_BIN, the oracle is unavailable. A detected binary does not enable live oracle execution. Comparisons stay on authored values.
Persistence
History and measurement snapshots are SQLite rows in the API process. Status reports durability. Without a volume, that file is replaced with the instance.