← All docs
juliantojd() — internals
Compiler internals for juliantojd(): lowering path, type checks, and runtime helpers.
juliantojd() — internals
Where it lives
- Signature:
crates/elephc-builtin-contract/src/catalog_surfaces.rs - Lowering:
src/name_resolver/expressions.rs:682 (rewrite_date_procedural_call) - Function symbol:
rewrite_date_procedural_call()
Lowering notes
- Rewritten by the name resolver into a constructor or method call on the corresponding builtin class before type checking.
Semantic descriptor
Shared contract without a registry semantic descriptor.
EIR and runtime boundary
No registry-backed typed runtime target applies.
Signature summary
function juliantojd(int $month, int $day, int $year): int
What the type checker enforces
- Arity: takes exactly 3 arguments.
Eval interpreter (magician)
Dispatched as a procedural date/time alias by crates/elephc-magician/src/interpreter/builtins/time/aliases.rs.