Sarek_native_helpersval ppxlib_loc_of_sarek : Sarek_ast.loc -> Ppxlib.locationConvert Sarek_ast.loc to Ppxlib.location.
Must agree with Sarek_ast.loc_to_ppxlib: pos_cnum is an ABSOLUTE byte offset and pos_bol the offset of the line's first byte, so both have to be carried through. Dropping pos_bol makes the compiler echo bytes from the top of the file under a diagnostic that names a different line (#97).
Helper to create an identifier expression
Helper to create a qualified identifier expression
Shared memory variable name - bound in block wrapper
val default_value_for_type :
loc:Ppxlib.location ->
Sarek_types.typ ->
Ppxlib.expressionGenerate default value expression for a given type. Used for array initialization and other contexts where a default is needed.