Package io.github.protasm.jvmud.compiler.efun
package io.github.protasm.jvmud.compiler.efun
LPC-facing engine function contracts.
An efun is a Java implementation of an LPC-callable engine operation. Mudlib code calls the
function by name; semantic analysis checks the call against an EfunSignature; generated bytecode resolves the function
through the active RuntimeContext; and the
resolved Efun performs the operation against the
current runtime state.
This package contains only the small contract surface:
Efunis the executable function body plus signature.EfunSignaturerecords the LPC-facing name, return type, and parameter types for one overload.EfunRegistrystores runtime-scoped efun implementations and resolves them by name and exact arity.
The built-in JVMud efuns are defined in CoreEfuns. Compatibility mudlibs can expose familiar
LPC driver names by wrapping or delegating to those JVMud-native operations, while keeping the
engine-facing contract centered on entities, command dispatch, scheduling, persistence, session
input, and host integration.
-
ClassDescriptionRuntime implementation of one LPC-facing engine function.Instance-scoped registry for LPC-facing engine functions.Describes the LPC-facing signature of an engine function.