Reformat and synchronize Nock 5K spec #28
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This makes minor formatting changes to the Nock 5K spec: it (1) removes some trailing whitespace characters and (2) reorders the reduction lines so that the rules for each operation are contiguous. (The "never terminate" rules were once moved to the end, which broke the reduction order; in fixing this, some operations were kept contiguous while others weren't. This makes it consistent.)
This also updates some copies of the spec: in the spec directories under hub and urb, and also in the comments of two copies of hoon.hoon. There are copies of the Nock spec in the aug, jupiter, and lib directories, but I understood these to be historical versions, so I didn't touch them. The Nock tutorial (doc/book/1-nock.markdown) also incorporates an out-of-date copy of the Nock spec, but I'll leave it to the author to eventually update that.
Since we're very interested in the gzipped spec size, I'll mention that the 5K spec in this pull request gzips to 371 bytes.
(@abliss, sorry about the t-shirts.)