Modifies compiled macros to use Rc to store references to dependent macros. This allows the macro to continue referring to its dependent even if the latter is no longer directly addressable.
Adds support for module_name::encoding_name::parameter_name syntax and (module_name::macro_name ...) syntax. The only modules currently supported are $ion (the system module) and $ion_encoding (the active encoding module).
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Rc
to store references to dependent macros. This allows the macro to continue referring to its dependent even if the latter is no longer directly addressable.module_name::encoding_name::parameter_name
syntax and(module_name::macro_name ...)
syntax. The only modules currently supported are$ion
(the system module) and$ion_encoding
(the active encoding module).By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.