You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The purpose of this would be to avoid the macro recursion limit (even though library users can increase the limit if need be) but mainly to provide good error messages for syntax errors. The intention is NOT to replace the existing parse! macro at this point.
Possible ways of implementing this
libmacro
A crate in the standard distribution. It is intended to be stabilized and become part of stable Rust. Will require nightly until stable enough.
syntex
Separate library working as a macro-preprocessor. Can work on stable. The downside here is that any errors still present in the generated code will not point back to the original code which might make debugging errors not directly related to parse! syntax annoying.
The text was updated successfully, but these errors were encountered:
The purpose of this would be to avoid the macro recursion limit (even though library users can increase the limit if need be) but mainly to provide good error messages for syntax errors. The intention is NOT to replace the existing
parse!
macro at this point.Possible ways of implementing this
libmacro
A crate in the standard distribution. It is intended to be stabilized and become part of stable Rust. Will require nightly until stable enough.
syntex
Separate library working as a macro-preprocessor. Can work on stable. The downside here is that any errors still present in the generated code will not point back to the original code which might make debugging errors not directly related to
parse!
syntax annoying.The text was updated successfully, but these errors were encountered: