Executes source in the current state. Matching functions and whole types are replaced; omitted definitions remain.
Each call has fresh private locals. The optional filename is used for diagnostics and source navigation.
Contexts owning named files, including scanned script resources, must use LoadFiles for edits or CreateScript for temporary commands.
Clients receiving the host's scripts must use temporary commands instead of publishing local declarations.