jetro-core 0.5.6

jetro-core: parser, compiler, and VM for the Jetro JSON query language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Bytecode compiler and stack-machine VM for Jetro expressions.
//!
//! Split into two submodules:
//! - [`opcode`] — pure-data definitions (`Opcode`, `Program`, `Compiled*`,
//!   `FieldChainData`, comprehension specs, patch ops) plus the small
//!   helpers that operate only on those structures.
//! - [`exec`] — the `VM` struct, its caches, the execution loop, and all
//!   runtime helpers that consume opcodes.

pub(crate) mod exec;
pub(crate) mod opcode;

pub(crate) use exec::*;
pub(crate) use opcode::*;