2#define REDUCT_BUILD_H 1
reduct_handle_t(* reduct_native_fn)(struct reduct *reduct, size_t argc, reduct_handle_t *argv)
Native function pointer type.
REDUCT_API reduct_native_fn reduct_builder_get_native_fn(reduct_opcode_t op)
Get the native function associated with an opcode.
REDUCT_API void reduct_build_register_intrinsics(struct reduct *reduct)
Register the intrinsics used by the builder.
REDUCT_API reduct_handle_t reduct_build(struct reduct *reduct, reduct_handle_t ast)
Build an IR graph from an AST (parsed S-expression).
reduct_opcode_t
Opcode enumeration.
Native function and intrinsic registration.
Intermediate Representation.