Only guessing, but since the language is for scripting then maybe all garbage could be collected when the script finishes?
// Also handle case where target is a `Dynamic` shared value
// (returned by a variable resolver, for example)
Couldn't find any other information about a GC, so guessing this is pure ref-counting. Speaking of potential memory leaks, there's also string interning happening. I agree this seems to be for short-lived contexts right now.There are no references as values are always cloned (or moved).