Skip to content

Keyword table in the manual uses a bizarre, change-hostile format #1216

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

Closed
marijnh opened this issue Nov 23, 2011 · 5 comments
Closed

Keyword table in the manual uses a bizarre, change-hostile format #1216

marijnh opened this issue Nov 23, 2011 · 5 comments

Comments

@marijnh
Copy link
Contributor

marijnh commented Nov 23, 2011

See https://github.com/graydon/rust/blob/master/doc/rust.texi#L618 . The table is sorted column-first, and written row-first. Unless there is some tool to reorganize these that I don't know about, changing this table seems to involve manually re-sorting the whole thing, manually splitting it back into rows, and interleaving the sorted words in such a way that they align. No one should have to deal with that.

@lht
Copy link
Contributor

lht commented Nov 23, 2011

This gist was used to sort those. https://gist.github.com/1330076

@marijnh
Copy link
Contributor Author

marijnh commented Nov 23, 2011

I see. A system that requires a 100-line script to update a table still seems a bit clunky.

@lht
Copy link
Contributor

lht commented Nov 23, 2011

I didn't automated this whole thing yet, wasn't expecting keywords change soon then. I still find the resulting table in column-major ordering appealing.

lht added a commit to lht/rust that referenced this issue Nov 23, 2011
Keywords are now listed in a plain text file. They're sorted in
column-major order and rendered as a texinfo multitable in rust.texi.

Fixes issue rust-lang#1216.
@lht
Copy link
Contributor

lht commented Nov 23, 2011

Now it's automated by commit b98ef18.

marijnh pushed a commit that referenced this issue Nov 23, 2011
Keywords are now listed in a plain text file. They're sorted in
column-major order and rendered as a texinfo multitable in rust.texi.

Fixes issue #1216.
@marijnh
Copy link
Contributor Author

marijnh commented Nov 23, 2011

Thanks!

@marijnh marijnh closed this as completed Nov 23, 2011
bjorn3 added a commit to bjorn3/rust that referenced this issue Feb 23, 2022
…times

Refactor the intrinsics module for slightly better build times
coastalwhite pushed a commit to coastalwhite/rust that referenced this issue Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants