Expose new interpret_args/3 to extensions.

This is factored out of the tag_ast/4 function for parsing arguments.