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
Attributes are currently sometimes not parsed, not printed, and not tested. The following needs to happen:
go through the parser to find where attributes ought to be parsed. To do this, see which nodes on the AST support attributes and then figure out where those attributes fit in concrete syntax.
add test case files in sample-sources specifically for this as part of rustc-tests (since attributes are constantly evolving).
fix Diff to support attributes
modify the rustc-tests to also check that pretty-print and re-parse is a no-op; this will check that attributes are properly pretty-printed.
Highlights:
* apart from #21, all TODOs in 'Language.Rust.Pretty.Internal' are handled
* all TODOs in 'Language.Rust.Pretty.Resolve' are handled (although the module is still...
dubious)
* patterns in the Happy grammar now use OverloadedStrings. This should provide a slight
performance gain: the has comparision can be used before checking characters.
Highlights:
* apart from #21, all TODOs in 'Language.Rust.Pretty.Internal' are handled
* all TODOs in 'Language.Rust.Pretty.Resolve' are handled (although the module is still...
dubious)
* patterns in the Happy grammar now use OverloadedStrings. This should provide a slight
performance gain: the has comparision can be used before checking characters.
All range expressions that `rustc` accepts are now also accepted by the
parser (and in the same way). However, this does not mean that the
parser will reject everything that `rustc` does. See #22.
Fixed some TODOs too - the parser is done except for #21.
Fixed all of the TODOs in Diff tests, notably adding support for
diffing attributes (see #21). As part of this, I turned on -Wall
for tests too, and fixed all of the warnings.
Attributes are currently sometimes not parsed, not printed, and not tested. The following needs to happen:
sample-sources
specifically for this as part ofrustc-tests
(since attributes are constantly evolving).Diff
to support attributesrustc-tests
to also check that pretty-print and re-parse is a no-op; this will check that attributes are properly pretty-printed.The text was updated successfully, but these errors were encountered: