]> gitweb.factorcode.org Git - factor.git/commitdiff
*-docs: remove extra space character at the end of paragraghs
authorAlexander Iljin <ajsoft@yandex.ru>
Wed, 18 Jul 2018 13:54:21 +0000 (20:54 +0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 21 Aug 2018 17:45:52 +0000 (10:45 -0700)
24 files changed:
basis/bitstreams/bitstreams-docs.factor
basis/compiler/cfg/builder/builder-docs.factor
basis/compiler/cfg/cfg-docs.factor
basis/compiler/cfg/intrinsics/alien/alien-docs.factor
basis/compiler/tree/tree-docs.factor
basis/compression/lzw/lzw-docs.factor
basis/cpu/x86/x86-docs.factor
basis/db/tuples/tuples-docs.factor
basis/furnace/auth/providers/providers-docs.factor
basis/generalizations/generalizations-docs.factor
basis/match/match-docs.factor
basis/peg/ebnf/ebnf-docs.factor
basis/prettyprint/sections/sections-docs.factor
basis/ui/gadgets/editors/editors-docs.factor
basis/ui/ui-docs.factor
core/alien/alien-docs.factor
core/definitions/definitions-docs.factor
core/slots/slots-docs.factor
extra/24-game/24-game-docs.factor
extra/game/models/collada/collada-docs.factor
extra/game/models/obj/obj-docs.factor
extra/irc/client/client-docs.factor
extra/pop3/pop3-docs.factor
extra/successor/successor-docs.factor

index 7be55142758d89a982cc0570011a744347af6759..cc69a7a5010b56d2bbcb6af9cc6606555dbadccf 100644 (file)
@@ -25,7 +25,7 @@ HELP: seek
 
 HELP: align
 { $values { "n" integer } { "bitstream" bit-reader } }
-{ $description "Moves the read cursor of the bit-reader forward until its position in bits from the start of the stream is an even multiple of n. If it is already such a multiple, the cursor is not moved at all. " } ;
+{ $description "Moves the read cursor of the bit-reader forward until its position in bits from the start of the stream is an even multiple of n. If it is already such a multiple, the cursor is not moved at all." } ;
 
 HELP: enough-bits?
 { $values { "n" integer } { "bs" bit-reader } { "?" boolean } }
index 308c3e4ff03b8161cd92f73e7378463e9ca28b8a..543a87f3cc60f9b098f09955e245ca75d205ae7e 100644 (file)
@@ -78,7 +78,7 @@ HELP: emit-loop-call
 
 HELP: emit-node
 { $values { "block" basic-block } { "node" node } { "block'" basic-block } }
-{ $description "Emits CFG instructions for the given SSA node. The word can add one or more basic blocks to the " { $link cfg } ". The next block to operate on is pushed onto the stack. "
+{ $description "Emits CFG instructions for the given SSA node. The word can add one or more basic blocks to the " { $link cfg } ". The next block to operate on is pushed onto the stack."
 $nl
 "The following classes emit-node methods does not change the current block:"
   { $list
index 205faec44606c8dd709792c4b4121827cd59481c..eeb29162774e4b16d51ca3beb29141d24d27cea3 100644 (file)
@@ -10,7 +10,7 @@ HELP: basic-block
   { $table
     {
         { $slot "number" }
-        { "The blocks sequence number. Generated by calling " { $link number-blocks } ". " }
+        { "The blocks sequence number. Generated by calling " { $link number-blocks } "." }
     }
     {
         { $slot "successors" }
index 72dd90da53063958147c0886f9826b67537f22e7..ed65434996bdc1921928c79bcede2ebe2ae51947 100644 (file)
@@ -9,4 +9,4 @@ HELP: inline-accessor
   { "test" quotation }
   { "block'" basic-block }
 }
-{ $description "Combinator used to simplify writing intrinsic emitting code. If the 'test' quotation yields " { $link t } " when called on the '#call' nodes inputs, then the 'quot' quotation is used to emit intrinsic instructions. Otherwise a primitive call is emitted. " } ;
+{ $description "Combinator used to simplify writing intrinsic emitting code. If the 'test' quotation yields " { $link t } " when called on the '#call' nodes inputs, then the 'quot' quotation is used to emit intrinsic instructions. Otherwise a primitive call is emitted." } ;
index fcaf8b9352a1b40b55d0122d019cb5d4c1e130c4..eaf309010e9fd22eedfd934a5604547757f2daac 100644 (file)
@@ -14,7 +14,7 @@ HELP: #alien-invoke
 { $see-also alien-invoke } ;
 
 HELP: #alien-callback
-{ $class-description "SSA tree node that constructs an alien callback. It is not a subclass of " { $link #alien-node } ". " } ;
+{ $class-description "SSA tree node that constructs an alien callback. It is not a subclass of " { $link #alien-node } "." } ;
 
 HELP: #call
 { $class-description "SSA tree node that calls a word. It has the following slots:"
index 55c54bc9f7d24b017afe4ddd66b072835f41316d..4456365938b1d790f1ffc13545486d089a122cb9 100644 (file)
@@ -48,7 +48,7 @@ HELP: reset-lzw-uncompress
 { $values
     { "lzw" lzw }
 }
-{ $description "Reset the LZW uncompressor state (either at initialization time or immediately after receiving a Clear Code). " } ;
+{ $description "Reset the LZW uncompressor state (either at initialization time or immediately after receiving a Clear Code)." } ;
 
 ARTICLE: "compression.lzw.differences" "LZW differences between TIFF and GIF"
 { $vocab-link "compression.lzw" }
index 205e2a91245d2238021a48a567b3282d380a1ab8..3cfa366c79fef3218aaee73ea42b9ea06be09be0 100644 (file)
@@ -14,7 +14,7 @@ HELP: %boolean
 
 HELP: %prepare-var-args
 { $values { "reg-inputs" sequence } }
-{ $description "Emits code needed for calling variadic functions. On " { $link unix } " " { $link x86.64 } ", the " { $link AL } " register must contain the number of float registers used. " } ;
+{ $description "Emits code needed for calling variadic functions. On " { $link unix } " " { $link x86.64 } ", the " { $link AL } " register must contain the number of float registers used." } ;
 
 HELP: JLE
 { $values { "dst" "destination offset (relative to the instruction pointer register)" } }
index 254e7fc282e7de2abae8591f28496cbd353ed88d..fecfdff3eeff042021c5cb43dce653e57986e90a 100644 (file)
@@ -232,7 +232,7 @@ ARTICLE: "db-tuples-tutorial" "Tuple database tutorial"
 "Let's make a tuple and store it in a database. To follow along, click on each code example and run it in the listener. If you forget to run an example, just start at the top and run them all again in order." $nl
 "We're going to store books in this tutorial."
 { $code "TUPLE: book id title author date-published edition cover-price condition ;" }
-"The title, author, and publisher should be strings; the date-published a timestamp; the edition an integer; the cover-price a float. These are the Factor types for which we will need to look up the corresponding " { $link "db.types" } ". " $nl
+"The title, author, and publisher should be strings; the date-published a timestamp; the edition an integer; the cover-price a float. These are the Factor types for which we will need to look up the corresponding " { $link "db.types" } "." $nl
 "To actually bind the tuple slots to the database types, we'll use " { $link define-persistent } "."
 { $code
 "USING: db.tuples db.types ;
index f541885e4dacdc4ac2c1dedeea9c1dce7a2f6e5e..44cc9c44b47114d8a3750fc3f5aa1ccd6f31a269 100644 (file)
@@ -30,7 +30,7 @@ HELP: new-user
 
 HELP: update-user
 { $values { "user" user } { "provider" "an authentication provider" } }
-{ $contract "Stores a user back to an authentication provider after being changed. This is a no-op with in-memory providers; providers which use an external store will save the user in this word. " } ;
+{ $contract "Stores a user back to an authentication provider after being changed. This is a no-op with in-memory providers; providers which use an external store will save the user in this word." } ;
 
 ARTICLE: "furnace.auth.providers.protocol" "Authentication provider protocol"
 "The " { $vocab-link "furnace.auth.providers" } " vocabulary implements a protocol for persistence and authentication of users."
index f4a15411f959ec19707331a1d80ef56fc1168c7f..f750f5f494a00d8ac9d76559e34e645dbbe0582d 100644 (file)
@@ -91,7 +91,7 @@ HELP: ndrop
 HELP: nrot
 { $values { "n" integer } }
 { $description "A generalization of " { $link rot } " that works for any "
-"number of items on the stack. "
+"number of items on the stack."
 }
 { $examples
   { $example "USING: arrays generalizations kernel prettyprint ;" "1 2 3 4 4 nrot 4array ." "{ 2 3 4 1 }" }
@@ -105,7 +105,7 @@ HELP: nrot
 HELP: -nrot
 { $values { "n" integer } }
 { $description "A generalization of " { $link -rot } " that works for any "
-"number of items on the stack. "
+"number of items on the stack."
 }
 { $examples
   { $example "USING: arrays generalizations kernel prettyprint ;" "1 2 3 4 4 -nrot 4array ." "{ 4 1 2 3 }" }
index 6110c037b8a073496eea1311cb1bcd754c352a2c..11d89a9811fd116d3cb05643f294f769a64b9ae7 100644 (file)
@@ -7,7 +7,7 @@ IN: match
 HELP: match
 { $values { "value1" object } { "value2" object } { "bindings" assoc }
 }
-{ $description "Pattern match " { $snippet "value1" } " against " { $snippet "value2" } ". These values can be any Factor value, including sequences and tuples. The values can contain pattern variables, which are symbols that begin with '?'. The result is a hashtable of the bindings, mapping the pattern variables from one sequence to the equivalent value in the other sequence. The " { $link _ } " symbol can be used to ignore the value at that point in the pattern for the match. " }
+{ $description "Pattern match " { $snippet "value1" } " against " { $snippet "value2" } ". These values can be any Factor value, including sequences and tuples. The values can contain pattern variables, which are symbols that begin with '?'. The result is a hashtable of the bindings, mapping the pattern variables from one sequence to the equivalent value in the other sequence. The " { $link _ } " symbol can be used to ignore the value at that point in the pattern for the match." }
 { $examples
     { $unchecked-example "USE: match" "MATCH-VARS: ?a ?b ;\n{ ?a { 2 ?b } 5 } { 1 { 2 3 } _ } match ." "H{ { ?a 1 } { ?b 3 } }" }
 }
index 6d2e3b52fc44d6148c3745e200897465afb8ac3d..1ec977ce51d6b9040825ba8e7285a1d53b1ea4fc 100644 (file)
@@ -346,7 +346,7 @@ ARTICLE: "peg.ebnf.foreign-rules" "EBNF Foreign Rules"
 ARTICLE: "peg.ebnf.tokenizers" "EBNF Tokenizers"
 "It is possible to override the tokenizer in an EBNF defined parser. "
 "Usually the input sequence to be parsed is an array of characters or a string. "
-"Terminals in a rule match successive characters in the array or string. "
+"Terminals in a rule match successive characters in the array or string."
 { $examples
     { $code
         "USING: multiline ;"
@@ -392,7 +392,7 @@ ARTICLE: "peg.ebnf.tokenizers" "EBNF Tokenizers"
 "instead of the string \"++--\". With the new tokenizer \"....\" sequences "
 "in the grammar are matched for equality against the token, rather than a "
 "string comparison against successive items in the sequence. This can be used "
-"to match an AST from a tokenizer. "
+"to match an AST from a tokenizer."
 $nl
 "In this example I split the tokenizer into a separate parser and use "
 "'foreign' to call it from the main one. This allows testing of the "
@@ -463,7 +463,7 @@ $nl
 "This tokenizer strips out whitespace and newlines. Some rules in the grammar "
 "require checking for a newline. In particular the automatic semicolon insertion "
 "rule (managed by the 'Sc' rule here). If there is a newline, the semicolon can "
-"be optional in places. "
+"be optional in places."
 { $examples
     { $code
       "\"do\" Stmt:s \"while\" \"(\" Expr:c \")\" Sc    => [[ s c ast-do-while boa ]]"
@@ -477,7 +477,7 @@ $nl
 ARTICLE: "peg.ebnf" "EBNF"
 "The " { $vocab-link "peg.ebnf" } " vocabulary provides a DSL that allows writing PEG parsers that look like "
 "EBNF syntax. It provides three parsing words described below. These words all "
-"accept the same EBNF syntax. The difference is in how they are used. "
+"accept the same EBNF syntax. The difference is in how they are used."
 { $subsections
     POSTPONE: EBNF:
     POSTPONE: EBNF[[
index 54384d9dda4021b29e3e1a6f0329994471ec81c4..f6b51216e09ed87c9b7204d6be91245cad477a92 100644 (file)
@@ -193,7 +193,7 @@ HELP: flow
 { $class-description "A " { $link block } " section printed on its own line if it can fit entirely on one line." } ;
 
 HELP: <flow
-{ $description "Begins a " { $link flow } " section. " } ;
+{ $description "Begins a " { $link flow } " section." } ;
 
 HELP: colon
 { $class-description "A " { $link block } " section. When printed as a " { $link long-section } ", indents every line except the first." }
index 56a052431784e77c25a0a579e5c1144ee5381603..dcbbced158bbbe2c916f67d26a9f1a81133cfc0c 100644 (file)
@@ -65,7 +65,7 @@ HELP: <model-field>
 
 HELP: <action-field>
 { $values { "quot" { $quotation ( string -- ) } } { "gadget" editor } }
-{ $description "Creates an editor gadget with a blank model. Whenever a value is entered into the editor and Return pressed, the value is pushed on the stack as a string and the specified quotation is called. Note that the quotation cannot update the value in the field. " } ;
+{ $description "Creates an editor gadget with a blank model. Whenever a value is entered into the editor and Return pressed, the value is pushed on the stack as a string and the specified quotation is called. Note that the quotation cannot update the value in the field." } ;
 
 
 HELP: editor-string
index 148e1e0a3205052de659ab7ebb4a4cfb035ea3f7..477d490c285c0d350092c6b2c742675c61eb36ed 100644 (file)
@@ -259,7 +259,7 @@ $nl
     clear-gadget
 }
 "The children of a gadget are available via the "
-{ $snippet "children" } " slot. "
+{ $snippet "children" } " slot."
 $nl
 "Working with gadget children:"
 { $subsections
index 16a38fac40a7bfcb16b42fa394219776391940eb..545fe0b9f11509926d3423a36e8227a0ff3f5f5c 100644 (file)
@@ -72,7 +72,7 @@ $nl
 
 HELP: free-callback
 { $values { "alien" alien } }
-{ $description "Releases the callback heap memory allocated for an alien callback. " }
+{ $description "Releases the callback heap memory allocated for an alien callback." }
 { $warning "If the callback is invoked (either from C or Factor) after it has been freed, then Factor may crash." } ;
 
 HELP: with-callback
index df02b8e485f8bbd65b7bcacf327e6f900dbce6b4..43177fb6175593702966aaca97465075124291c7 100644 (file)
@@ -78,7 +78,7 @@ HELP: changed-definition
 { $description "Adds the definition to the unit's " { $link changed-definitions } "." } ;
 
 HELP: changed-definitions
-{ $var-description "A set that contains all words and vocabs whose definitions have changed or are new. " }
+{ $var-description "A set that contains all words and vocabs whose definitions have changed or are new." }
 { $see-also changed-definition } ;
 
 HELP: changed-effects
index 1eb0d61b8afa8839d2528d6b913259740774d495..19bb68a5454a3e24725a3988f0c89033e7b191e9 100644 (file)
@@ -117,7 +117,7 @@ $nl
 ABOUT: "slots"
 
 HELP: bad-initial-value
-{ $error-description "Thrown by " { $link POSTPONE: TUPLE: } " if a slot has an impossible initial value. "
+{ $error-description "Thrown by " { $link POSTPONE: TUPLE: } " if a slot has an impossible initial value."
   { $examples
     { $unchecked-example
       "TUPLE: a { b integer initial: \"invalid\" } ;"
index 280d74dff916f0924738ec8630d8cb535162805d..c338a5ca0f0da91d344af2d87e1eb96a0621b10e 100644 (file)
@@ -56,7 +56,7 @@ HELP: makes-24?
 
 ARTICLE: "24-game" "The Game of 24"
 "A classic math game, where one attempts to create 24, by applying "
-"arithmetical operations and some shuffle words to a stack of 4 numbers. "
+"arithmetical operations and some shuffle words to a stack of 4 numbers."
 { $subsections
     24-game
     make-24
index 0936d864ab2bffe5b9a4f01d267ecc293a684e68..e2dc4db8aaf439060786ea4643708ba7378df7dd 100644 (file)
@@ -46,7 +46,7 @@ HELP: mesh>sources
 
 HELP: mesh>vertices
 { $values { "mesh-tag" tag } { "pair" pair } }
-{ $description "Convert the mesh tag's vertices element to a pair for further lookup in " { $link collect-sources } ". " } ;
+{ $description "Convert the mesh tag's vertices element to a pair for further lookup in " { $link collect-sources } "." } ;
 
 HELP: collect-sources
 { $values { "sources" hashtable } { "vertices" pair } { "inputs" tag sequence } { "seq" sequence } }
index 033b163941c0e5fb57dcb0fd7600f65c2db47204..c2b419d22a622abb2c6bd4771d834ee939ed05ec 100644 (file)
@@ -18,7 +18,7 @@ HELP: cm
 
 HELP: md
 { $values { "material-dictionary" assoc } }
-{ $description "Convenience word for accessing the material dictionary while parsing primitives. " } ;
+{ $description "Convenience word for accessing the material dictionary while parsing primitives." } ;
 
 HELP: strings>numbers
 { $values { "strings" sequence } { "numbers" sequence } }
index 3103ed4323c5df105491e113456cfc2352f29b13..6a05cb38bf1131a0ae5652b7801f3ca4ca600fcd 100644 (file)
@@ -70,7 +70,7 @@ ARTICLE: "irc.client" "IRC Client"
 { $heading "Special messages" }
 "Some special messages that are created by the library and not by the irc server."
 { $table
-  { { $link irc-chat-end } "sent to a chat when it has been detached from the client, the chat should stop after it receives this message. " }
+  { { $link irc-chat-end } "sent to a chat when it has been detached from the client, the chat should stop after it receives this message." }
   { { $link irc-end } " sent when the client isn't running anymore, the chat should stop after it receives this message." }
   { { $link irc-disconnected } " sent to notify chats that connection was lost." }
   { { $link irc-connected } " sent to notify chats that a connection with the irc server was established." } }
index 61ee4c76bef5d974bbe7dfc654ea36f173bc7c32..4faac9a3c210f2098e77676ddae38347b6cceb15 100644 (file)
@@ -299,7 +299,7 @@ $nl
     }
 }
 $nl
-"The messages marked for deletion are actually deleted only when " { $link close } " is called. This should be the last command you issue. "
+"The messages marked for deletion are actually deleted only when " { $link close } " is called. This should be the last command you issue."
 { $subsections close }
 { $examples
     { $code
index 025ff47f3862f048bc118f6f6ecc737510c52c98..b3b032d8b2c621d4540785fa458ad2234b9d2216 100644 (file)
@@ -8,9 +8,9 @@ IN: succesor
 HELP: successor
 { $values { "str" string } { "str'" string } }
 { $description
-    "Returns the successor to " { $snippet "str" } ". The successor is calculated by incrementing characters starting from the rightmost alphanumeric (or the rightmost character if there are no alphanumerics) in the string. Incrementing a digit always results in another digit, and incrementing a letter results in another letter of the same case. "
+    "Returns the successor to " { $snippet "str" } ". The successor is calculated by incrementing characters starting from the rightmost alphanumeric (or the rightmost character if there are no alphanumerics) in the string. Incrementing a digit always results in another digit, and incrementing a letter results in another letter of the same case."
     $nl
-    "If the increment generates a carry, the character to the left of it is incremented. This process repeats until there is no carry, adding an additional character if necessary. "
+    "If the increment generates a carry, the character to the left of it is incremented. This process repeats until there is no carry, adding an additional character if necessary."
 } ;