pub fn install_input_primitives<H: 'static>(
interp: &mut Interpreter<H>,
inputs: Inputs,
)Expand description
Install the reading primitives against inputs.
Two, and no more:
input(name)— the declared bytes as a string.definput(name, hash)— a no-op at run time. The declaration is consumed bydeclarationsbefore evaluation; this exists so the form is not an unbound symbol, and returns the name so it reads as a value.
There is deliberately no inputs(), no input_path(), and no
read_file(). Each would hand back the ambient authority this removes.