]> gitweb.factorcode.org Git - factor.git/commitdiff
fix more typos in docs.
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 13 Feb 2018 00:43:08 +0000 (16:43 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 13 Feb 2018 00:43:08 +0000 (16:43 -0800)
12 files changed:
basis/alien/data/data-docs.factor
basis/compiler/cfg/instructions/instructions-docs.factor
basis/compiler/cfg/ssa/destruction/destruction-docs.factor
basis/compiler/codegen/gc-maps/gc-maps-docs.factor
basis/cpu/x86/assembler/operands/operands-docs.factor
basis/io/sockets/secure/secure-docs.factor
basis/multiline/multiline-docs.factor
basis/unix/groups/groups-docs.factor
core/classes/tuple/parser/parser-docs.factor
core/kernel/kernel.factor
core/sets/sets-docs.factor
extra/boolean-expr/boolean-expr-docs.factor

index 6c4d841ced3ff38579d8d693ae3fa4157c39cbf6..8d947d127d01f35cd470d1ee2f933f45f1076e69 100644 (file)
@@ -154,7 +154,7 @@ ARTICLE: "c-pointers" "Passing pointers to C functions"
 ARTICLE: "c-boxes" "C value boxes"
 "Sometimes it is useful to create a byte array storing a single C value, like a struct with a single field. A pair of utility words exist to make this more convenient:"
 { $subsections <ref> deref }
-"These words can be used to in conjuction with, or instead of, " { $link with-out-parameters } " to handle \"out-parameters\". For example, if a function is declared in the following way:"
+"These words can be used to in conjunction with, or instead of, " { $link with-out-parameters } " to handle \"out-parameters\". For example, if a function is declared in the following way:"
 { $code
   "FUNCTION: int do_foo ( int* a )"
 }
index d4a6793d0f7da12cf5ec711a291d26b0e65dc1f1..af9b13568fc29bffc40e3eef4e283fe729e92305 100644 (file)
@@ -53,7 +53,7 @@ HELP: ##alien-indirect
 
 HELP: ##allot
 { $class-description
-  "An instruction for allocating memory in the nursery. Usually the instruction is preceeded by " { $link ##check-nursery-branch } " which checks that there is enough room in the nursery to allocate. It has the following slots:"
+  "An instruction for allocating memory in the nursery. Usually the instruction is preceded by " { $link ##check-nursery-branch } " which checks that there is enough room in the nursery to allocate. It has the following slots:"
   { $table
     { { $slot "dst" } { "Register to put the pointer to the memory in." } }
     { { $slot "size" } { "Number of bytes to allocate." } }
index b19f894a99c2637941a24b6b9f8ac71fcf042ec0..86ea0fa06f06c706f51055c7b83d05dd9bf44a22 100644 (file)
@@ -12,7 +12,7 @@ HELP: destruct-ssa
 { $description "Main entry point for the SSA destruction compiler pass." } ;
 
 ARTICLE: "compiler.cfg.ssa.destruction" "SSA Destruction"
-"SSA destruction compiler pass. It is preceeded by " { $vocab-link "compiler.cfg.save-contexts" } " and followed by " { $vocab-link "compiler.cfg.linear-scan" } "."
+"SSA destruction compiler pass. It is preceded by " { $vocab-link "compiler.cfg.save-contexts" } " and followed by " { $vocab-link "compiler.cfg.linear-scan" } "."
 $nl
 "Because of the design of the register allocator, this pass has three peculiar properties."
 { $list
index 80b7ee3baea4184ebe71723121dd7a4df286d58c..01c446e484b9f6d1b27d24d5acd4f4eed06d62c9 100644 (file)
@@ -38,7 +38,7 @@ HELP: gc-map-needed?
 
 HELP: gc-root-offsets
 { $values { "gc-map" gc-map } { "offsets" sequence } }
-{ $description "Gets the offets of all roots in a gc-map. The " { $link cfg } " variable must have been set and the stack-frame slot been initialized." } ;
+{ $description "Gets the offsets of all roots in a gc-map. The " { $link cfg } " variable must have been set and the stack-frame slot been initialized." } ;
 
 HELP: serialize-gc-maps
 { $values { "byte-array" byte-array } }
index 18906a3fe4aabfe0b054b61b99931c863fe10919..04e55a098c225b2b05b3454c8a3a0c70d5d2160b 100644 (file)
@@ -31,7 +31,7 @@ HELP: n-bit-version-of
 ARTICLE: "cpu.x86.assembler.operands" "CPU x86 registers and memory operands"
 "Indirect operand constructors for various addressing formats:"
 { $subsections [] [RIP+] [+] [++] [+*2+] [+*4+] [+*8+] }
-"Register correspondances:"
+"Register correspondences:"
 { $subsections
   8-bit-version-of
   16-bit-version-of
index 1f5e048d49c769aea7f0fbc14a748ba730b10242..d18e7fd98d7d841374f1d6d1ed54f2a15f93e5cd 100644 (file)
@@ -34,7 +34,7 @@ HELP: secure-config
 
 HELP: <secure-config>
 { $values { "config" secure-config } }
-{ $description "Creates a new secure socket configration with default values." } ;
+{ $description "Creates a new secure socket configuration with default values." } ;
 
 ARTICLE: "ssl-key-file" "The key file and password"
 "The " { $snippet "key-file" } " and " { $snippet "password" } " slots of a " { $link secure-config } " can be set to a private key file in PEM format. These slots are required for secure servers, and also for clients when client-side authentication is used." ;
index 663494c50113ec9c8ccf6bb474593616c7df2007..98372f7f9c78818426fa9050efab15ebdd566aaf 100644 (file)
@@ -3,7 +3,7 @@ IN: multiline
 
 HELP: STRING:
 { $syntax "STRING: name\nfoo\n;" }
-{ $description "Forms a multiline string literal, or 'here document' stored in the word called name. A semicolon is used to signify the end, and that semicolon must be on a line by itself, not preceeded or followed by any whitespace. The string will have newlines in between lines but not at the end, unless there is a blank line before the semicolon." } ;
+{ $description "Forms a multiline string literal, or 'here document' stored in the word called name. A semicolon is used to signify the end, and that semicolon must be on a line by itself, not preceded or followed by any whitespace. The string will have newlines in between lines but not at the end, unless there is a blank line before the semicolon." } ;
 
 HELP: /*
 { $syntax "/* comment */" }
index e9b72fc40566696d51383175de966ee70694c62e..6498e42e5a3d7ef28f65729b4dcb68cbae43f255 100644 (file)
@@ -66,7 +66,7 @@ HELP: user-groups
 HELP: with-effective-group
 { $values
      { "string/id/f" "a string, a group id, or f" } { "quot" quotation } }
-{ $description "Sets the effective group name and calls the quotation. Restores the effective group name on success or on error after the call. If the first parameter is " { $link f } ", the quotation is called as the current user." } ;
+{ $description "Sets the effective group name and calls the quotation. Restors the effective group name on success or on error after the call. If the first parameter is " { $link f } ", the quotation is called as the current user." } ;
 
 HELP: with-group-cache
 { $values
index f4ecb1461ea11dc73b3b3f5b09ac1089a63f5156..6733a853bf407480be2eae2067e747860eb82e91 100644 (file)
@@ -5,7 +5,7 @@ HELP: invalid-slot-name
 { $values { "name" string } }
 { $description "Throws an " { $link invalid-slot-name } " error." }
 { $error-description "Thrown by " { $link POSTPONE: TUPLE: } " and " { $link POSTPONE: ERROR: } " if a suspect token appears as a slot name." }
-{ $notes "The suspect tokens are chosen so that the following code raises this parse error, instead of silently greating a tuple with garbage slots:"
+{ $notes "The suspect tokens are chosen so that the following code raises this parse error, instead of silently creating a tuple with garbage slots:"
     { $code
         "TUPLE: my-mistaken-tuple slot-a slot-b"
         ""
index 9bddf6bc6bacd5085bc972a62fb4a63a750bfa49..155dffc436b5938ea59d5599b8662af5b1813aab 100644 (file)
@@ -77,7 +77,7 @@ DEFER: if
 
 : ? ( ? true false -- true/false )
     ! 'if' and '?' can be defined in terms of each other
-    ! because the JIT special-cases an 'if' preceeded by
+    ! because the JIT special-cases an 'if' preceded by
     ! two literal quotations.
     rot [ drop ] [ nip ] if ; inline
 
index a3645d8f757c45a7b74d276fa9c4fbc8d3e0c549..d6049441a195c0b58bd244ae06c35263339215cb 100644 (file)
@@ -193,7 +193,7 @@ HELP: subset?
 
 HELP: set=
 { $values { "set1" set } { "set2" set } { "?" boolean } }
-{ $description "Tests if both sets contain the same elements, disregrading order and duplicates." } ;
+{ $description "Tests if both sets contain the same elements, disregarding order and duplicates." } ;
 
 HELP: gather
 { $values
index 5fc99dc5fd0d01a5284792d0c3c787bc927d38a4..35ea2bba4d24c024daadc09b0c6dcf04c2a6cb1a 100644 (file)
@@ -119,7 +119,7 @@ HELP: ⊥
 { $class-description "Logical contradiction. This statement is unconditionally false." } ;
 
 HELP: ⋀
-{ $class-description "Logical conjuction (AND)." } ;
+{ $class-description "Logical conjunction (AND)." } ;
 
 HELP: ⋁
 { $class-description "Logical disjunction (OR)." } ;