Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider making macro_table precede symbol_table #356

Open
popematt opened this issue Oct 17, 2024 · 0 comments
Open

Consider making macro_table precede symbol_table #356

popematt opened this issue Oct 17, 2024 · 0 comments
Labels
documentation specification 1.1 Ion 1.1 specification work

Comments

@popematt
Copy link
Contributor

#353 (comment)

Macros are declared after symbols.

Is there a specific reason for this ordering? Food for thought: if symbols were declared after macros, would that make it clearer that the symbols defined in an encoding directive are not yet available for use in the macro definitions in that same encoding directive?

I am unaware of any specific reasoning for having the symbol table come before the macro table. We should see if there are any other pros/cons to switching the order, and decide whether to make the change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation specification 1.1 Ion 1.1 specification work
Projects
Status: No status
Development

No branches or pull requests

1 participant